Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Y axis for Hardened Stone "enchancement" #118

Open
minisephirot opened this issue Feb 9, 2018 · 1 comment
Open

Set Y axis for Hardened Stone "enchancement" #118

minisephirot opened this issue Feb 9, 2018 · 1 comment

Comments

@minisephirot
Copy link

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 !

@RoboMWM
Copy link
Member

RoboMWM commented Feb 9, 2018

Also I'm wondering if I can try to modify myself the plugin for my server if I want to ?

Go for it, it's open source and licensed. Though, I think this feature is worthy of a PR c:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants