Advertisement
ADAMPOKE111

server.cfg example

Jan 19th, 2016
45,417
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.46 KB | None | 0 0
  1. // Public information
  2.  
  3. hostname "YouTube Server!" //Hostname for the server, will show up in server browsers.
  4. log on //This is set to turn on logging!
  5. sv_lan "0" //This should always be set, so you know it's not on
  6. sv_region "255" //The region of the world to report this server in.
  7. sv_tags "128,youtube,adam" //Server tags. Used to provide extra information to clients when they're browsing for servers
  8.  
  9. /////////////////////////////////////////////////////////////////////////////////
  10. // Passwords
  11.  
  12. rcon_password "adamm" //Remote console password.
  13. sv_password "" //Only set this if you intend to have a private server!
  14. rcon_address "1"
  15.  
  16. /////////////////////////////////////////////////////////////////////////////////
  17. // The Bot Convars
  18.  
  19. bot_difficulty 1 //Defines the skill of bots joining the game. Values are: 0=easy, 1=normal, 2=hard, 3=expert.
  20. bot_chatter "off" //Control how bots talk. Allowed values: 'off', 'radio', 'minimal', or 'normal
  21. bot_join_after_player 1 //If nonzero, bots wait until a player joins before entering the game.
  22. bot_quota 0 //Determines the total number of bots in the game.
  23. bot_quota_mode "fill" //Determines the type of quota. Allowed values: 'normal', 'fill', and 'match
  24.  
  25. /////////////////////////////////////////////////////////////////////////////////
  26. // Server Convars
  27.  
  28. sv_pausable "0" //Is the server pausable.
  29. sv_allow_lobby_connect_only "0" //If set, players may only join this server from matchmaking lobby, may not connect directly.
  30. sv_allow_votes "0" //Allow voting?
  31. sv_allow_wait_command "0" //Allow or disallow the wait command on clients connected to this server.
  32. sv_alltalk "0" //Players can hear all other players' voice communication, no team restrictions
  33. sv_alternateticks "0" //If set, server only simulates entities on even numbered ticks.
  34. sv_cheats "0" //Allow cheats on server
  35. sv_deadtalk "0" //Dead players can speak (voice, text) to the living
  36. sv_downloadurl "0" //Location from which clients can download missing files
  37. sv_forcepreload "1" //Force server side preloading
  38. sv_friction "4" //World friction."
  39. sv_full_alltalk "0" //Any player (including Spectator team) can speak to any other player
  40. sv_infinite_ammo "0" //Player's active weapon will never run out of ammo
  41.  
  42. /////////////////////////////////////////////////////////////////////////////////
  43. // Server Logging
  44.  
  45. sv_log_onefile "0" //Log server information to only one file.
  46. sv_logbans "0" //Log server bans in the server logs.
  47. sv_logecho "1" //Echo log information to the console.
  48. sv_logfile "1" //Log server information in the log file.
  49. sv_logflush "0" //Flush the log file to disk on each write (slow).
  50. sv_logsdir "0" //Folder in the game directory where server logs will be stored.
  51.  
  52. /////////////////////////////////////////////////////////////////////////////////
  53. // Server Rates
  54.  
  55. sv_maxcmdrate "128" //(If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate.
  56. sv_maxrate "128000" //Max bandwidth rate allowed on server, 0 == unlimited
  57. sv_mincmdrate "10" //This sets the minimum value for cl_cmdrate. 0 == unlimited.
  58. sv_minrate "5000" //Min bandwidth rate allowed on server, 0 == unlimited
  59.  
  60. /////////////////////////////////////////////////////////////////////////////////
  61. // Server Downloads
  62.  
  63. //sv_downloadurl "0" //Location from which clients can download missing files
  64.  
  65. /////////////////////////////////////////////////////////////////////////////////
  66. // Pure Options
  67.  
  68. //sv_pure_kick_clients "1" //If set to 1, the server will kick clients with mismatching files.
  69. //sv_pure_trace "0" //If set to 1, the server will print a message whenever a client is verifying a CRC for a file.
  70.  
  71. /////////////////////////////////////////////////////////////////////////////////
  72. // Round Convars
  73.  
  74. mp_match_end_restart "0" //Restart the map at the end of round limit
  75. mp_afterroundmoney "0" //Amount of money awared to every player after each round
  76. mp_playercashawards "1" //Players can earn money by performing in-game actions
  77. mp_teamcashawards "1" //Teams can earn money by performing in-game actions
  78. mp_maxrounds "30" //Maximum amount of rounds per map
  79. mp_timelimit "0" //How many minutes for the whole map
  80. mp_roundtime "2" //How many minutes each round takes.
  81. mp_freezetime"5" //how many seconds to keep players frozen when the round starts
  82. mp_buytime "45" //How many seconds after round start players can buy items for.
  83. mp_forcecamera "1" //Set to 1 for team only spectating.
  84. mp_defuser_allocation "2" //How to allocate defusers to CTs at start or round: 0=none, 1=random, 2=everyone
  85. mp_death_drop_defuser "1" //Drop defuser on player death
  86. mp_death_drop_grenade "2" //Which grenade to drop on player death: 0=none, 1=best, 2=current or best
  87. mp_death_drop_gun "1" //Which gun to drop on player death: 0=none, 1=best, 2=current or best
  88.  
  89. /////////////////////////////////////////////////////////////////////////////////
  90. // Friendly Fire
  91.  
  92. mp_friendlyfire "1" //Enable Friendly Fire 1 =Enable 0 =Disable
  93. //ff_damage_reduction_grenade "0" //How much to reduce damage done to teammates by a thrown grenade.
  94. //ff_damage_reduction_bullets "0" //How much to reduce damage done to teammates when shot.
  95. //ff_damage_reduction_other "0" //How much to reduce damage done to teammates by things other than bullets and grenades.
  96.  
  97. /////////////////////////////////////////////////////////////////////////////////
  98. // Game Convars
  99.  
  100. mp_autokick "1" //Kick idle/team-killing players
  101. mp_autoteambalance "1" //Auto balaces teams
  102. mp_buytime "45" //How many seconds after round start players can buy items for.
  103. mp_c4timer "45" //how long from when the C4 is armed until it blows
  104. mp_do_warmup_period "0" //Whether or not to do a warmup period at the start of a match.
  105. mp_force_pick_time "15" //The amount of time a player has on the team screen to make a selection before being auto-teamed
  106. mp_halftime_duration "15" //Number of seconds that halftime lasts
  107. mp_join_grace_time "15 //Number of seconds after round start to allow a player to join a game
  108. mp_limitteams "2" //Max # of players 1 team can have over another (0 disables check)
  109. mp_match_end_restart "1" //At the end of the match, perform a restart instead of loading a new map
  110. mp_maxrounds "30" //Max amount of rounds per map
  111. mp_playercashawards "1" //Players can earn money by performing in-game actions
  112. mp_playerid "0" //Controls what information player see in the status bar: 0 all names; 1 team names; 2 no names
  113. mp_playerid_delay "0" //Number of seconds to delay showing information in the status bar
  114. mp_playerid_hold "0" //Number of seconds to keep showing old information in the status bar
  115. mp_restartgame "0" //If non-zero, game will restart in the specified number of seconds
  116. mp_round_restart_delay "7" //Number of seconds to delay before restarting a round after a win
  117. mp_roundtime "3" //How many minutes each round takes.
  118. mp_tkpunish "0" //Will a TK'er be punished in the next round? {0=no, 1=yes}
  119. mp_warmuptime "8" //If true, there will be a warmup period/round at the start of each match to allow to connect.
  120. mp_win_panel_display_time "5" //The amount of time to show the win panel between matches / halfs
  121.  
  122. /////////////////////////////////////////////////////////////////////////////////
  123. // Cash Convars
  124.  
  125. mp_startmoney "400" //Amount of money each player gets when they reset.
  126. mp_maxmoney "12000" //Maximum amount of money allowed in a player's account.
  127. cash_team_terrorist_win_bomb "2200" //How much the team will win for the bomb.
  128. cash_team_elimination_hostage_map "2200" //How much a player earns when they eliminate all hostages.
  129. cash_team_elimination_bomb_map "2200" //How much the team will win when the bomb is eliminated.
  130. cash_team_win_by_time_running_out "2200" //How much the team will win when the time runs out.
  131. cash_team_win_by_defusing_bomb "2200" //How much the team will win when bomb has been defused.
  132. cash_team_win_by_hostage_rescue "2200" //How much the team will win when all hostages have been rescued.
  133. cash_team_loser_bonus "2000" //How much the team will win when when the team looses.
  134. cash_team_loser_bonus_consecutive_rounds "500" //How much the team will win when the team looses consecutive rounds.
  135. cash_team_rescued_hostage "100" //How much the team will win when team has recued a hostage.
  136. cash_team_hostage_alive "0" //How much the team will win when a hostage is still alive
  137. cash_team_planted_bomb_but_defused "200" //How much the team will win when when a team has planted a bomb and been defused
  138. cash_team_hostage_interaction "50" //How much the team will win when hostages are saved
  139. cash_player_killed_teammate "-3300" //How much the player will loose when a teamate has been team killed
  140. cash_player_killed_enemy_default "200" //How much the player will win when killing an enemy
  141. cash_player_killed_enemy_factor "0.5" //How much the player will win when killing an enemy
  142. cash_player_bomb_planted "200" //How much the player will win when the bomb has been planted.
  143. cash_player_bomb_defused "200" //How much the player will win when the bomb has been defused
  144. cash_player_rescued_hostage "200" //How much the player will win when rescuing hostages
  145. cash_player_interact_with_hostage "0" //How much the player will win when interacting with hostages
  146. cash_player_damage_hostage "-30" //How much the player will loose when demaging a hostage
  147. cash_player_killed_hostage "-1000" //How much the player will loose when a hostage has been killed
  148.  
  149. /////////////////////////////////////////////////////////////////////////////////
  150. // Voting Options
  151.  
  152. sv_vote_allow_spectators "0" //Allow spectators to vote?
  153. sv_vote_command_delay "2" //How long after a vote passes until the action happens
  154. sv_vote_creation_time "120" //How often someone can individually call a vote.
  155. sv_vote_failure_timer "300" //A vote that fails cannot be re-submitted for this long
  156. sv_vote_quorum_ratio "0" //The minimum ratio of players needed to vote on an issue to resolve it.
  157. sv_vote_timer_duration "15" //How long to allow voting on an issue
  158. mp_endmatch_votenextmap "1" // Map Vote at the end?
  159. mp_match_end_restart "0" // Restart map at the end?
  160.  
  161. /////////////////////////////////////////////////////////////////////////////////
  162. // TV Options
  163.  
  164. //tv_nochat "0" //Don't receive chat messages from other SourceTV spectators
  165. //tv_port "check" //Host SourceTV port
  166.  
  167. /////////////////////////////////////////////////////////////////////////////////
  168. // The following commands manage kicks and bans
  169.  
  170. writeid
  171. writeip
  172. exec banned_user.cfg
  173. exec banned_ip.cfg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement