1 // This is an example config, to actually use it, copy it to ~/.xonotic/data on linux
2 // or the equivalent directory on your OS (https://xonotic.org/faq/#config).
4 // Two slashes start a comment until the end of the line.
5 // Surround strings (text values) with double quotes (e.g. cvar_name "some value"), otherwise only the first word will be used.
6 // Cvar means console variable.
7 // Just "" means empty string.
8 // Semicolon separates commands (in console or in aliases).
10 // Search for settings and descriptions using the 'search' command in console
11 // or online: https://xonotic.org/tools/cacs/
16 /////////////////////////////////////////////////////////////////////
17 // Things you SHOULD change to make the server "yours" (remove the // and change the value):
19 //sv_public 1 // 0 or -1 (see description) if the server should not be on the public servers list
20 //hostname "Xonotic $g_xonoticversion Server" // this name will appear on the server list (the $g_xonoticversion gets replaced with the current version)
22 // This is a good place for contact info (IRC, forum nick, etc.) so players can reach you when something is wrong with your server.
23 // Keep it as short as possible.
26 // This sets the remote console password on the server, you also need to set the cvar to the same value on your client to use the 'rcon' command.
27 // Empty means rcon is disabled.
33 /////////////////////////////////////////////////////////////////////
34 // Everything below has some sensible defaults so you don't really need to change anything.
35 // It's meant as inspiration for people who want to customize the server more.
36 // Some cvars have example or default values shown, some have an additional description/comment.
37 // For the rest, the description is available in console (type variable name and press TAB or use apropos/search).
39 //maxplayers // note: this is not the same as g_maxplayers
41 //net_address 0.0.0.0 // ONLY change this if you have problems with your server. Specifies the network interface used by the engine. Set it to one of your internal IPs
43 //port 26000 // the port used by the server
44 // You are RECOMMENDED to change this value to a free port number on your server
45 // above 1024. The reason is that some bad ISPs might filter "gaming" ports, and
46 // changing the port your server runs on may make your server available to these
47 // people. Changing the port breaks nothing, the default simply matches Quake as
48 // we use a Quake-derived protocol and didn't do our own IANA port assignment yet
49 // (if anyone wants to go through that process, we'd be glad).
51 //log_file "server.log" // server console output will also be copied to this file. This: "${serverconfig}.log" uses variable substitution to make the logfile have the same name as your config file with .log appended which is useful if you run several servers
56 // List of maps to play on the server. Set to "" to autodetect (which would enumerate ALL maps. Maps that don't support the current game mode will be skipped, so you don't need to remove them here.
57 //g_maplist "afterslime atelier boil catharsis courtfun dance drain erbium finalrage fuse geoplanetary glowplant implosion leave_em_behind nexballarena oilrig runningman runningmanctf silentsiege solarium space-elevator stormkeep techassault vorix warfare xoylent"
58 //g_maplist_shuffle 1 // 0 always selects the next map out of g_maplist (but then better set g_maplist_votable 0 below to prevent repetitive votes), 1 will select random maps each time
59 //g_maplist_mostrecent_count 3 // number of maps that have to be played before a map can be repeated
61 // LIMITS: how long a match will last before the next map starts (-1 means use the map default, 0 = unlimited, please note that the variables fraglimit/timelimit can NOT be globally used for this but only DURING the match being played)
62 //timelimit_override -1 // global timelimit for all maps and gametypes
63 //fraglimit_override -1 // global frag/point limit for all maps and gametypes
64 //capturelimit_override -1 // capture limit for CTF
65 //g_domination_point_limit -1
66 //g_keyhunt_point_limit -1
67 //g_lms_lives_override -1
68 //g_nexball_goallimit -1
70 //g_ctf_ignore_frags 0
72 // TEAMS for key hunt (change this to 2, 3, 4 to set a fixed keyhunt style)
73 //g_keyhunt_teams_override -1
75 // GAME MODE: what type of server do you want to host?
76 // possible values: dm (deathmatch), tdm (team deathmatch), ctf (capture the flag), ca (clan arena), ft (freeze tag), kh (keyhunt), as (assault), dom (domination), lms (last man standing), ka (keepaway), inv (invasion), ons (onslaught), rc (race), cts (complete the stage), nb (nexball)
77 //gametype dm // default gamemode
79 // TIPS: uncomment this if you want help messages on your server - one per match 20 seconds after the map loads
80 //alias sv_hook_gamestart_all "defer 20 help_next"
85 /////////////////////////////////////////////////////////////////////
86 // Some settings you MIGHT want to change. Again IF so remove the //
87 // from the line start and change them to your liking.
89 //skill 4 // the bots skill level
90 //minplayers 0 // add bots if less then that number of players playing
91 //minplayers_per_team 0 // add bots to each team if less than that number of players playing
92 //g_maxplayers 0 // above this player count, only allow spectators
93 //bot_prefix [BOT] // prepend this to all botnames
94 //bot_suffix "" // append this to all botnames
95 //g_maplist_check_waypoints 0 // set this to 1 to skip maps without waypoints if there aren't enough players to play without bots
98 //g_maplist_votable_suggestions
99 //g_maplist_votable_abstain
100 //g_maplist_votable_nodetail
102 sv_vote_gametype 1 // uncommented because it's a suggested default
104 // this also includes an example of creating a custom gamemode
105 //sv_vote_gametype_options "dm tdm ca ctf 1v1ctf"
106 // sv_vote_gametype_*_type Must be set to the name of the gametype the option is based on
107 // sv_vote_gametype_*_name Contains a human-readable name of the gametype
108 // sv_vote_gametype_*_description Contains a longer description
109 //set sv_vote_gametype_1v1ctf_type ctf
110 //set sv_vote_gametype_1v1ctf_name "Capture the Flag Duel"
111 //set sv_vote_gametype_1v1ctf_description "One vs One match in CTF"
112 //alias sv_vote_gametype_hook_all "g_maxplayers 0"
113 //alias sv_vote_gametype_hook_1v1ctf "g_maxplayers 2"
117 //sv_vote_majority_factor
118 //sv_vote_majority_factor_of_voted
119 // note: to JUST support simple majorities, set these two factors equal
121 // Masters can be voted in by players or chosen by the admin and given a password.
123 //sv_vote_master_callable
124 //sv_vote_master_password
125 //sv_vote_master_commands // You may want to put 'kickban' here and allow masters to change 'sv_status_privacy', so they can keep out punks, but in that case don't make master votable or it will get abused.
127 // Similar functionality to vote masters
128 //rcon_restricted_commands
129 //rcon_restricted_password
139 /////////////////////////////////////////////////////////////////////
140 // Settings you MIGHT want to change for PRIVACY reasons.
142 //sv_status_privacy 1 // 1 hides IP addresses from "status" replies shown to clients, 0 shows them. Enables players to identify wellknown punks on your server OR is a threat to anonymity.. depending on your point of view :)
144 // This line sends the following data to our servers:
146 // - Your server IP address
147 // - Your server ID hash, which is a fingerprint of the public key of your
148 // server and does not impact security of your private key (use "crypto_keys"
149 // on the console to show it)
150 // - Your server name ("hostname")
151 // - Current game type
153 // - Balance settings you have modified from defaults (only those that make
154 // your server "impure")
155 // - For each weapon pairing (A, B), separately for player-player, player-bot,
156 // bot-player, bot-bot pairings:
157 // - Number of hits of players/bots holding A against players/bots holding B
158 // - Number of frags of players/bots holding A against players/bots holding B
159 // - Total damage of players/bots holding A against players/bots holding B
161 // We use this data to:
162 // - Optimize the game balance for future releases
163 // - Identify problems in the bot AI and improving it
164 // - Find settings that make servers "impure" that should not, so we can
165 // whitelist them in future releases
167 // We will or might publish:
168 // - Global weapon pairing statistics for players vs players, or bots vs bots,
169 // or any vs any, on a selection of servers
170 // - Per-gametype and per-map weapon pairing statistics players vs players, or
171 // bots vs bots, or any vs any, on a selection of servers
172 // - Lists of commonly changed cvars, together with counts on how often they
175 // No information about the players on the server is sent, so as a server admin
176 // you need no permission of your players for this.
178 // No information about your server will be published - all published data sets
179 // will include data from multiple servers.
181 sv_weaponstats_file "http://www.xonotic.org/weaponbalance/"
186 /////////////////////////////////////////////////////////////////////
187 // Some more advanced settings. You probably are not interested in changing them at all.
190 //sv_ready_restart_after_countdown
191 //sv_ready_restart_repeatable
192 //sv_autoscreenshot 0 // Useful for competitions or the ladder.
196 //sv_maxrate 1000000 // limits client connections to this rate in bytes/seconds
198 // see Docs/mapdownload.txt for more info
201 //sv_defaultcharacter
202 //sv_defaultplayermodel
203 //sv_defaultplayerskin
204 //sv_defaultplayercolors
205 //g_fullbrightplayers
209 //g_balance_teams_prevent_imbalance
211 //g_ban_sync_uri "http://46.38.241.138/~xonotic/bans/" // this ban list provider is currently offline
212 //g_ban_sync_trusted_servers
219 /////////////////////////////////////////////////////////////////////
220 // "Obvious" mutators that are allowed on a "pure" server
229 /////////////////////////////////////////////////////////////////////
230 // Overkill mod settings
232 // To enable Overkill, put 'exec ruleset-overkill.cfg' at the top of this file (above any other cvar changes), don't use 'g_overkill 1' directly.
237 /////////////////////////////////////////////////////////////////////
238 // WARNING: anything below this line makes your server "impure"!
240 // some mutators (and other cvars) you might find interesting
250 //g_nix_with_healtharmor
252 //g_nix_with_powerups