Quote:
Originally Posted by Mitchell
Use Admins.cfg, not the simple.
remove the first block, that should be commented out, from admin_groups.cfg.
Your admin_groups.cfg will look like this:
Code:
"Groups"
{
"OWNER"
{
"flags" "z"
"immunity" "99"
}
"ADMIN"
{
"flags" "acdefghjkm"
"immunity" "98"
}
"MANAGER"
{
"flags" "acdefghjk"
"immunity" "97"
}
"MODERATOR"
{
"flags" "acdefhjk"
"immunity" "96"
}
"K1NG"
{
"flags" "acdefjk"
"immunity" "95"
}
"FAMOUS"
{
"flags" "acfjk"
"immunity" "94"
}
"VIP"
{
"flags" "afjk"
"immunity" "93"
}
}
|
Ehmm So I did everything you said but still I don't see my admin title in chat.
Here are the new .cfgs :
admins.cfg
Code:
/**
* 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
{
"muche"
{
"auth" "steam"
"identity" "STEAM_0:0:195739924"
"flags" "z"
"immunity" "99"
"group" "OWNER"
}
"Interface"
{
"auth" "steam"
"identity" "STEAM_0:1:182606069"
"flags" "abcdefghijkmn"
"immunity" "98"
"group" "ADMIN"
{
{
admin_groups.cfg
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"
}
}
"Groups"
{
"OWNER"
{
"flags" "z"
"immunity" "99"
}
"ADMIN"
{
"flags" "acdefghijkmn"
"immunity" "98"
}
"MANAGER"
{
"flags" "acdefghjk"
"immunity" "97"
}
"MODERATOR"
{
"flags" "acdefhjk"
"immunity" "96"
}
"K1NG"
{
"flags" "acdefjk"
"immunity" "95"
}
"FAMOUS"
{
"flags" "acfjk"
"immunity" "94"
}
"VIP"
{
"flags" "afjk"
"immunity" "93"
}
}
custom-chatcolors.cfg
Code:
// Custom Chat Colors is written by Dr. McKay (http://www.doctormckay.com)
// Simple Chat Colors (Redux) is written by Antithasys
// The configuration is very similar, so I've stolen Redux's documentation :P
//
// How to edit this file:
// "admin_colors" <-- Leave this alone
// { <-- Add all groups/steamids after first bracket (Leave this alone)
//
// "STEAM_0:1:1234567" <-- Here is a steamid example with a tag (don't duplicate steamids)
// {
// "namecolor" "#RRGGBB" <-- This is the color for the name (#RRGGBB in hex notation or #RRGGBBAA with alpha)
// "textcolor" "#RRGGBBAA" <-- This is the color of the text
// }
//
// "groupname" <-- This can either be a steamid for a specific player, or a group name
// { <-- Open the group
// "flag" "z" <-- This is the flag(s) assoicated with the group. This field doesn't matter if the group name is a steamid
// "tag" "[admin]" <-- This is the text for the tag
// "tagcolor" "O" <-- This is the color for the tag
// "namecolor" "G" <-- This is the color for the name
// "textcolor" "T" <-- This is the color of the text
// } <-- Close the group
// } <-- Add all groups/steamids before last bracket (Leave this alone)
//
// NOTE:
// If you don't enter a steamid then the group name does not matter, it's just for your reference.
//
// For colors, either a hex notation of a color (#RRGGBB or #RRGGBBAA) or one of the supported shortcuts (O - Olive, G - Green, T - Team) is required
//
// --------ORDER OF OPERATIONS--------
//
// The order in which you place items in the config file matters. Here is what determins what color they get:
// 1. SteamID
// If there is a steamid present, it will always override everything. If you put a steamid in twice
// then the first entry (top to bottom) will be used. (I think, just don't do it!)
// 2. Groups
// The plugin will search (top to bottom) for a postitive match for the flag string. The player' flags
// will be compared with the group flag character (NOTE: only one flag per group! "a" is okay, "ab" is NOT),
// and if the player has the flag, it will stop there.
// For example. Admins with the "ad" flags and donators with the "a" flag. If you place the "a" flag group
// above the "d" group then the admin will get the "a" colors. Order matters.
//
// ---------DO NOT EDIT ABOVE THIS LINE---------
"admin_colors"
{
"OWNER" // This will be the name of the group you're assigning the tag to (must match the corresponding group name in admin_groups.cfg).
{
"tag" "[OWNER]" // Notice how there is no need for a "flag" key anymore
"tagcolor" "{02}"
}
"ADMIN"
{
"tag" "[ADMIN] "
"tagcolor" "{04}"
}
"MANAGER"
{
"tag" "[MANAGER] "
"tagcolor" "{03}"
}
"MODERATOR"
{
"tag" "[MOD] "
"tagcolor" "{06}"
}
"K1NG"
{
"tag" "[K1NG] "
"tagcolor" "{07}"
}
"FAMOUS" // Use 'default' if you want to give a tag to non-group members.
{
"tag" "[FAMOUS] "
"tagcolor" "{08}"
}
"VIP"
{
"tag" "[VIP]"
"tagcolor" "{09}"
}
}