Admin system would work better, if you not grant admin flag "Z" to anyone, not even yourself.
It's magical flag, to bypass all admin and immunity check.
Not nice, only mess.
Instead, give yourself all admin letters. abcdefghijklmnopqrst
And you can hide/block commands what you not need behind that flag "z" for example (command override).
- Or another way, create admin group and add yourself in it, use group override "deny"
admin_overrides.cfg
Code:
Overrides
{
/**
* By default, commands are registered with three pieces of information:
* 1)Command Name (for example, "csdm_enable")
* 2)Command Group Name (for example, "CSDM")
* 3)Command Level (for example, "changemap")
*
* You can override the default flags assigned to individual commands or command groups in this way.
* To override a group, use the "@" character before the name. Example:
* Examples:
* "@CSDM" "b" // Override the CSDM group to 'b' flag
* "csdm_enable" "bgi" // Override the csdm_enable command to 'bgi' flags
*
* Note that for overrides, order is important. In the above example, csdm_enable overwrites
* any setting that csdm_enable previously had.
*
* You can make a command completely public by using an empty flag string.
*/
"sm_beacon" "z"
"sm_burn" "z"
}
If some reason you want let other admin to use these restrict commands.
- Create admin group and set admin into that admin group.
- Use admin group override
Here example
myadminexample
Code:
Groups
{
/**
* Allowed properties for a group:
*
* "flags" - Flag string.
* "immunity" - Immunity level number, or a group name.
* If the group name is a number, prepend it with an
* '@' symbol similar to admins_simple.ini. Users
* will only inherit the level number if it's higher
* than their current value.
*/
"Default"
{
"immunity" "1"
}
"Full Admins"
{
/**
* You can override commands and command groups here.
* Specify a command name or group and either "allow" or "deny"
* Examples:
* ":CSDM" "allow"
* "csdm_enable" "deny"
*/
Overrides
{
}
"flags" "abcdefghiz"
/* Largish number for lots of in-between values. */
"immunity" "99"
}
"myadminexample"
{
Overrides
{
"sm_beacon" "allow"
"sm_burn" "allow"
}
"flags" "abc"
"immunity" "10"
}
}
*edit
Or like always, last option, edit plugin source code and remove menu part.
__________________