]> git.xonotic.org Git - xonotic/xonotic.git/blob - server/server.cfg
sv_vote_master_commands comment
[xonotic/xonotic.git] / server / server.cfg
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).
3
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).
9
10 // Search for settings and descriptions using the 'search' command in console
11 // or online: https://xonotic.org/tools/cacs/
12
13
14
15
16 /////////////////////////////////////////////////////////////////////
17 // Things you SHOULD change to make the server "yours" (remove the // and change the value):
18
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)
21
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.
24 //sv_motd ""
25
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.
28 //rcon_password ""
29
30
31
32
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).
38
39 //maxplayers // note: this is not the same as g_maxplayers
40
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
42
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).
50
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
52 //timestamps
53
54 //g_start_delay
55
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
60
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
69
70 //g_ctf_ignore_frags 0
71
72 // TEAMS for key hunt (change this to 2, 3, 4 to set a fixed keyhunt style)
73 //g_keyhunt_teams_override -1
74
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
78
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"
81
82
83
84
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.
88
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
96
97 //g_maplist_votable
98 //g_maplist_votable_suggestions
99 //g_maplist_votable_abstain
100 //g_maplist_votable_nodetail
101
102 sv_vote_gametype 1 // uncommented because it's a suggested default
103
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"
114
115 //sv_vote_call
116 //sv_vote_commands
117 //sv_vote_majority_factor
118 //sv_vote_majority_factor_of_voted
119 // note: to JUST support simple majorities, set these two factors equal
120
121 // Masters can be voted in by players or chosen by the admin and given a password.
122 //sv_vote_master
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.
126
127 // Similar functionality to vote masters
128 //rcon_restricted_commands
129 //rcon_restricted_password
130
131 //sv_maxidle
132
133 //sv_taunt
134 //sv_autotaunt
135
136
137
138
139 /////////////////////////////////////////////////////////////////////
140 // Settings you MIGHT want to change for PRIVACY reasons.
141
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 :)
143
144 // This line sends the following data to our servers:
145 // - Date and time
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
152 // - Current map
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
160 //
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
166 //
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
173 //   are modified
174 //
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.
177 //
178 // No information about your server will be published - all published data sets
179 // will include data from multiple servers.
180 //
181 sv_weaponstats_file "http://www.xonotic.org/weaponbalance/"
182
183
184
185
186 /////////////////////////////////////////////////////////////////////
187 // Some more advanced settings.  You probably are not interested in changing them at all.
188
189 //sv_ready_restart
190 //sv_ready_restart_after_countdown
191 //sv_ready_restart_repeatable
192 //sv_autoscreenshot 0   // Useful for competitions or the ladder.
193
194 //g_antilag
195
196 //sv_maxrate 1000000    // limits client connections to this rate in bytes/seconds
197
198 // see Docs/mapdownload.txt for more info
199 //sv_curl_defaulturl
200
201 //sv_defaultcharacter
202 //sv_defaultplayermodel
203 //sv_defaultplayerskin
204 //sv_defaultplayercolors
205 //g_fullbrightplayers
206 //g_fullbrightitems
207
208 //g_balance_teams
209 //g_balance_teams_prevent_imbalance
210
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
213
214 //g_spawnshieldtime
215
216
217
218
219 /////////////////////////////////////////////////////////////////////
220 // "Obvious" mutators that are allowed on a "pure" server
221
222 //g_instagib
223 //g_weapon_stay
224 //g_powerups
225
226
227
228
229 /////////////////////////////////////////////////////////////////////
230 // Overkill mod settings
231
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.
233
234
235
236
237 /////////////////////////////////////////////////////////////////////
238 // WARNING: anything below this line makes your server "impure"!
239
240 // some mutators (and other cvars) you might find interesting
241
242 //g_cloaked
243 //g_grappling_hook
244 //g_jetpack
245 //g_midair
246 //g_vampire
247 //sv_gravity
248
249 //g_nix
250 //g_nix_with_healtharmor
251 //g_nix_with_blaster
252 //g_nix_with_powerups