ToolModifiers
Tools:
- Hammer - mines 3x3 area (3x5 versions mine 3x5 area)
- Excavator - digs 3x3 area
- Lumberaxe - chops 3x3 area or cuts down a tree (experimental)
Commands:
- tm - alias for toolmodifiers
- toolmodifiers itemlist - lists all modified tools
- toolmodifiers territoryhook - displays which territory plugin is being used (Factions or Towny)
- toolmodifiers give <itemname> - give yourself a tool from itemlist (ex. diamondhammer)
- toolmodifiers give <playername> <itemname> - give player a tool from itemlist
Permissions:
- toolmodifiers.hammer.use - can use hammers (default: true)
- toolmodifiers.hammer.craft - can craft hammers (default: true)
- toolmodifiers.excavator.use - can use excavators (default: true)
- toolmodifiers.excavator.craft - can craft excavators (default: true)
- toolmodifiers.lumberaxe.use - can use lumberaxes for chopping a 3x3 area (default: true)
- toolmodifiers.lumberaxe.tree - can cut down trees (default: true)
- toolmodifiers.lumberaxe.craft - can craft lumberaxes (default: true)
- toolmodifiers.command - access to /tm command (default: op)
- toolmodifiers.command.give.(hammer|excavator|lumberaxe) - can use /tm give command (default: op)
Crafting recipes:
- Hammers - pickaxe recipe but instead of ingots/gems you must use blocks of that ingot/gem (except for netherite tools)
- Excavator - shovel recipe ...
- Lumberaxe - axe recipe ...
- Netherite tools can be obtained by upgrading their diamond counterparts.
You can only craft iron, gold, diamond and netherite tier tools.
Also, there is a bug where netherite tools don't update their name in smithing table's resulting slot, but when you get the upgrade, it should be renamed properly (except if you have already renamed your tool in an anvil). It should be fixable, and you can do it if you really want to, although my code is a bit messy right now, - git repo is given below.
Config:
# Example:
hardness_threshold: 1.5
lumberaxe:
tree_branch_radius: 4
drop_tree_logs_at_source: true
hook:
factions:
default_faction_name: Wilderness
towny:
protect_wild: false
display:
names:
diamond:
hammer: §r§6Diamond Hammer
excavator: §r§6Diamond Excavator
lumberaxe: §r§6Diamond Lumberaxe
iron:
hammer: §r§6Iron Hammer
excavator: §r§6Iron Excavator
lumberaxe: §r§6Iron Lumberaxe
gold:
hammer: §r§6Golden Hammer
excavator: §r§6Golden Excavator
lumberaxe: §r§6Golden Lumberaxe
netherite:
hammer: §r§6Netherite Hammer
excavator: §r§6Netherite Excavator
lumberaxe: §r§6Netherite Lumberaxe
Experimental integration with factions and towny plugins - use at your own risk.
You can freely modify or create your own versions of this plugin as it is under the MIT license.
-
View User Profile
-
Send Message
Posted Jan 14, 2023How do i make it so that the hammer can destroy deep slate and blocks that are added in 1.19?
-
View User Profile
-
Send Message
Posted Aug 19, 2020Any chance to get an update to 1.16.1 to support latest materials in the nether? ive actually modified the block utils, just not sure what all need to be done to recompile the git repo back into a .jar?
Thanks!
-
View User Profile
-
Send Message
Posted Aug 30, 2020In reply to itg00se:
I am busy with other projects, so I don't really know, but it should be easy. Maybe I will add a separate config file only for materials in the future when I have more time.
You should be able to compile it with gradle.
And tbh, I should really rewrite this plugin, as it was one of my first works ever 😅 and it won't be soon.
-
View User Profile
-
Send Message
Posted May 12, 2020Thanks, works great!