ThunderDoesPlugins / StaffChat

An Advance staff chat plugins for your staff members
ISC License
13 stars 9 forks source link

Add proper permission node #5

Closed mikeygio10 closed 5 years ago

mikeygio10 commented 5 years ago

Could you make is so players cant see the command /staffchat i get they cant use it but its annoying

DEV EDIT: add proper permission check so PMMP knows to hide the command if they dont have permission

Thunder33345 commented 5 years ago

probably better to find a command hider plugin... i mean i could consider but options for me just seems too hacky to consider, i guess i wont mind if anyone want to PR it with an option to use preprocess event rather then a proper registering...

mikeygio10 commented 5 years ago

so no

mikeygio10 commented 5 years ago

ok

Thunder33345 commented 5 years ago

okay i think this should do it, now only people with the root node of "staffchat" can see the command

mikeygio10 commented 5 years ago

now your staffchat.read dont work

Thunder33345 commented 5 years ago

please make a new issue as this is not related to this please also be descriptive or i wont be bother fixing it as i dont know what caused it