Sueta
PI

PickaxeCheck

1.3

Check pickaxe durability levels and notify its low, and reward for pickaxes being broken.

·Plugin

##Description##
This plugin will reward players for breaking a diamond pickaxe that has their display name on the pickaxe, you can turn this off in the config. When their pickaxe breaks it will give the player an item and set amount and/or execute a command when the pickaxe is broken, you can also disable these.

This plugin will also notify users when their tool is at a set percentage ( default is 10.0%), this works on every tool that can be damaged. In order for this to properly work, it adds a lore that can be defined in the config, without this, every time an item is damaged the repair message would be sent to the player. When the pickaxe is fixed, the lore stays on the pickaxe until the player breaks a block, this is not a bug.

You also cannot reload the config through the plugin, you must reload the plugin using plug-man to register config edits! This will be updated in a future version.

## Config Update ##
- Low Pick Lore : What lore you want added to the pickaxe when its low.
- Player specific: Check if the players display name matches the name on the pickaxe
- Wrong Player: If player specific is true and a player breaks a pickaxe that isn't theirs, this message shows up.
- Prefix: The prefix before anything being sent in chat.
- Gui Title: When receiving an item and the players inventory is full, they can do /pcredeem to bring up a gui, this is the gui title they will see. They will also need the permission node "pc.redeem".
- Item Broken Msg: The message the player sees when they break an item.
- Wrong Item Broken Msg: The message a player sees when the wrong item is broken.
- Compensation Command Toggle: If this is true, it will run what is defined in Compensation Command.
- Compensation Command: What command is run for compensation of a broken pickaxe. Use {player} placeholder to represent the player if you don't have a placeholder API plugin.
- Compensation Item Toggle : If this is true, it will give the player the item defined in Compensation Item when a pickaxe is broken.
- Compensation Item: The item the player will receive when breaking a pickaxe.
- Compensation Item Amount: The amount of the item to give the player
- Inventory full msg: If the players inventory is full when given the rewards, they will see this message.
- Percent Warn : At this percent, it will warn the user they need to repair their pickaxe.
- Percent Warn Msg: The message the player will see when their pickaxe is getting low.

-- This plugin is not intended to be decompiled, expanded upon, claimed as their own ,or redistributed.--

Similar projects

Plugin →