Set Y axis for Hardened Stone "enchancement"
minisephirot opened this issue ยท 1 comments
Heya ! First thank you for your work.
I don't really want my players to be unable to mine stone on the surface, while also prevent tunnel mining.
Do you think you could do a Y check in your Hardened Stone Class ? Adding something in the config like
Hardened Blocks:
- STONE
# Block players from placing ore next to stone to soften the stone when mining the ore.
Block Placing Ore Next To Stone Exploit: true
# Block sneaky players from trying to tunnel using pistons. This will block movement of stone and ore blocks with pistons.
Block Moving Of Stone Blocks With Piston Exploit: false
# Y axis to start hardening the stone , (Y and lower)
- 45
# List of tools that can mine stone. If a tool isn't in the list it can't mine stone.
# F.e. DIAMOND_PICKAXE@100 = Mine 100 stone blocks -> pick broken
Amount of Stone Tool Can Mine (Tool@Blocks):
- IRON_PICKAXE@32
- DIAMOND_PICKAXE@64
A really neat option could be to add multiple check for Y axis like that I could harden the stone the deeper my player get.
Also I'm wondering if I can try to modify myself the plugin for my server if I want to ?
Thanks !