Ability to create hopper minecarts when blocked.
LadyCailinBot opened this issue ยท 4 comments
WORLDGUARD-3112 - Reported by andrewkm
We block hopper minecarts completely with:
Deny usage. TNT Minecart, Hopper Minecart.
[407,408]
ignore-perms=blacklist.admin
on-use=deny,tell
on-break=deny,tell
on-destroy-with=deny,tell
on-acquire=deny,tell
on-place=deny,tell
on-use=deny,tell
on-interact=deny,tell
on-drop=deny,tell
message=These minecarts are not currently available!
However there is a way to bypass this. If you craft a hopper minecart and place it in a dispenser, you can simply power the dispenser to drop the minecart onto a powered rail. Is there anything that can be done about this, anyway to prevent this?
Comment by sk89q
The NPE should be fixed in the latest build, and I suspect it also broke the function.
{{[hopperminecart]
on-dispense=deny,notify}}
should work
Comment by andrewkm
Can confirm, tested and fixed.
Many thanks.
Side-note: Does not work with ignore permissions, although not a problem and quite obvious it wouldn't as its red stone based. Just thought I'd mention it if it's not what you intended.
Thanks again!
Comment by sk89q
There is a new {{on-dispense}} option in the dev build that should work.
Comment by andrewkm
I do indeed see the new option, and have set up all our files accordingly.
It is still however dispensing the specific minecarts, as well it is now generating the following NPE: