Skip to content

Admin access

Zombie:Reloaded use SourceMod to authenticate players. There are two ways to do this; flag based or group based. With flag authentication a certain admin flag is required to be set, and with group authentication the player must be member of a certain group to do certain types of operations.

The reason to use group authentication could be to let admins have full access in SourceMod so they get access to configure all plugins, but still limit access to commands in Zombie:Reloaded. When using flag authentication the permissions will be global across all plugins, including Zombie:Reloaded.

Admin Flags Used In Zombie:Reloaded

Admins must have the appropriate SourceMod admin flags to do certain types of operations. The required flag is configurable per operation type through permissions cvars:

Admin Flags Used In Zombie:Reloaded
Flag cvar (default): Operation type:
zr_permissions_flag_generic (Admin_Ban) Access to generic operations like infecting, teleporting, and spawning players.
zr_permissions_flag_configuration (Admin_Config) Access to operations that change settings in Zombie:Reloaded.

Predefined Admin Groups

If group authentication is used, admins must be member of one of these SourceMod groups to do the following operations:

Predefined Admin Groups
Group: Operation type:
zr_admins Full access to all commands in Zombie:Reloaded.
zr_moderators Access to generic operations like infecting, teleporting, and spawning players.
zr_configurators Access to operations that change settings in Zombie:Reloaded.

Console Variables

Permission Console Variables
Console variable: Default:
zr_permissions_use_groups 0

Use group authentication instead of flags to access admin features. Generic admin flag is still required on some features.

Options:
0 or 1

zr_permissions_flag_generic d

Admin flag used for generic admin operations when group authentication is disabled.

Options:
Any single SourceMod admin flag character (a-t or z). Recommended default: d (ban).

zr_permissions_flag_configuration i

Admin flag used for configuration operations when group authentication is disabled.

Options:
Any single SourceMod admin flag character (a-t or z). Recommended default: i (config).

See SourceMod flag levels:
https://wiki.alliedmods.net/Adding_Admins_(SourceMod)#Levels