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?
1950 Downloads / 1950 Total
2 Reviews
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


causal-guide
using v1.0.0
17 Jan 24
Should add wiki
justauser001
using v1.0.0
23 Oct 23
Pls make an wiki

Reply to review by :

/ 5
Supported API versions
5.0.0
->
5.16.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...