Hello,
It has been awhile i was doing with this.
In the moment i can not access my server via rcon for some reason every time it gives me "Failed password"
Server is for 30 members with 128 tickrate. I am pasting the current confs. I will happy if you tell me if there is something can be done in order optimizing the performance of the server.
Also i will be happy if you tell what sourcemod should i use ?
Server details:
root@cs(~)# cat /proc/cpuinfo |grep model
model : 44
model name : Intel(R) Xeon(R) CPU X5650 @ 2.67GHz
model : 44
model name : Intel(R) Xeon(R) CPU X5650 @ 2.67GHz
model : 44
model name : Intel(R) Xeon(R) CPU X5650 @ 2.67GHz
model : 44
model name : Intel(R) Xeon(R) CPU X5650 @ 2.67GHz
model : 44
model name : Intel(R) Xeon(R) CPU X5650 @ 2.67GHz
model : 44
model name : Intel(R) Xeon(R) CPU X5650 @ 2.67GHz
root@cs(~)#
Memory: 6 GB
Swap: 2GB
Server.cfg
Code:
// CS:GO 5v5 Config (02.10.2014)
// Public information
hostname "[BG] CS.GOPLAY.BG Competitive |128T|" //Hostname for the server, will show up in server browsers.
// Passwords
rcon_password "damdam" //Remote console password.
//sv_password "" //Only set this if you intend to have a private server!
// Region
sv_region 3 // This console variable is queried by the server browser to determine what part of the world the server is in. 3 - Europe
sv_tags "bg,bulgaria,128,128tick,24/7,competitive,csgo,low latency,always admins,secure"
//Required Settings
ammo_grenade_limit_default 1
ammo_grenade_limit_flashbang 2
ammo_grenade_limit_total 4
bot_quota 0 // Determines the total number of bots in the game
cash_team_terrorist_win_bomb 3500
cash_team_elimination_bomb_map 3250
cash_team_win_by_time_running_out 3250
cash_team_win_by_defusing_bomb 3500
cash_team_loser_bonus 1400
cash_team_loser_bonus_consecutive_rounds 500
cash_team_planted_bomb_but_defused 800
cash_player_killed_teammate -3300
cash_player_killed_enemy_default 300
cash_player_killed_enemy_factor 1
cash_player_bomb_planted 300
cash_player_bomb_defused 300
ff_damage_reduction_grenade 0.85 // How much to reduce damage done to teammates by a thrown grenade. Range is from 0 - 1 (with 1 being damage equal to what is done to an enemy)
ff_damage_reduction_bullets 0.33 // How much to reduce damage done to teammates when shot. Range is from 0 - 1 (with 1 being damage equal to what is done to an enemy)
ff_damage_reduction_other 0.4 // How much to reduce damage done to teammates by things other than bullets and grenades. Range is from 0 - 1 (with 1 being damage equal to what is done to an enemy)
ff_damage_reduction_grenade_self 1 // How much to damage a player does to himself with his own grenade. Range is from 0 - 1 (with 1 being damage equal to what is done to an enemy)
mp_afterroundmoney 0 // amount of money awared to every player after each round
mp_weapons_allow_zeus 0 // Determines whether the Zeus is purchasable or not.
mp_autokick 0 // Kick idle/team-killing players
mp_autoteambalance 1 // Detemines team balance
mp_backup_round_file backup // If set then server will save all played rounds information to files
mp_backup_round_file_last // Every time a backup file is written the value of this convar gets updated to hold the name of the backup file.
mp_backup_round_file_pattern %prefix%_%date%_%time%_%map%_%round%.txt
mp_buy_allow_grenades 1 // Whether players can purchase grenades from the buy menu or not.
mp_buy_anywhere 0 // Only spawn buyzones are enabled
mp_buytime 15 // How many seconds after round start players can buy items for.
mp_c4timer 35 // How long from when the C4 is armed until it blows
mp_death_drop_defuser 1 // Drop defuser on player death
mp_death_drop_grenade 2 // Which grenade to drop on player death: 0=none, 1=best, 2=current or best
mp_death_drop_gun 1 // Which gun to drop on player death: 0=none, 1=best, 2=current or best
mp_defuser_allocation 0 // How to allocate defusers to CTs at start or round: 0=none, 1=random, 2=everyone
mp_do_warmup_period 1 // Whether or not to do a warmup period at the start of a match.
mp_endmatch_votenextmap 0 // Disables endgame map voting
mp_forcecamera 0 // Restricts spectator modes for dead players
mp_force_pick_time 300 // The amount of time a player has on the team screen to make a selection before being auto-teamed
mp_free_armor 0 // Determines whether armor and helmet are given automatically.
mp_freezetime 3 // How many seconds to keep players frozen when the round starts
mp_friendlyfire 0 // Allows team members to injure other members of their team
mp_halftime 1 // Determines whether or not the match has a team-swapping halftime event.
mp_halftime_duration 10 // Number of seconds that halftime lasts
mp_join_grace_time 5 // Number of seconds after round start to allow a player to join a game
mp_limitteams 0 // Max # of players 1 team can have over another (0 disables check)
mp_logdetail 3 // Logs attacks. Values are: 0=off, 1=enemy, 2=teammate, 3=both)
mp_match_can_clinch 1 // Can a team clinch and end the match by being so far ahead that the other team has no way to catching up
mp_match_end_restart 0 // At the end of the match, perform a restart instead of loading a new map
mp_match_restart_delay 5 // Time (in seconds) until a match restarts.
mp_maxmoney 16000 // maximum amount of money allowed in a player's account
mp_maxrounds 30 // max number of rounds to play before server changes maps
mp_molotovusedelay 0 // Number of seconds to delay before the molotov can be used after acquiring it
mp_overtime_enable 1 // Use overtime rules to determine winner
mp_overtime_maxrounds 6 // Overtime setting, 3 rounds per half
mp_overtime_startmoney 10000 // Overtime setting, startmoney
mp_playercashawards 1 // Players can earn money by performing in-game actions
mp_playerid 0 // Controls what information player see in the status bar: 0 all names; 1 team names; 2 no names
mp_playerid_delay 0.5 // Number of seconds to delay showing information in the status bar
mp_playerid_hold 0.25 // Number of seconds to keep showing old information in the status bar
mp_round_restart_delay 6 // Number of seconds to delay before restarting a round after a win
mp_roundtime 1.75 // How many minutes each round takes.
mp_roundtime_defuse 1.75 // Ensures roundtime is set at 2 minutes, regardless of gamemode.
mp_solid_teammates 1 // Determines whether teammates are solid or not.
mp_startmoney 800 // amount of money each player gets when they reset
mp_teamcashawards 1 // Teams can earn money by performing in-game actions
mp_timelimit 0 // game time per map in minutes
mp_tkpunish 0 // Will a TK'er be punished in the next round? {0=no, 1=yes}
mp_warmup_end // End warmup immediately.
mp_warmuptime 0 // warup timer
mp_weapons_allow_map_placed 1 // If this convar is set, when a match starts, the game will not delete weapons placed in the map.
mp_weapons_allow_zeus 0 // Determines whether the Zeus is purchasable or not.
mp_win_panel_display_time 10 // The amount of time to show the win panel between matches / halfs
spec_freeze_time 5.0
spec_freeze_panel_extended_time 0
sv_accelerate 5.5 // ( def. "10" ) client notify replicated
sv_allow_votes 1 // Allow voting?
sv_allow_wait_command 0 // Allow or disallow the wait command on clients connected to this server.
sv_alltalk 1 // Players can hear all other players' voice communication, no team restrictions
sv_alternateticks 0 // If set, server only simulates entities on even numbered ticks.
sv_cheats 0 // Allow cheats on server
sv_clockcorrection_msecs 15 // The server tries to keep each player's m_nTickBase withing this many msecs of the server absolute tickcount
sv_consistency 0 // Whether the server enforces file consistency for critical files
sv_contact 0 // Contact email for server sysop
sv_damage_print_enable 0 // Disables damage reports in console
sv_dc_friends_reqd 0 // Set this to 0 to allow direct connects to a game in progress even if no presents
sv_deadtalk 1 // Dead players can speak (voice, text) to the living, suggest value 1 for LANs
sv_forcepreload 0 // Force server side preloading.
sv_friction 5.2 // World friction.
sv_full_alltalk 0 // Any player (including Spectator team) can speak to any other player
sv_gameinstructor_disable 1 // Force all clients to disable their game instructors.
sv_hibernate_postgame_delay 5 // Ensures server does not go into hibernation mode when empty for 180 seconds
sv_hibernate_punt_tv_clients 0 // When enabled will punt all GOTV clients during hibernation
sv_hibernate_when_empty 1 // Puts the server into extremely low CPU usage mode when no clients connected
sv_ignoregrenaderadio 0 // Turn off Fire in the hole messages
sv_kick_players_with_cooldown 0 // (0: do not kick; 1: kick Untrusted players; 2: kick players with any cooldown)
sv_kick_ban_duration 0 // How long should a kick ban from the server should last (in minutes)
sv_infinite_ammo 0 // Disables infinite ammo settings from pregame configs
sv_lan 0 // Server is a lan server ( no heartbeat, no authentication, no non-class C addresses )
sv_log_onefile 0 // Log server information to only one file.
sv_logbans 1 // Log server bans in the server logs.
sv_logecho 1 // Echo log information to the console.
sv_logfile 1 // Log server information in the log file.
sv_logflush 0 // Flush the log file to disk on each write (slow).
sv_logsdir logfiles // Folder in the game directory where server logs will be stored.
sv_max_allowed_net_graph // Determines max allowed net_graph value for clients.
// Rates
fps_max "0" // Sets the servers max fps
sv_maxcmdrate 0 // If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate.
sv_minrate 64000 // Min bandwidth rate allowed on server, 0 == unlimited
sv_maxrate 128000 // min. 0.000000 max. 30000.000000 replicated Max bandwidth rate allowed on server, 0 == unlimited
sv_max_queries_sec 5 // needed for HLSW and other game trackers
// Others
sv_competitive_minspec 1 // Enable to force certain client convars to minimum/maximum values to help prevent competitive advantages.
sv_competitive_official_5v5 0 // Enable to force the server to show 5v5 scoreboards and allows spectators to see characters through walls.
sv_pausable 0 // Is the server pausable.
sv_pure_kick_clients 1 // If set to 1, the server will kick clients with mismatching files. Otherwise, it will issue a warning to the client.
sv_pure_trace 0 // If set to 1, the server will print a message whenever a client is verifying a CR
sv_reservation_timeout 20 // Time in seconds before lobby reservation expires.
sv_spawn_afk_bomb_drop_time 30 // Players that spawn and don't move for longer than sv_spawn_afk_bomb_drop_time (default 15 seconds) will automatically drop the bomb.
sv_steamgroup_exclusive 0 // If set, only members of Steam group will be able to join the server when it's empty, public people will be able to join the server only if it has players.
sv_stopspeed 80
sv_voiceenable 1
//GOTV (remove // from cvars to enable)
//tv_allow_camera_man 0 // Auto director allows spectators to become camera man
//tv_allow_static_shots 1 // Auto director uses fixed level cameras for shots
//tv_autorecord 0 // Automatically records all games as GOTV demos if set to 1
//tv_chatgroupsize 0 // Set the default chat group size
//tv_chattimelimit 15 // Limits spectators to chat only every n seconds
//tv_debug 0 // GOTV debug info.
//tv_delay 120 // GOTV delay, 120 seconds or more required for.
//tv_delaymapchange 1 // Delays map change until broadcast is complete
//tv_deltacache 2 // Enable delta entity bit stream cache
//tv_dispatchmode 1 // Dispatch clients to relay proxies: 0=never, 1=if appropriate, 2=always
//tv_enable 1 // Activates GOTV on server.
//tv_maxclients 10 // Maximum client number on GOTV server.
//tv_maxrate 20000 // Max GOTV spectator bandwidth rate allowed, 0 == unlimited
//tv_name "GOTV" // GOTV host name, can be altered for personal servers
//tv_nochat 1 // Don't receive chat messages from other GOTV spectators
//tv_overridemaster 0 // Overrides the GOTV master root address.
//tv_password // GOTV password for relay proxies
//tv_relayvoice 0 // Relay voice data: 0=off, 1=on
//tv_snapshotrate 30 // Snapshots broadcasted per second
//tv_timeout 120 // GOTV connection timeout in seconds.
//tv_title "GOTV" // Set title for GOTV spectator UI, can be altered for personal servers
//tv_transmitall 1 // Required for GOTVs
//DDoS Protection (required)
host_name_store 1 //Can be set to either 0/1 for official matches
host_info_show 1 //Can be set to either 0/1 for official matches
host_players_show 1 //Can be set to either 0/1 for official matches
//**The following commands manage kicks and bans
writeid
writeip
exec autoexec.cfg
exec banned_user.cfg
exec banned_ip.cfg
say "Official CS:GO Server Config executed"
say "Good luck, have fun, and remember to record your personal demos"
gamemode_competitive_server.cfg and Gamemodes_Server.txt are the same!
Code:
// Passwords
//rcon_password "damdam" //Remote console password.
//sv_password "" //Only set this if you intend to have a private server!
bot_quota_mode fill //or try normal
bot_quota 0
bot_defer_to_human_items 1
bot_defer_to_human_goals 1
bot_difficulty 3
bot_chatter off
bot_autodifficulty_threshold_low -2.0 // Value between -20.0 and 20.0 (Amount below avg human contribution score, below which a bot should raise its difficulty)
bot_autodifficulty_threshold_high 0.0 // Value between -20.0 and 20.0 (Amount above avg human contribution score, above which a bot should lower its difficulty)mp_friendlyfire 1
mp_autoteambalance 1
ammo_grenade_limit_default 1
ammo_grenade_limit_flashbang 2
ammo_grenade_limit_total 4
mp_warmuptime 60
mp_do_warmup_period 1
mp_restartgame 1
mp_afterroundmoney 0
mp_playercashawards 1
mp_teamcashawards 1
mp_maxrounds 20
mp_halftime 1
mp_timelimit 30
mp_roundtime 2
mp_freezetime 3
mp_buytime 45
mp_forcecamera 1 // Set to 1 for team only spectating.
mp_defuser_allocation 0
mp_death_drop_gun 1 // 0=none, 1=best, 2=current or best
mp_death_drop_grenade 2 // 0=none, 1=best, 2=current or best
mp_death_drop_defuser 1
mp_molotovusedelay 0
mp_force_pick_time 15
mp_match_can_clinch 1 // 0=No mercy rule, 1=team can clinch match win early if they win > 1/2 total rounds
mp_startmoney 800
mp_maxmoney 16000
sv_full_alltalk 1
sv_alltalk 1
sv_deadtalk 1
sv_allow_votes 1 // Voting allowed in this mode
sv_arms_race_vote_to_restart_disallowed_after 0
sv_ignoregrenaderadio 0spec_freeze_time 5.0
spec_freeze_panel_extended_time 0ff_damage_reduction_grenade 0.85
ff_damage_reduction_bullets 0.33
ff_damage_reduction_other 0.4
ff_damage_reduction_grenade_self 1// cash award convars
cash_team_terrorist_win_bomb 3500
cash_team_elimination_hostage_map 3000
cash_team_elimination_bomb_map 3250
cash_team_win_by_time_running_out 3250
cash_team_win_by_defusing_bomb 3500
cash_team_win_by_hostage_rescue 3500
cash_team_loser_bonus 1400
cash_team_loser_bonus_consecutive_rounds 500
cash_team_rescued_hostage 750
cash_team_hostage_alive 150
cash_team_planted_bomb_but_defused 800
cash_team_hostage_interaction 150
cash_player_killed_teammate -3300
cash_player_killed_enemy_default 300
cash_player_killed_enemy_factor 1
cash_player_bomb_planted 300
cash_player_bomb_defused 300
cash_player_rescued_hostage 1000
cash_player_interact_with_hostage 150
cash_player_damage_hostage -30
cash_player_killed_hostage -1000// gungame tr defaults (not used in this mode)
mp_ggtr_bomb_respawn_delay 0
mp_ggtr_bomb_detonation_bonus 1
mp_ggtr_bomb_defuse_bonus 1
mp_ggtr_bomb_pts_for_upgrade 2
mp_ggtr_bomb_pts_for_he 3
mp_ggtr_bomb_pts_for_flash 4
mp_ggtr_halftime_delay 0.0
mp_ggtr_end_round_kill_bonus 1
mp_ggtr_last_weapon_kill_ends_half 0// gungame progressive defaults (not used in this mode)
mp_gungameimmunitytime 4
mp_ggprogressive_round_restart_delay 15mp_weapons_allow_zeus 0
mp_solid_teammates 1
mp_free_armor 0
spec_show_xray 1
gamemodes_server.txt
Code:
"Gamemodes_Server.txt"
{
"gameTypes"
{
"classic"
{
"gameModes"
{
"casual"
{
"mapgroupsMP"
{
"goplay" ""
}
}
"competitive"
{
"maxplayers" "30"
"mapgroupsMP"
{
"goplay" ""
}
}
}
}
"gungame"
{
"gameModes"
{
"armsrace"
{
"mapgroupsMP"
{
"goplay" ""
}
}
"demolition"
{
"mapgroupsMP"
{
"goplay" ""
}
}
}
}
}
"mapgroups"
{
"goplay"
{
"name" "goplay"
"maps"
{
"de_dust2" "0"
"de_inferno" "1"
"de_mirage" "2"
"de_nuke" "3"
"de_overpass" "4"
}
}
}
}
Starting bash script
Code:
#!/bin/bash
cd /home/cs/csgo/csgo
screen -A -m -d -S "[BG] CS.GOPLAY.BG Competitive |128T|" ./srcds_run -game csgo -console -usercon +net_public_adr 212.233.250.56 -port 27015 +game_type 0 +game_mode 1 +mapgroup mg_bomb +map de_dust2 -tickrate 128 +sv_setsteamaccount CFCFA4xxxxxxxxxxxxx -autoupdate
__________________