General > Developers Corner
Group Restrictions!
sabo:
First of you need to be sure the rank that is supposed to be above a rank is actually higher rank
That means you need a system like the following:
User (no inheritance)
VIP (inherits from user)
Moderator (inherits from VIP)
Admin (inherits from Moderator)
Superadmin (inherits from Admin)
Then the "!%GROUP" option works. Otherwise it will be tricky to make it work or wont work at all, I suggest you to use the simple way and let every rank inherit from the rank before it.
Good luck.
Snell:
It's actualy quite simple after you get the grasp of it :D
Say these are your Ranks, and they all have access to commands which target other players (The Need to inhert from Eachother)
--- Quote ---superadmin
admin
operator
moderator
--- End quote ---
For Moderator to be unable to target operator, you will have to use the parameter
--- Code: ---!%operator
--- End code ---
The %operator is everyone in the usergroup, and the ! means anyone not in the usergroup, which inherts from it.
Navigation
[0] Message Index
[*] Previous page
Go to full version