Kód: Vybrat vše
/**
* 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
{
"meno admina"
{
"auth" "steam"
"identity" "moje team id"
"flags" "z"
}
}
netreba pod to flags nieco pridat napriklad na webe od sourcebans mam vytvorene skupiny napriklad root atd ktore som vytvoril ja netreba pod to flags nahodou pridat "group" Root?? alebo nieco take??
potom som este pridal do addons/sourcemod/configs/databases.cfg toto takze moje databases.cfg vyzera takto
Kód: Vybrat vše
"Databases"
{
"driver_default" "mysql"
"admintools"
{
"driver" "mysql"
"host" "mysql host"
"database" "mysql database"
"user" "user"
"pass" "heslo"
//"timeout" "0"
"port" "3306"
}
"sourcebans"
{
"driver" "mysql"
"host" "mysql host"
"database" "mysql name"
"user" "uzivatel"
"pass" "password"
//"timeout" "0"
"port" "3306"
}
"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}
}
... ppotom som dal restart prisiel som na server a skusil som si dat ban na 1 min .. ban mi dalo a napisalo mi to co je v sourcebans v translatas cize ze bol som zabanovany a navstiv web pre info... a pridem na web ale moje meno na webe stale nieje ako zabanovane prostse nieje tam moje meno neviete preco??... Dik za help.. surne to potrebujem ....