Command to directly toggle on/off cmd for players
bobhenl opened this issue ยท 4 comments
Hello, could you please add way to toggle veinminer on/off directly for players, when their rank expire?
Like /veinminer on/off , or support player argument in other commands too
I think ideally this should be done with permissions, no? You should be able to give your rank the veinminer.veinmine.*
permission (or any of its children) to the special rank and revoke it from the default group.
I think ideally this should be done with permissions, no? You should be able to give your rank the
veinminer.veinmine.*
permission (or any of its children) to the special rank and revoke it from the default group.
And if they use /veinminer toggle
while having the rank, will the removing of veinminer.veinmine.*
disallow them to use the veinminer, if they toggled it on previously?
Yes. That vein mining permission allows them to actually use vein miner regardless of its enabled state. If they don't have that permission, they cannot use vein miner. veinminer.command.toggle
is what allows them to toggle it on and off but they still need to have the vein mining permission to actually use it. Just note that veinminer.veinmine.*
is default for all players so if you want to remove it, you'll have to negate it in your base group and re-add it to whichever group you want to have it.