Problem with permissionSolved

hi guys

i am stuck right now..i wanted to set the permissions to allow all players and admins to use the zlevel. But a single admin doesn't want to use it.
So i set in config "enablePermission": true and gave the permission oxide.grant group default zlevelsremastered.use
and oxide.grant group admins zlevelsremastered.use. Now I revoked them from the single player again with oxide.revoke user [name of player] zlevelsremastered.use.
But that somehow didn't work, he still sees the zLevels. Where is the error? What am I doing wrong?
I tried to revoke the permission of the entire admin group, but I still see the zlevels (oxide.revoke group admin zlevelsremastered.use).

Is maybe an oxide permission pro here?^^

Just tell him to type  /statsui - toggle's stats interface.  to disable his stats interface , thats what i tell any player who doesnt want to use it

Once you grant default group the permission you dont have to grant it to a higher group as it is inherited from default,

wow thank you for that quick answer!

but that only disables his interface, but he still get more wood etc because it is still working in the background, right?

oh I understand, so when I grant default, the admin group is also included because default is higher than admin? But shouldn't it work if I revoke the permission from a single player?



Merged post

Oh man...solved-.- 

Thank you pookins, you helped me finding the right command: /statsonoff is the toggle to toggle on and off

ilineus

wow thank you for that quick answer!

but that only disables his interface, but he still get more wood etc because it is still working in the background, right?

oh I understand, so when I grant default, the admin group is also included because default is higher than admin? But shouldn't it work if I revoke the permission from a single player?

Default is everyone ,  you can also (from the documentation)

Can I change player levels easily?

You can modify players level via RCON/Console, using the following commands:

  • zl.lvl <playername | steamid> <skillshortcutname> <XX> -- Set player level to XX level.

set that players levels to a set amount such as -100 (if that is possible (?)  for each skill that way he would not get any benefit from the plugin at all ,
You can try by revoking the permission as a user to see if that works
/oxide.revoke user <username>  zlevelsremastered.use

Wish i could help more but thats about all i can think of.

gZ0DYRXvhoTOQua.jpg pookins

Default is everyone ,  you can also (from the documentation)

Can I change player levels easily?

You can modify players level via RCON/Console, using the following commands:

  • zl.lvl <playername | steamid> <skillshortcutname> <XX> -- Set player level to XX level.

set that players levels to a set amount such as -100 (if that is possible (?)  for each skill that way he would not get any benefit from the plugin at all ,
You can try by revoking the permission as a user to see if that works
/oxide.revoke user <username>  zlevelsremastered.use

Wish i could help more but thats about all i can think of.

Thank you very much, you helped a lot! revoking didn't worked unfortunately. But there is the command /statsonoff with that every player can toggle the mod on or off^^

ilineus

Thank you very much, you helped a lot! revoking didn't worked unfortunately. But there is the command /statsonoff with that every player can toggle the mod on or off^^

Talk about not seeing the trees when looking at a forest,  duh    missed that one  :)

revoking from the user didn't work because he doesn't have the permission granted to him. it's granted to the default group which he's assigned to.

so in order to revoke it from him you'd need to revoke it from the group which would incidentally revoke it from everyone instead :D

glad you got it sorted. thanks pookins!

Oh that makes sense. Thank you :) 

Locked automatically