Knowledgebase
Please
Login or
Register ZGS Portal Home > Knowledgebase > General Support > How do I setup an Admin for SM?
How do I setup an Admin for SM?
/** * USE THIS SECTION TO DECLARE DETAILED ADMIN PROPERTIES. * * Each admin should have its own "Admin" section, followed by a name. * The name does not have to be unique. * * Available properties: (Anything else is filtered as custom) * "auth" - REQUIRED - Auth method to use. Built-in methods are: * "steam" - Steam based authentication * "name" - Name based authentication * "ip" - IP based authentication * Anything else is treated as custom. * Note: Only one auth method is allowed per entry. * * "identity" - REQUIRED - Identification string, for example, a steamid or name. * Note: Only one identity is allowed per entry. * * "password" - Optional password to require. * "group" - Adds one group to the user's group table. * "flags" - Adds one or more flags to the user's permissions. * "immunity" - Sets the user's immunity level (0 = no immunity). * Immunity can be any value. Admins with higher * values cannot be targetted. See sm_immunity_mode * to tweak the rules. Default value is 0. * * Example: "BAILOPAN" { "auth" "steam" "identity" "STEAM_0:1:16" "flags" "abcdef" } * */ Admins { "zx" { "auth" "steam" "identity" "STEAM_1:0:419656" "flags" "z" } "main" { "auth" "steam" "identity" "STEAM_1:1:19123456" "flags" "z" } "subadmin" { "auth" "steam" "identity" "STEAM_1:1:17399999" "flags" "abcdefgijkl" } |
Change the name and steam id to yours. Copy all and paste in your admins.cfg file. Make sure you check for admin flags.
Restart your server
|
Add to Favourites
Print this Article
|
Also Read
Do you have any questions that I can help you with?
