Quoted
"2"
{
"title" "Basic Admin Commands"
"1"
{
"title" "Ban Player"
"cmd" "sm_ban #1 #2 #3 #4 #5"
"1"
{
"type" "player"
}
"2"
{
"type" "list"
"title" "Duration:"
"1" "0"
"1." "Permanent"
"2" "5"
"2." "5 Minutes"
"3" "60"
"3." "An Hour"
"4" "1440"
"4." "1 Day"
"5" "10080"
"5." "1 Week"
}
"3"
{
"type" "list"
"title" "Grund Reason:"
"1" "cheating"
"2" "Beleidigend abusive"
"3" "Werbung advertisment"
"4" "Rassismus racism"
}
}
"2"
{
"title" "Kick Player"
"cmd" "sm_kick #1 #2"
"1"
{
"type" "player"
}
"2"
{
"type" "list"
"title" "Reason:"
"1" "cheating"
"2" "Beleidigend abusive"
"3" "Werbung advertisment"
"4" "Rassismus racism"
}
}
Quoted
Redownload the plugin from the first page. Should have this problem fixed.
|
|
Source code |
1 |
bind "tastedeinesvertrauens" "sm_admin" |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
// // READ THIS CAREFULLY! SEE BOTTOM FOR EXAMPLES // // For each admin, you need three settings: // "identity" "permissions" "password" // // For the Identity, you can use a SteamID or Name. To use an IP address, prepend a ! character. // For the Permissions, you can use a flag string and an optional password. // // PERMISSIONS: // Flag definitions are in "admin_levels.cfg" // You can combine flags into a string like this: // "abcdefgh" // // If you want to specify a group instead of a flag, use an @ symbol. Example: // "@Full Admins" // // You can also specify immunity values. Two examples: // "83:abcdefg" //Immunity is 83, flags are abcefgh // "6:@Full Admins" //Immunity is 6, group is "Full Admins" // // Immunity values can be any number. An admin cannot target an admin with // a higher access value (see sm_immunity_mode to tweak the rules). Default // immunity value is 0 (no immunity). // // PASSWORDS: // Passwords are generally not needed unless you have name-based authentication. // In this case, admins must type this in their console: // // setinfo "KEY" "PASSWORD" // // Where KEY is the "PassInfoVar" setting in your core.cfg file, and "PASSWORD" // is their password. With name based authentication, this must be done before // changing names or connecting. Otherwise, SourceMod will automatically detect // the password being set. // //////////////////////////////// // Examples: (do not put // in front of real lines, as // means 'comment') // // "STEAM_0:1:16" "bce" //kick, ban, slay for this steam ID, no immunity // "!127.0.0.1" "99:z" //all permissions for this ip, immunity value is 99 // "BAILOPAN" "abc" "Gab3n" //name BAILOPAN, password "Gab3n": gets reservation, kick, ban // //////////////////////////////// "STEAM_0:1:5651580" "abcdefghijklmnz" |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
/**
* 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
{
"Devil"
{
"auth" "steam"
"identity" "STEAM_0:1:5651580"
"flags" "abcdefghijklmnz"
}
|