SpecificTools
SpecificTools
SpecificTools is an easy to use and customize plugin that allows you to decide what tools are needed to break different blocks. When configured, wood sword could be the only tool that can break diamond blocks. Or diamond hoe the only one to destroy leaves.
Features
- Works with any place able block
- Everything can be done ingame
- All items can be used as tools
- Hand can be used as a tool
- Easy to customize
- Aprox. 37600 possible customizations!!
How to change/add replacements
It's preferred to add/edit/remove replacements from ingame via the commands, not via the config.
Commands
Command | Permission | Description |
/SpecificTools list | SpecificTools.replacements.list | Shows all current replacements |
/SpecificTools edit | SpecificTools.replacements.edit | Edits a replacements |
/SpecificTools create | SpecificTools.replacements.create | Creates a replacement |
/SpecificTools remove | SpecificTools.replacements.delete | Removes a replacement |
/SpecificToolsAdd | SpecificTools.replacements.create or edit | Adds a tool to a replacement |
/SpecificToolsRemove | SpecificTools.replacements.edit | removes a tool from a replacement |
Here is an example of how you could create some replacements:
- /st create world diamond ore
- /sadd shears
- /sadd diamond spade
- /sadd finished
That would make Shears and diamond spades the only tools that could break diamond ore in world. If you then find out diamond spades should be the only tools and not shears you would do:
- /st edit world diamond ore
- /sremove shears
- /sremove finished
that would remove shears from the replacement for diamond ore in world. If you later don't want that replacement at all you could do:
- /st remove world diamond ore
A list of every block/tool is here.
If you want to create/remove/edit replacements from the config remember to shut down your server first and read below:
How the config works
The format for the configuration is like this:
Replacements: [world]: [block]: - [tool] - [tool]
The list of blocks and tools is here. But remember to have uppercase and use _ and not spaces in the tools/blocks!
Here is an example configuration:
Replacements: world: DIRT: - HAND - IRON_SWORD GOLD_BLOCK: - GOLD_HOE world_nether: DIRT: - HAND - IRON_SWORD GOLD_BLOCK: - GOLD_HOE NETHERRACK: - HAND
With this config an empty hand or an iron sword are the only tools that can break dirt, and golden hoe is the only tool to break gold blocks in world. And in nether it is the same except netherrack can be destroyed by hand(and only hand!).
Additionally there is one more thing you may want to change:
NoDrop: true
If it is set to true the blocks that are being tried to destroy using wrong tools would get destroyed, but not drop anything. Else if it is set to false; the blocks just won't break.
Permissions
Node | children | description |
SpecificTools.default | Lets the player override the tools in the config | |
SpecificTools.* | everything except SpecificTools.default | All the nodes |
SpecificTools.replacements.* | replacements.create, delete, edit and list | All the node that is needed to create replacements ingame |
SpecificTools.replacements.create | Makes the player able to create replacements | |
SpecificTools.replacements.delete | Makes the player able to delete replacements | |
SpecificTools.replacements.list | Makes the player able to list all the replacements | |
SpecificTools.replacements.edit | Makes the player able to edit replacements |
How to install
- Download specifictools.jar (Top right of this page)
- Stop your server
- Put specifictools.jar in the plugins folder of your server
- Start and stop your server
- Edit plugins/SpecificTools/config.yml after your needs
- Enjoy!
To do
- Remove bugs
If you use a tool that is normally not valid, the block wont drop anything.Hand can not be used as a tool from ingame- If NoDrop is set to true (which is default) the broken blocks will not be logged by LogBlock, Guardian, Hawkeye...
- Improve!
make so things do not need to be uppercase when using commands and space can be used insted of underscore- Change how settings works in the config
Add per world supportAdd commands to add replacementsAdd all items as valid tools- Add faster breaking!
@darth2499
Of course! But currently the problem is the speed... The block will take as long time as usual to break,
but you will get a drop.EDIT:
This does currently not work. will add it asapEDIT2: This is now fixed ina dev releaseversion 0.1.6.Does this allow wooden tools to break any blocks like iron ore or diamond?
@Powernade
Lol, I forgot Shears. Will go over and add other missing tools
This is exactly what I was looking for, the only things i could think to add would be maybe slots for other items like shears and things, but with this, i can make stone bricks stronger than stone, stronger than cobblestone. Thanks so much.