On my ZombieMod:Reloaded servers I got tired of all my admins being able to use the respawn commands and such. Seeing as setting it in the admin group mode is not an option I tried the way of using AddCommandOverride to give the commands a new flag.
The plugin is rather simple and only contains this:
PHP Code:
public OnPluginStart()
{
AddCommandOverride("zr_human", Override_Command, ADMFLAG_CUSTOM3);
AddCommandOverride("zr_infect", Override_Command, ADMFLAG_CUSTOM3);
AddCommandOverride("zr_zspawn_force", Override_Command, ADMFLAG_CUSTOM3);
AddCommandOverride("zr_ztele_force", Override_Command, ADMFLAG_CUSTOM3);
AddCommandOverride("zadmin", Override_Command, ADMFLAG_CUSTOM3);
}
However, I can still use all those commands after I stripped my second account from CUSTOM3 (it doesn't have root).
I also tried adding them to the admin_override file. Still no effect.
Is there anything more then that needed?