01-12-2012, 02:49 PM
не банится никто! баню sm_ban и sm_banip перманентом (навсегда) , а человек тут же заходит!!
сервер на sourcemod`e , мани плагина нету!!!!
как всетаки забанить? как банить по стим ид??
сервер на sourcemod`e , мани плагина нету!!!!
как всетаки забанить? как банить по стим ид??
basebans.sp
/**
* vim: set ts=4 :
* =============================================================================
* SourceMod Basecommands
* Functionality related to banning.
*
* SourceMod ©2004-2008 AlliedModders LLC. All rights reserved.
* =============================================================================
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3.0, as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*
* As a special exception, AlliedModders LLC gives you permission to link the
* code of this program (as well as its derivative works) to "Half-Life 2," the
* "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
* by the Valve Corporation. You must obey the GNU General Public License in
* all respects for all other code used. Additionally, AlliedModders LLC grants
* this exception to all derivative works. AlliedModders LLC defines further
* exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
* or <http://www.sourcemod.net/license.php>.
*
* Version: $Id$
*/
PrepareBan(client, target, time, const String:reason[])
{
new originalTarget = GetClientOfUserId(g_BanTargetUserId[client]);
if (originalTarget != target)
{
if (client == 0)
{
PrintToServer("[SM] %t", "Player no longer available");
}
else
{
PrintToChat(client, "[SM] %t", "Player no longer available");
}
return;
}
decl String:authid[64], String:name[32];
GetClientAuthString(target, authid, sizeof(authid));
GetClientName(target, name, sizeof(name));
if (!time)
{
if (reason[0] == '\0')
{
ShowActivity(client, "%t", "Permabanned player", name);
} else {
ShowActivity(client, "%t", "Permabanned player reason", name, reason);
}
} else {
if (reason[0] == '\0')
{
ShowActivity(client, "%t", "Banned player", name, time);
} else {
ShowActivity(client, "%t", "Banned player reason", name, time, reason);
}
}
LogAction(client, target, "\"%L\" banned \"%L\" (minutes \"%d\") (reason \"%s\")", client, target, time, reason);
if (reason[0] == '\0')
{
BanClient(target, time, BANFLAG_IP , "Banned", "Banned", "sm_banip", client);
}
else
{
BanClient(target, time, BANFLAG_IP , reason, reason, "sm_banip", client);
}
}
DisplayBanTargetMenu(client)
{
new Handle:menu = CreateMenu(MenuHandler_BanPlayerList);
decl String:title[100];
Format(title, sizeof(title), "%T:", "Ban player", client);
SetMenuTitle(menu, title);
SetMenuExitBackButton(menu, true);
AddTargetsToMenu2(menu, client, COMMAND_FILTER_NO_BOTS|COMMAND_FILTER_CONNECTED);
DisplayMenu(menu, client, MENU_TIME_FOREVER);
}
DisplayBanTimeMenu(client)
{
new Handle:menu = CreateMenu(MenuHandler_BanTimeList);
decl String:title[100];
Format(title, sizeof(title), "%T: %N", "Ban player", client, g_BanTarget[client]);
SetMenuTitle(menu, title);
SetMenuExitBackButton(menu, true);
AddMenuItem(menu, "0", "Permanent");
AddMenuItem(menu, "10", "10 Minutes");
AddMenuItem(menu, "30", "30 Minutes");
AddMenuItem(menu, "60", "1 Hour");
AddMenuItem(menu, "240", "4 Hours");
AddMenuItem(menu, "1440", "1 Day");
AddMenuItem(menu, "10080", "1 Week");
DisplayMenu(menu, client, MENU_TIME_FOREVER);
}
DisplayBanReasonMenu(client)
{
new Handle:menu = CreateMenu(MenuHandler_BanReasonList);
decl String:title[100];
Format(title, sizeof(title), "%T: %N", "Ban reason", client, g_BanTarget[client]);
SetMenuTitle(menu, title);
SetMenuExitBackButton(menu, true);
/* :TODO: we should either remove this or make it configurable */
AddMenuItem(menu, "Abusive", "Abusive");
AddMenuItem(menu, "Racism", "Racism");
AddMenuItem(menu, "General cheating/exploits", "General cheating/exploits");
AddMenuItem(menu, "Wallhack", "Wallhack");
AddMenuItem(menu, "Aimbot", "Aimbot");
AddMenuItem(menu, "Speedhacking", "Speedhacking");
AddMenuItem(menu, "Mic spamming", "Mic spamming");
AddMenuItem(menu, "Admin disrepect", "Admin disrepect");
AddMenuItem(menu, "Camping", "Camping");
AddMenuItem(menu, "Team killing", "Team killing");
AddMenuItem(menu, "Unacceptable Spray", "Unacceptable Spray");
AddMenuItem(menu, "Breaking Server Rules", "Breaking Server Rules");
AddMenuItem(menu, "Other", "Other");
DisplayMenu(menu, client, MENU_TIME_FOREVER);
}
public AdminMenu_Ban(Handle:topmenu,
TopMenuAction:action,
TopMenuObject:object_id,
param,
String:buffer[],
maxlength)
{
if (action == TopMenuAction_DisplayOption)
{
Format(buffer, maxlength, "%T", "Ban player", param);
}
else if (action == TopMenuAction_SelectOption)
{
DisplayBanTargetMenu(param);
}
}
public MenuHandler_BanReasonList(Handle:menu, MenuAction:action, param1, param2)
{
if (action == MenuAction_End)
{
CloseHandle(menu);
}
else if (action == MenuAction_Cancel)
{
if (param2 == MenuCancel_ExitBack && hTopMenu != INVALID_HANDLE)
{
DisplayTopMenu(hTopMenu, param1, TopMenuPosition_LastCategory);
}
}
else if (action == MenuAction_Select)
{
decl String:info[64];
GetMenuItem(menu, param2, info, sizeof(info));
PrepareBan(param1, g_BanTarget[param1], g_BanTime[param1], info);
}
}
public MenuHandler_BanPlayerList(Handle:menu, MenuAction:action, param1, param2)
{
if (action == MenuAction_End)
{
CloseHandle(menu);
}
else if (action == MenuAction_Cancel)
{
if (param2 == MenuCancel_ExitBack && hTopMenu != INVALID_HANDLE)
{
DisplayTopMenu(hTopMenu, param1, TopMenuPosition_LastCategory);
}
}
else if (action == MenuAction_Select)
{
decl String:info[32], String:name[32];
new userid, target;
GetMenuItem(menu, param2, info, sizeof(info), _, name, sizeof(name));
userid = StringToInt(info);
if ((target = GetClientOfUserId(userid)) == 0)
{
PrintToChat(param1, "[SM] %t", "Player no longer available");
}
else if (!CanUserTarget(param1, target))
{
PrintToChat(param1, "[SM] %t", "Unable to target");
}
else
{
g_BanTarget[param1] = target;
g_BanTargetUserId[param1] = userid;
DisplayBanTimeMenu(param1);
}
}
}
public MenuHandler_BanTimeList(Handle:menu, MenuAction:action, param1, param2)
{
if (action == MenuAction_End)
{
CloseHandle(menu);
}
else if (action == MenuAction_Cancel)
{
if (param2 == MenuCancel_ExitBack && hTopMenu != INVALID_HANDLE)
{
DisplayTopMenu(hTopMenu, param1, TopMenuPosition_LastCategory);
}
}
else if (action == MenuAction_Select)
{
decl String:info[32];
GetMenuItem(menu, param2, info, sizeof(info));
g_BanTime[param1] = StringToInt(info);
DisplayBanReasonMenu(param1);
}
}
public Action:Command_Ban(client, args)
{
if (args < 2)
{
ReplyToCommand(client, "[SM] Usage: sm_ban <#userid|name> <minutes|0> [reason]");
return Plugin_Handled;
}
decl len, next_len;
decl String:Arguments[256];
GetCmdArgString(Arguments, sizeof(Arguments));
decl String:arg[65];
len = BreakString(Arguments, arg, sizeof(arg));
new target = FindTarget(client, arg, true);
if (target == -1)
{
return Plugin_Handled;
}
decl String_time[12];
if ((next_len = BreakString(Arguments[len], s_time, sizeof(s_time))) != -1)
{
len += next_len;
}
else
{
len = 0;
Arguments[0] = '\0';
}
new time = StringToInt(s_time);
g_BanTargetUserId[client] = GetClientUserId(target);
PrepareBan(client, target, time, Arguments[len]);
return Plugin_Handled;
}
* vim: set ts=4 :
* =============================================================================
* SourceMod Basecommands
* Functionality related to banning.
*
* SourceMod ©2004-2008 AlliedModders LLC. All rights reserved.
* =============================================================================
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3.0, as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*
* As a special exception, AlliedModders LLC gives you permission to link the
* code of this program (as well as its derivative works) to "Half-Life 2," the
* "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
* by the Valve Corporation. You must obey the GNU General Public License in
* all respects for all other code used. Additionally, AlliedModders LLC grants
* this exception to all derivative works. AlliedModders LLC defines further
* exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
* or <http://www.sourcemod.net/license.php>.
*
* Version: $Id$
*/
PrepareBan(client, target, time, const String:reason[])
{
new originalTarget = GetClientOfUserId(g_BanTargetUserId[client]);
if (originalTarget != target)
{
if (client == 0)
{
PrintToServer("[SM] %t", "Player no longer available");
}
else
{
PrintToChat(client, "[SM] %t", "Player no longer available");
}
return;
}
decl String:authid[64], String:name[32];
GetClientAuthString(target, authid, sizeof(authid));
GetClientName(target, name, sizeof(name));
if (!time)
{
if (reason[0] == '\0')
{
ShowActivity(client, "%t", "Permabanned player", name);
} else {
ShowActivity(client, "%t", "Permabanned player reason", name, reason);
}
} else {
if (reason[0] == '\0')
{
ShowActivity(client, "%t", "Banned player", name, time);
} else {
ShowActivity(client, "%t", "Banned player reason", name, time, reason);
}
}
LogAction(client, target, "\"%L\" banned \"%L\" (minutes \"%d\") (reason \"%s\")", client, target, time, reason);
if (reason[0] == '\0')
{
BanClient(target, time, BANFLAG_IP , "Banned", "Banned", "sm_banip", client);
}
else
{
BanClient(target, time, BANFLAG_IP , reason, reason, "sm_banip", client);
}
}
DisplayBanTargetMenu(client)
{
new Handle:menu = CreateMenu(MenuHandler_BanPlayerList);
decl String:title[100];
Format(title, sizeof(title), "%T:", "Ban player", client);
SetMenuTitle(menu, title);
SetMenuExitBackButton(menu, true);
AddTargetsToMenu2(menu, client, COMMAND_FILTER_NO_BOTS|COMMAND_FILTER_CONNECTED);
DisplayMenu(menu, client, MENU_TIME_FOREVER);
}
DisplayBanTimeMenu(client)
{
new Handle:menu = CreateMenu(MenuHandler_BanTimeList);
decl String:title[100];
Format(title, sizeof(title), "%T: %N", "Ban player", client, g_BanTarget[client]);
SetMenuTitle(menu, title);
SetMenuExitBackButton(menu, true);
AddMenuItem(menu, "0", "Permanent");
AddMenuItem(menu, "10", "10 Minutes");
AddMenuItem(menu, "30", "30 Minutes");
AddMenuItem(menu, "60", "1 Hour");
AddMenuItem(menu, "240", "4 Hours");
AddMenuItem(menu, "1440", "1 Day");
AddMenuItem(menu, "10080", "1 Week");
DisplayMenu(menu, client, MENU_TIME_FOREVER);
}
DisplayBanReasonMenu(client)
{
new Handle:menu = CreateMenu(MenuHandler_BanReasonList);
decl String:title[100];
Format(title, sizeof(title), "%T: %N", "Ban reason", client, g_BanTarget[client]);
SetMenuTitle(menu, title);
SetMenuExitBackButton(menu, true);
/* :TODO: we should either remove this or make it configurable */
AddMenuItem(menu, "Abusive", "Abusive");
AddMenuItem(menu, "Racism", "Racism");
AddMenuItem(menu, "General cheating/exploits", "General cheating/exploits");
AddMenuItem(menu, "Wallhack", "Wallhack");
AddMenuItem(menu, "Aimbot", "Aimbot");
AddMenuItem(menu, "Speedhacking", "Speedhacking");
AddMenuItem(menu, "Mic spamming", "Mic spamming");
AddMenuItem(menu, "Admin disrepect", "Admin disrepect");
AddMenuItem(menu, "Camping", "Camping");
AddMenuItem(menu, "Team killing", "Team killing");
AddMenuItem(menu, "Unacceptable Spray", "Unacceptable Spray");
AddMenuItem(menu, "Breaking Server Rules", "Breaking Server Rules");
AddMenuItem(menu, "Other", "Other");
DisplayMenu(menu, client, MENU_TIME_FOREVER);
}
public AdminMenu_Ban(Handle:topmenu,
TopMenuAction:action,
TopMenuObject:object_id,
param,
String:buffer[],
maxlength)
{
if (action == TopMenuAction_DisplayOption)
{
Format(buffer, maxlength, "%T", "Ban player", param);
}
else if (action == TopMenuAction_SelectOption)
{
DisplayBanTargetMenu(param);
}
}
public MenuHandler_BanReasonList(Handle:menu, MenuAction:action, param1, param2)
{
if (action == MenuAction_End)
{
CloseHandle(menu);
}
else if (action == MenuAction_Cancel)
{
if (param2 == MenuCancel_ExitBack && hTopMenu != INVALID_HANDLE)
{
DisplayTopMenu(hTopMenu, param1, TopMenuPosition_LastCategory);
}
}
else if (action == MenuAction_Select)
{
decl String:info[64];
GetMenuItem(menu, param2, info, sizeof(info));
PrepareBan(param1, g_BanTarget[param1], g_BanTime[param1], info);
}
}
public MenuHandler_BanPlayerList(Handle:menu, MenuAction:action, param1, param2)
{
if (action == MenuAction_End)
{
CloseHandle(menu);
}
else if (action == MenuAction_Cancel)
{
if (param2 == MenuCancel_ExitBack && hTopMenu != INVALID_HANDLE)
{
DisplayTopMenu(hTopMenu, param1, TopMenuPosition_LastCategory);
}
}
else if (action == MenuAction_Select)
{
decl String:info[32], String:name[32];
new userid, target;
GetMenuItem(menu, param2, info, sizeof(info), _, name, sizeof(name));
userid = StringToInt(info);
if ((target = GetClientOfUserId(userid)) == 0)
{
PrintToChat(param1, "[SM] %t", "Player no longer available");
}
else if (!CanUserTarget(param1, target))
{
PrintToChat(param1, "[SM] %t", "Unable to target");
}
else
{
g_BanTarget[param1] = target;
g_BanTargetUserId[param1] = userid;
DisplayBanTimeMenu(param1);
}
}
}
public MenuHandler_BanTimeList(Handle:menu, MenuAction:action, param1, param2)
{
if (action == MenuAction_End)
{
CloseHandle(menu);
}
else if (action == MenuAction_Cancel)
{
if (param2 == MenuCancel_ExitBack && hTopMenu != INVALID_HANDLE)
{
DisplayTopMenu(hTopMenu, param1, TopMenuPosition_LastCategory);
}
}
else if (action == MenuAction_Select)
{
decl String:info[32];
GetMenuItem(menu, param2, info, sizeof(info));
g_BanTime[param1] = StringToInt(info);
DisplayBanReasonMenu(param1);
}
}
public Action:Command_Ban(client, args)
{
if (args < 2)
{
ReplyToCommand(client, "[SM] Usage: sm_ban <#userid|name> <minutes|0> [reason]");
return Plugin_Handled;
}
decl len, next_len;
decl String:Arguments[256];
GetCmdArgString(Arguments, sizeof(Arguments));
decl String:arg[65];
len = BreakString(Arguments, arg, sizeof(arg));
new target = FindTarget(client, arg, true);
if (target == -1)
{
return Plugin_Handled;
}
decl String_time[12];
if ((next_len = BreakString(Arguments[len], s_time, sizeof(s_time))) != -1)
{
len += next_len;
}
else
{
len = 0;
Arguments[0] = '\0';
}
new time = StringToInt(s_time);
g_BanTargetUserId[client] = GetClientUserId(target);
PrepareBan(client, target, time, Arguments[len]);
return Plugin_Handled;
}
server.cfg
//********************
// ****Server Name****
//********************
hostname "InTeam"
//**********************
// ****Rcon Password****
//**********************
rcon_password ""
//************************
// ****Server passwors****
//************************
sv_password ""
//********************
// ****Settings mp****
//********************
mp_allowNPCs "1"
mp_allowspectators "1"
mp_autocrosshair "0"
mp_autokick "0"
mp_autoteambalance "1"
mp_buytime "0.50"
mp_c4timer "35"
mp_chattime "10"
mp_decals "200"
mp_fadetoblack "0"
mp_falldamage "0"
mp_flashlight "1"
mp_forcecamera "0"
mp_forcerespawn "1"
mp_fraglimit "0"
mp_freezetime "3"
mp_footsteps "1"
mp_friendlyfire "0"
mp_hostagepenalty "100"
mp_limitteams "10"
mp_logdetail "3"
mp_maxrounds "0"
mp_playerid "1"
mp_spawnprotectiontime "0"
mp_roundtime "5"
mp_startmoney "16000"
mp_teamplay "0"
mp_timelimit "20"
mp_tkpunish "0"
mp_weaponstay "0"
mp_winlimit "0"
sm_skinchooser_normal 0 // 1 - использовать файл skinchooserdownloads.ini, 0 - не использовать
sm_skinchooser_enabled 0 // 1 - плагин включен, 0 - выключен
sm_skinchooser_autodisplay 0 // 1 - для всплывающего меню при входе в команду,
sm_skinchooser_SkinBots 0 //(1 = включено (по умолчанию), 0 = отключено),
sm_skinchooser_admingroup 0 // 1 - использовать админские группы
//General CS:Source BOT Config v5
echo "Loading CS:Source Bot Configuration Settings..."
//Control how bots talk. Allowed values: 'off', 'radio', 'minimal', or 'normal'.
bot_chatter off
//Set to 0 to let bots complete map objectives. 0/1
bot_defer_to_human 0
//0 is Easy, 1 is Normal, 2 is Hard, & 3 is Expert.
bot_difficulty 2
//Bots wait for a human to join before joining. 0/1
bot_join_after_player 0
//Add bot(s) to a specific team. any/CT/T or Adds a bot to whichever team has fewer players.
//bot_join_team:
//bot_add
//bot_add_ct
//bot_add_t
//Defines a Prefix for all bot's names.
bot_prefix "[InTeam] "
//Reports on the bots' memory usage
//bot_memory_usage
//Restricts the bots to particular weapons
//bot_knives_only
//bot_pistols_only
//bot_snipers_only
bot_all_weapons
//Weapon Control. 0/1
bot_allow_grenades 1
bot_allow_machine_guns 1
bot_allow_pistols 1
bot_allow_rifles 1
bot_allow_shotguns 1
bot_allow_snipers 0
bot_allow_sub_machine_guns 1
//Bots with high co-op may automatically follow a nearby human player. 0/1
bot_auto_follow 0
//Bots will not buy if their money falls below this amount. Default = 2000
bot_eco_limit "800"
//Bots may occasionally go 'rogue'.
//Rogue bots do not obey radio commands, nor pursue scenario goals. 0/1
bot_allow_rogues 1
//Determines the type of quota. Allowed values: 'normal' and 'fill'.
//If 'fill', the server will adjust bots to keep N players in the game, where N is bot_quota.
bot_quota_mode "normal"
//Bots will automatically leave to make room for human players. 0/1
bot_auto_vacate 1
//Set to min # of bots allowed on server
bot_quota 0
//********************
// ****Settings sv****
//********************
sv_accelerate "5"
sv_downloadurl ""
sv_airaccelerate "10"
sv_allowdownload "1"
sv_allowupload "1"
sv_alltalk "1"
sv_cheats "0"
sv_consistency "1"
sv_enableoldqueries "1"
sv_footsteps "1"
sv_friction "4"
sv_gravity "800"
sv_lan "0"
sv_maxspeed "320"
sv_maxunlag "0.5"
sv_pure "0"
sv_pausable "0"
sv_region "24"
sv_specaccelerate "5"
sv_specnoclip "1"
sv_specspeed "3"
sv_stats "1"
sv_stepsize "18"
sv_stopspeed "75"
sv_timeout "60"
sv_unlag "1"
sv_voiceenable "1"
sv_filterban 0
//***********************
// ****Physics Object****
//***********************
sv_turbophysics "1"
//****************************
// ****Visible Max Players****
//****************************
sv_visiblemaxplayers "50"
//*****************
// ****Ban Rcon****
//*****************
sv_rcon_banpenalty "90"
sv_rcon_maxfailures "3"
sv_rcon_minfailures "3"
sv_rcon_minfailuretime "30"
//****************************
// ****SourceTV****
//****************************
tv_enable "0"
tv_name "iTtv"
tv_maxclients "6"
//****************************
// ****Update Client Rates****
//****************************
sv_minrate 8000
sv_maxrate 15000
sv_minupdaterate 33
sv_maxupdaterate 66
sv_mincmdrate 33
sv_maxcmdrate 66
sv_client_cmdrate_difference 5
sv_client_predict 1
sv_client_interpolate 1
sv_client_min_interp_ratio 0
sv_client_max_interp_ratio 1
// End Setting's
// Client cvar's
cl_cmdrate "66"
cl_updaterate "66"
rate "10000"
// Other
breakable_multiplayer "1"
decalfrequency "10"
host_framerate "0"
//***********************
// ****Server Logging****
//***********************
log "on"
sv_logbans "1"
sv_logecho "0"
sv_logfile "1"
sv_log_onefile "3"
//**********************
// ****Start Execute****
//**********************
exec banned_user.cfg
exec banned_ip.cfg
exec cssdm.cfg
exec UserRestrict.cfg
//*************************
// ****Save Ban ID IP****
//*************************
//***********************
//"http://only-head-klan.at.ua/cstrike"
//****************
// ****THE END****
//****************
//exec mani_quake_sounds.cfg
//exec mani_server.cfg
// ****Server Name****
//********************
hostname "InTeam"
//**********************
// ****Rcon Password****
//**********************
rcon_password ""
//************************
// ****Server passwors****
//************************
sv_password ""
//********************
// ****Settings mp****
//********************
mp_allowNPCs "1"
mp_allowspectators "1"
mp_autocrosshair "0"
mp_autokick "0"
mp_autoteambalance "1"
mp_buytime "0.50"
mp_c4timer "35"
mp_chattime "10"
mp_decals "200"
mp_fadetoblack "0"
mp_falldamage "0"
mp_flashlight "1"
mp_forcecamera "0"
mp_forcerespawn "1"
mp_fraglimit "0"
mp_freezetime "3"
mp_footsteps "1"
mp_friendlyfire "0"
mp_hostagepenalty "100"
mp_limitteams "10"
mp_logdetail "3"
mp_maxrounds "0"
mp_playerid "1"
mp_spawnprotectiontime "0"
mp_roundtime "5"
mp_startmoney "16000"
mp_teamplay "0"
mp_timelimit "20"
mp_tkpunish "0"
mp_weaponstay "0"
mp_winlimit "0"
sm_skinchooser_normal 0 // 1 - использовать файл skinchooserdownloads.ini, 0 - не использовать
sm_skinchooser_enabled 0 // 1 - плагин включен, 0 - выключен
sm_skinchooser_autodisplay 0 // 1 - для всплывающего меню при входе в команду,
sm_skinchooser_SkinBots 0 //(1 = включено (по умолчанию), 0 = отключено),
sm_skinchooser_admingroup 0 // 1 - использовать админские группы
//General CS:Source BOT Config v5
echo "Loading CS:Source Bot Configuration Settings..."
//Control how bots talk. Allowed values: 'off', 'radio', 'minimal', or 'normal'.
bot_chatter off
//Set to 0 to let bots complete map objectives. 0/1
bot_defer_to_human 0
//0 is Easy, 1 is Normal, 2 is Hard, & 3 is Expert.
bot_difficulty 2
//Bots wait for a human to join before joining. 0/1
bot_join_after_player 0
//Add bot(s) to a specific team. any/CT/T or Adds a bot to whichever team has fewer players.
//bot_join_team:
//bot_add
//bot_add_ct
//bot_add_t
//Defines a Prefix for all bot's names.
bot_prefix "[InTeam] "
//Reports on the bots' memory usage
//bot_memory_usage
//Restricts the bots to particular weapons
//bot_knives_only
//bot_pistols_only
//bot_snipers_only
bot_all_weapons
//Weapon Control. 0/1
bot_allow_grenades 1
bot_allow_machine_guns 1
bot_allow_pistols 1
bot_allow_rifles 1
bot_allow_shotguns 1
bot_allow_snipers 0
bot_allow_sub_machine_guns 1
//Bots with high co-op may automatically follow a nearby human player. 0/1
bot_auto_follow 0
//Bots will not buy if their money falls below this amount. Default = 2000
bot_eco_limit "800"
//Bots may occasionally go 'rogue'.
//Rogue bots do not obey radio commands, nor pursue scenario goals. 0/1
bot_allow_rogues 1
//Determines the type of quota. Allowed values: 'normal' and 'fill'.
//If 'fill', the server will adjust bots to keep N players in the game, where N is bot_quota.
bot_quota_mode "normal"
//Bots will automatically leave to make room for human players. 0/1
bot_auto_vacate 1
//Set to min # of bots allowed on server
bot_quota 0
//********************
// ****Settings sv****
//********************
sv_accelerate "5"
sv_downloadurl ""
sv_airaccelerate "10"
sv_allowdownload "1"
sv_allowupload "1"
sv_alltalk "1"
sv_cheats "0"
sv_consistency "1"
sv_enableoldqueries "1"
sv_footsteps "1"
sv_friction "4"
sv_gravity "800"
sv_lan "0"
sv_maxspeed "320"
sv_maxunlag "0.5"
sv_pure "0"
sv_pausable "0"
sv_region "24"
sv_specaccelerate "5"
sv_specnoclip "1"
sv_specspeed "3"
sv_stats "1"
sv_stepsize "18"
sv_stopspeed "75"
sv_timeout "60"
sv_unlag "1"
sv_voiceenable "1"
sv_filterban 0
//***********************
// ****Physics Object****
//***********************
sv_turbophysics "1"
//****************************
// ****Visible Max Players****
//****************************
sv_visiblemaxplayers "50"
//*****************
// ****Ban Rcon****
//*****************
sv_rcon_banpenalty "90"
sv_rcon_maxfailures "3"
sv_rcon_minfailures "3"
sv_rcon_minfailuretime "30"
//****************************
// ****SourceTV****
//****************************
tv_enable "0"
tv_name "iTtv"
tv_maxclients "6"
//****************************
// ****Update Client Rates****
//****************************
sv_minrate 8000
sv_maxrate 15000
sv_minupdaterate 33
sv_maxupdaterate 66
sv_mincmdrate 33
sv_maxcmdrate 66
sv_client_cmdrate_difference 5
sv_client_predict 1
sv_client_interpolate 1
sv_client_min_interp_ratio 0
sv_client_max_interp_ratio 1
// End Setting's
// Client cvar's
cl_cmdrate "66"
cl_updaterate "66"
rate "10000"
// Other
breakable_multiplayer "1"
decalfrequency "10"
host_framerate "0"
//***********************
// ****Server Logging****
//***********************
log "on"
sv_logbans "1"
sv_logecho "0"
sv_logfile "1"
sv_log_onefile "3"
//**********************
// ****Start Execute****
//**********************
exec banned_user.cfg
exec banned_ip.cfg
exec cssdm.cfg
exec UserRestrict.cfg
//*************************
// ****Save Ban ID IP****
//*************************
//***********************
//"http://only-head-klan.at.ua/cstrike"
//****************
// ****THE END****
//****************
//exec mani_quake_sounds.cfg
//exec mani_server.cfg