By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

Creating Custom Tools
version 1.0.0
Approved
Direct Download How to install?
237 Downloads / 237 Total
Plugin Description §

CustomTools

Tools customizer for PocketMine-MP V5

Commands & Permission

Command Permission Usage Description Default
/ctools give customtools.command.give /ctools give Give custom tools to player OP
/ctools list customtools.command.list /ctools list List of custom tools OP

Registering Custom Tools API

// Import
use PedhotDev\CustomTools\Main;

$customTools = [
    "type" => "hoe",
    "tier" => "netherite",
    "glint" => true,
    "durability" => 0,
    "mining-efficiency" => 10,
    "attack-points" => 1000,
    "name" => "ExampleHoe",
    "lore" => [
        "ExampleHoe"
    ]
];
Main::getInstance()->getCustomToolsManager()->registerTools("Tools_Name", $customTools)

TODO List

  • [ ] Create and edit tools inside game
  • [ ] Custom Tools craft
  • [ ] Fix mining speed
  • [ ] Fix glint

Icons

Icon by flaticon

Supported API versions
5.0.0
->
5.6.0
Producers §
  • Collaborators:
    • @Pedhot-Dev
License §
Categories:
Fun
General
API plugins
Permissions
Manage blocks/items
Permissions
Commands

You can leave one review per plugin release, and delete or update your review at any time

/ 5
Loading...