Pedhot-Dev / CustomTools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:Apache License 2.0


Languages

Language:PHP 100.0%