You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
146 lines
4.2 KiB
146 lines
4.2 KiB
// *****************************************************************************
|
|
// Dystopia
|
|
// Config - server.cfg
|
|
// Date - 26/04/2026
|
|
// *****************************************************************************
|
|
|
|
// .................................. Basic ................................. //
|
|
|
|
// hostname - Hostname for server.
|
|
hostname "SERVERNAME"
|
|
|
|
// rcon_password - remote console password.
|
|
rcon_password "ADMINPASSWORD"
|
|
|
|
// sv_password - Server password for entry into multiplayer games.
|
|
sv_password ""
|
|
|
|
// sv_setsteamaccount - Set game server account token to use for logging in to a persistent game server account.
|
|
sv_setsteamaccount ""
|
|
|
|
// ................................. Security ................................ //
|
|
|
|
// sv_lan - Server is a lan server ( no heartbeat, no authentication, no non-class C addresses ).
|
|
sv_lan 0
|
|
|
|
// sv_pure - Show user data.
|
|
sv_pure 2
|
|
|
|
// sv_cheats - Allow cheats on server.
|
|
sv_cheats 0
|
|
|
|
// ............................. Server Logging ............................. //
|
|
|
|
// log - Enables logging to file, console, and udp < on | off >.
|
|
log on
|
|
|
|
// sv_logbans - Log server bans in the server logs.
|
|
sv_logbans 1
|
|
|
|
// sv_logecho - Echo log information to the console.
|
|
sv_logecho 1
|
|
|
|
// sv_logfile - Log server information in the log file.
|
|
sv_logfile 1
|
|
|
|
// sv_log_onefile - Log server information to only one file.
|
|
sv_log_onefile 0
|
|
|
|
// ............................. Communication .............................. //
|
|
|
|
// sv_alltalk - Players can hear all other players, no team restrictions.
|
|
sv_alltalk 0
|
|
|
|
// ................................ Gameplay ................................ //
|
|
|
|
// mp_rounds - number of rounds.
|
|
mp_rounds 2
|
|
|
|
// mp_stopwatch - stop watch mode.
|
|
mp_stopwatch 0
|
|
|
|
// mp_startdelay - map start delay (in seconds).
|
|
mp_startdelay 40
|
|
|
|
// mp_timelimit - game time per map in minutes.
|
|
mp_timelimit 20
|
|
|
|
// mp_friendlyfire - Allows team members to injure other members of their team.
|
|
mp_friendlyfire 1
|
|
|
|
// mp_autoteambalance - Enforce balanced teams.
|
|
mp_autoteambalance 1
|
|
|
|
// mp_chattime - amount of time players can chat after the game is over.
|
|
mp_chattime 45
|
|
|
|
// mp_scalespawntime - Decrease spawn time for stuck attackers.
|
|
mp_scalespawntime 0
|
|
|
|
// sv_gravity - World gravity.
|
|
sv_gravity 600
|
|
|
|
// mp_allowvoting - allow use of callvote.
|
|
mp_allowvoting 1
|
|
|
|
// mp_punishvotes - How many TK punish votes till player is kicked (0=disable).
|
|
mp_punishvotes 4
|
|
|
|
// mp_allowvoting_map - allow use of callvote map.
|
|
mp_allowvoting_map 1
|
|
|
|
// mp_allowvoting_balanceteams - allow use of callvote balanceteams.
|
|
mp_allowvoting_balanceteams 1
|
|
|
|
// mp_allowvoting_maprestart - allow use of callvote map_restart.
|
|
mp_allowvoting_maprestart 1
|
|
|
|
// mp_allowvoting_stopwatch - allow use of callvote mp_stopwatch.
|
|
mp_allowvoting_stopwatch 0
|
|
|
|
// mp_allowvoting_kick - allow use of callvote kick, kickid, ban, and banid.
|
|
mp_allowvoting_kick 1
|
|
|
|
// mp_votekick_bantime - how many minutes to ban players that are votebanned (0 disables ban).
|
|
mp_votekick_bantime 15
|
|
|
|
// mp_allowvoting_forcespec - allow use of callvote forcespec.
|
|
mp_allowvoting_forcespec 1
|
|
|
|
// sv_idlekick - Should idle players be kicked? 0 = no idlekicking, 1 = kick idle non-spectators, 2 = kick any idle players, even spectators.
|
|
sv_idlekick 1
|
|
|
|
// mp_votepct - percentage of votes required to pass.
|
|
mp_votepct 51
|
|
|
|
// sv_minrate - Min bandwidth rate allowed on server, 0 == unlimited.
|
|
sv_minrate 10000
|
|
|
|
// sv_maxrate - Max bandwidth rate allowed on server, 0 == unlimited.
|
|
sv_maxrate 35000
|
|
|
|
// sv_maxcmdrate - (If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate.
|
|
sv_maxcmdrate 66
|
|
|
|
// sv_mincmdrate - This sets the minimum value for cl_cmdrate. 0 == unlimited.
|
|
sv_mincmdrate 30
|
|
|
|
// sv_maxupdaterate - Maximum updates per second that the server will allow.
|
|
sv_maxupdaterate 66
|
|
|
|
// sv_minupdaterate - Minimum updates per second that the server will allow.
|
|
sv_minupdaterate 30
|
|
|
|
// ................................ Ban List ................................ //
|
|
|
|
// exec banned_user.cfg - Load the banned user ID list.
|
|
exec banned_user.cfg
|
|
|
|
// exec banned_ip.cfg - Load the banned IP address list.
|
|
exec banned_ip.cfg
|
|
|
|
// writeid - Writes a list of permanently-banned user IDs to banned_user.cfg.
|
|
writeid
|
|
|
|
// writeip - Save the ban list to banned_ip.cfg.
|
|
writeip
|
|
|