Creating Custom Tools
Tools customizer for PocketMine-MP V5
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 |
// 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)
Icon by flaticon
Version: 1.0.0
Downloads: 2,537
Updated: 7/15/2023
Supported API versions: 5.0.0 to 5.27.1
Categories: Fun, API plugins, General
License: APACHE-2.0