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.
234 lines
7.9 KiB
234 lines
7.9 KiB
// ****************************************************************************
|
|
// *
|
|
// Quake Live - server.cfg *
|
|
// Version 090217 *
|
|
// *
|
|
// ****************************************************************************
|
|
|
|
// Servers have the ability to run multiple gametypes, known as "factories." You should not add gameplay related
|
|
// cvars in the server config: they may get overwritten by the factory. For creating your own sets of gameplay rules,
|
|
// create a file ending in ".factories" inside baseq3/scripts, and refer to "Creating custom gametypes" in the
|
|
// server_readme.txt file.
|
|
// This config will override command line options.
|
|
|
|
// Be aware that factories can override any cvar, including ones specified in this config file.
|
|
|
|
// ............................. Basic Settings ............................. //
|
|
|
|
// Hostname for server.
|
|
set sv_hostname "SERVERNAME"
|
|
|
|
// Server password - for private servers.
|
|
set g_password ""
|
|
|
|
// Server tags - Tags show up on the in-game server browser. This helps
|
|
// users filter servers.
|
|
// e.g "crouch slide, classic, space, custom"
|
|
// example: sv_tags "custom, classic"
|
|
set sv_tags ""
|
|
|
|
// ............................... Map Cycles ............................... //
|
|
|
|
// info: The .txt file used to cycle the maps on servers.
|
|
// There are several predefined mapcycles available that are listed below.
|
|
// You can also create your own custom mapcycle.
|
|
// "mappool.txt" - all maps
|
|
// "mappool_ca.txt" - Clan Arena
|
|
// "mappool_ctf.txt" - Capture the Flag
|
|
// "mappool_duel.txt" - Duel
|
|
// "mappool_ffa.txt" - Free for All
|
|
// "mappool_race.txt" - Race
|
|
// "mappool_tdm.txt" - Team Death Match
|
|
set sv_mapPoolFile "mappool.txt"
|
|
|
|
// Default map
|
|
// Random Map - startRandomMap
|
|
// Specific map (factory is required) - map campgrounds ffa
|
|
// Default: set serverstartup "startRandomMap"
|
|
set serverstartup "startRandomMap"
|
|
|
|
// ............................ Client Settings ............................. //
|
|
|
|
// Number of player slots available.
|
|
// Default: set sv_maxClients "16"
|
|
set sv_maxClients "16"
|
|
|
|
// Reserved slots, requires sv_privatePassword.
|
|
// Default: set sv_privateClients "0"
|
|
set sv_privateClients "0"
|
|
|
|
// Reserved slots password.
|
|
// Default: set sv_privatePassword ""
|
|
set sv_privatePassword ""
|
|
|
|
// ................................. Voting ................................. //
|
|
|
|
// Allow Voting.
|
|
// 1 - enabled
|
|
// 0 - disabled
|
|
// Default: set g_allowVote "1"
|
|
set g_allowVote "1"
|
|
|
|
// Delay allowing votes for X milliseconds after map load.
|
|
// Default: set g_voteDelay "0"
|
|
set g_voteDelay "0"
|
|
|
|
// Limit users to X votes per map.
|
|
// 0 - no limit
|
|
// Default: set g_voteLimit "0"
|
|
set g_voteLimit "0"
|
|
|
|
// Only allow votes from mid game
|
|
// default - set g_allowVoteMidGame "0"
|
|
set g_allowVoteMidGame "0"
|
|
|
|
// Allow spectators to call votes
|
|
// Default: set g_allowSpecVote "0"
|
|
set g_allowSpecVote "0"
|
|
|
|
// Add together the below values for which callvotes should be DISABLED:
|
|
// map 1
|
|
// map_restart 2
|
|
// nextmap 4
|
|
// gametype 8 (ex: "/callvote map campgrounds" will be allowed, but "/callvote map campgrounds ca" will fail)
|
|
// kick 16
|
|
// timelimit 32
|
|
// fraglimit 64
|
|
// shuffle 128
|
|
// teamsize 256
|
|
// cointoss/random 512
|
|
// loadouts 1024
|
|
// end-game voting 2048
|
|
// ammo (global) 4096
|
|
// timers (item) 8192
|
|
// e.g to disable map and nextmap: 1+4=5
|
|
//
|
|
// Default - set g_voteFlags "0"
|
|
set g_voteFlags "0"
|
|
|
|
// ....................... Time Limits/Round Settings ....................... //
|
|
|
|
// Ratio of players that must be ready before the match starts.
|
|
// Default: set sv_warmupReadyPercentage "0.51"
|
|
set sv_warmupReadyPercentage "0.51"
|
|
|
|
// Wait x seconds before allowing match to start to allow all players to connect.
|
|
// Default: set g_warmupDelay "15"
|
|
set g_warmupDelay "15"
|
|
|
|
// Force the game to start after x seconds after someone readies up.
|
|
// Default: set g_warmupReadyDelay "0"
|
|
set g_warmupReadyDelay "0"
|
|
|
|
// Set to 1 to force players to spectator after g_warmupReady Delay, 2 to force ready up.
|
|
// Default: set g_warmupReadyDelayAction "1"
|
|
set g_warmupReadyDelayAction "1"
|
|
|
|
// Kick players who are inactive for X amount of seconds.
|
|
// 0 - disabled
|
|
// Default: set g_inactivity "0"
|
|
set g_inactivity "0"
|
|
|
|
// ............................. Communication ............................. //
|
|
|
|
// Voice Comms
|
|
// 0 - Limit voice comms to teams only during the match.
|
|
// 1 - Allow all players to talk to each other.
|
|
// Default: set g_alltalk "0"
|
|
set g_alltalk "0"
|
|
|
|
// ................................ Network ................................ //
|
|
|
|
// Which IP to bind to. Blank will bind to all interfaces.
|
|
set net_ip ""
|
|
|
|
// Server port (UDP)
|
|
// Blank - Will increment until finds an empty unbound. net_strict must be 0
|
|
// Default: set net_port "27960"
|
|
set net_port "27960"
|
|
|
|
// Quit out immediately if we can't bind the IP and port.
|
|
// Default: set net_strict "1"
|
|
set net_strict "1"
|
|
|
|
// Server Type
|
|
// 0 - Offline
|
|
// 1 - LAN
|
|
// 2 - Internet
|
|
// Default: set sv_serverType "2"
|
|
set sv_serverType "2"
|
|
|
|
// ................................ Remote Admin ................................ //
|
|
|
|
// Enable remote console, provided through ZeroMQ. See zmq_rcon.py for simple client.
|
|
// ZMQ rcon binds on a separate port from the game server, and uses TCP. It must differ from the stats port if used.
|
|
// Rcon can not be enabled or disabled after launch, nor can the IP and port change. Password can, however.
|
|
|
|
// Enable rcon
|
|
// Default: set zmq_rcon_enable "1"
|
|
set zmq_rcon_enable "1"
|
|
|
|
// Which IP to bind to. Blank will bind to all interfaces.
|
|
set zmq_rcon_ip ""
|
|
|
|
// Rcon port
|
|
// default: set zmq_rcon_port "28960"
|
|
set zmq_rcon_port "28960"
|
|
|
|
// Rcon password
|
|
set zmq_rcon_password "ADMINPASSWORD"
|
|
|
|
// Enable ZeroMQ stats socket. This will not be much use without a client listening.
|
|
// See zmq_stats_verbose.py for example connect and stats printing.
|
|
// If not specified, the stats socket will default to the same IP and port as the game server, but on TCP.
|
|
|
|
// Enable ZeroMQ stats
|
|
set zmq_stats_enable "0"
|
|
|
|
// Which IP to bind to. Blank will bind to all interfaces.
|
|
// set zmq_stats_ip ""
|
|
|
|
// ZeroMQ stats port (TCP)
|
|
// set zmq_stats_port ""
|
|
|
|
// ZeroMQ stats password
|
|
// set zmq_stats_password ""
|
|
|
|
// ............................ Flood Protection ............................ //
|
|
|
|
// Flood protection will increment everytime the user sends a client command.
|
|
// Excluding: dropweapon, changing name, color, model, or chatting.
|
|
// Set g_floodprot_maxcount to 0 to disable flood protection, but this not reccomended.
|
|
|
|
// Kick a player when their userinfo flood counter reaches this level.
|
|
// Default: set g_floodprot_maxcount "10"
|
|
// Disable: set g_floodprot_maxcount "0"
|
|
set g_floodprot_maxcount "10"
|
|
|
|
// Kick a player when they reach X commands, decreases by 1 every second
|
|
// Default: set sv_floodprotect "10"
|
|
set sv_floodprotect "10"
|
|
|
|
// Decrease the userinfo flood counter by 1 this often, in milliseconds.
|
|
// Default: set g_floodprot_decay "1000"
|
|
set g_floodprot_decay "1000"
|
|
|
|
// Used to determine which 64-bit Steam IDs have admin access, or are banned.
|
|
set g_accessFile "access.txt"
|
|
|
|
// ................................ System Settings ................................ //
|
|
|
|
// Show in server browser and respond to queries. This will also affect the LAN Broswer
|
|
// Default: set sv_master "1"
|
|
set sv_master "1"
|
|
|
|
// Change how many frames the server runs per second. WARNING: Has not been tested extensively, and will have a direct impact on CPU and network usage!
|
|
set sv_fps "40"
|
|
|
|
// Exit the server if idle (not running a map) for a specified time. This will allow it to automatically restart
|
|
// in the case of a game error or other problem. A value of "1" is recommended, but not default, when you are running
|
|
// the server detached from the terminal.
|
|
set sv_idleExit "120"
|
|
|
|
// May need to be increased for additional players.
|
|
set com_hunkMegs "60"
|