]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - server/server.cfg
typo
[xonotic/xonotic.git] / server / server.cfg
index 61ad4f254483858dc153bf792fa6aa4b60f94df2..0dcb1516c3a86840b8e066aeaed86c719a7c7aca 100644 (file)
@@ -1,30 +1,40 @@
+// This is an example config, to actually use it, copy it to ~/.xonotic/data on linux
+// or the equivalent directory on your OS (https://xonotic.org/faq/#config).
+
 // Two slashes start a comment until the end of the line.
 // Surround settings with double quotes (e.g. cvar_name "some value") unless they're a single number or word.
 // Cvar means console variable.
 // Just "" means empty string.
 // Semicolon separates commands (in console or in aliases).
 
 // Two slashes start a comment until the end of the line.
 // Surround settings with double quotes (e.g. cvar_name "some value") unless they're a single number or word.
 // Cvar means console variable.
 // Just "" means empty string.
 // Semicolon separates commands (in console or in aliases).
 
-// Search for settings and descriptions using the `search` command in console
-// or online: http://www.xonotic.org/tools/cacs/
+// Search for settings and descriptions using the 'search' command in console
+// or online: https://xonotic.org/tools/cacs/
 
 
 
 
 /////////////////////////////////////////////////////////////////////
 
 
 
 
 /////////////////////////////////////////////////////////////////////
-// Things you should change to make the server "yours" (remove the // and change the value):
+// Things you SHOULD change to make the server "yours" (remove the // and change the value):
 
 //sv_public 1  // 0 or -1 (see description) if the server should not be on the public servers list
 //hostname "Xonotic $g_xonoticversion Server"  // this name will appear on the server list (the $g_xonoticversion gets replaced with the current version)
 
 //sv_public 1  // 0 or -1 (see description) if the server should not be on the public servers list
 //hostname "Xonotic $g_xonoticversion Server"  // this name will appear on the server list (the $g_xonoticversion gets replaced with the current version)
-//sv_motd ""   // displayed on connect - good place for contact info (IRC or forum nick) so players can reach you when something is wrong with your server
+//sv_motd ""   // displayed on connect - good place for contact info (IRC, forum nick, etc.) so players can reach you when something is wrong with your server
 
 
 
 
 /////////////////////////////////////////////////////////////////////
 
 
 
 
 /////////////////////////////////////////////////////////////////////
-// Everything below has some sensible defaults so you do NOT really need to change anything.
+// Everything below has some sensible defaults so you don't really need to change anything.
+// It's meant as examples for people who want to customize the server more.
+// The values shown are either defaults or examples (for up to date defaults, see 'search' (or 'apropos') in console.
 
 //maxplayers 8 // number of player slots on the server (including spectators)
 
 
 //maxplayers 8 // number of player slots on the server (including spectators)
 
+//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
+
+//rcon_password ""     // 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.
+//rcon_restricted_password ""  // put here the password for a "restricted" rcon user (see below)
+
 //port 26000   // the port used by the server
 // You are RECOMMENDED to change this value to a free port number on your server
 // above 1024. The reason is that some bad ISPs might filter "gaming" ports, and
 //port 26000   // the port used by the server
 // You are RECOMMENDED to change this value to a free port number on your server
 // above 1024. The reason is that some bad ISPs might filter "gaming" ports, and
@@ -57,7 +67,7 @@
 
 // GAME MODE: what type of server do you want to host?
 // 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)
 
 // GAME MODE: what type of server do you want to host?
 // 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)
-//gametype dm
+//gametype dm  // default gamemode
 
 
 
 
 
 
 // Some settings you MIGHT want to change.  Again IF so remove the //
 // from the line start and change them to your liking.
 
 // Some settings you MIGHT want to change.  Again IF so remove the //
 // from the line start and change them to your liking.
 
-//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 you one of you internal IPs
-
-//rcon_password ""     // you can use rcon if this password is set.  you need to set the same password in your client if you want to issue rcon commands
-//rcon_restricted_password ""  // put here the password for a "restricted" rcon user (see below)
-
 //skill 8      // the bots skill level
 //skill 8      // the bots skill level
-//minplayers 6 // add bots if less then that number of players playing
+//minplayers 0 // add bots if less then that number of players playing
 //g_maxplayers 0 // above this player count, only allow spectators
 //bot_prefix [BOT]     // prepend this to all botnames
 //bot_suffix ""        // append this to all botnames
 //g_maxplayers 0 // above this player count, only allow spectators
 //bot_prefix [BOT]     // prepend this to all botnames
 //bot_suffix ""        // append this to all botnames
@@ -187,6 +192,8 @@ sv_weaponstats_file http://www.xonotic.org/weaponbalance/
 //g_spawnshieldtime 1  // time for which players are protected after spawn
 
 
 //g_spawnshieldtime 1  // time for which players are protected after spawn
 
 
+
+
 /////////////////////////////////////////////////////////////////////
 // "Obvious" mutators that are allowed on a "pure" server
 //g_instagib 0 // set to 1 for InstaGib
 /////////////////////////////////////////////////////////////////////
 // "Obvious" mutators that are allowed on a "pure" server
 //g_instagib 0 // set to 1 for InstaGib
@@ -194,6 +201,8 @@ sv_weaponstats_file http://www.xonotic.org/weaponbalance/
 //g_powerups -1 // set to 0 to turn off strength/quad and shield/invincible, and set to 1 to turn them on even in game modes that normally have them turned off
 
 
 //g_powerups -1 // set to 0 to turn off strength/quad and shield/invincible, and set to 1 to turn them on even in game modes that normally have them turned off
 
 
+
+
 /////////////////////////////////////////////////////////////////////
 // Overkill mod settings
 
 /////////////////////////////////////////////////////////////////////
 // Overkill mod settings
 
@@ -201,6 +210,8 @@ sv_weaponstats_file http://www.xonotic.org/weaponbalance/
 // You should also consider enabling 'g_fullbrightplayers 1'.
 
 
 // You should also consider enabling 'g_fullbrightplayers 1'.
 
 
+
+
 /////////////////////////////////////////////////////////////////////
 // WARNING: anything below this line makes your server "impure"!
 
 /////////////////////////////////////////////////////////////////////
 // WARNING: anything below this line makes your server "impure"!