]> de.git.xonotic.org Git - xonotic/xonotic.wiki.git/blobdiff - Basic-server-configuration.md
tips for devs
[xonotic/xonotic.wiki.git] / Basic-server-configuration.md
index f352f4233f093ac338f87290bfb03007273448d6..0e318971830f4b89f6d44f7033aa1b2c3714c194 100644 (file)
@@ -1,4 +1,4 @@
-This page explains basic server settings. During the start of the server, it searches for the `data/server.cfg` file and executes it. You need to create it inside your user directory (GNU/Linux default: `~/.xonotic/data/server.cfg`).
+During the start of the server, it searches for the `data/server.cfg` file and executes it. You need to create it inside [your user directory](http://www.xonotic.org/faq/#config).
 
 # Quick start
 Xonotic comes with an example configuration in `/server/server.cfg`. You can copy it into your user directory and simply edit it.
 
 # Quick start
 Xonotic comes with an example configuration in `/server/server.cfg`. You can copy it into your user directory and simply edit it.
@@ -9,10 +9,9 @@ A minimal configuration would be this:
 ```
 sv_public 1
 hostname "My Test server"
 ```
 sv_public 1
 hostname "My Test server"
-maxplayers 32
 ```
 
 ```
 
-It creates a server named "My Test server" that can handle 32 players and is visible on the master server. It will run deathmatch with default settings.
+It creates a server named "My Test server" that can handle 16 players and is visible on the master server. It will run deathmatch with default settings.
 
 # Basic settings
 ```
 
 # Basic settings
 ```
@@ -20,6 +19,16 @@ sv_motd "Hi, this is my epic server"
 ```
 Specifies the "message of the day" which will be displayed to players when they connect or press the info button.
 
 ```
 Specifies the "message of the day" which will be displayed to players when they connect or press the info button.
 
+```
+maxplayers 32
+```
+Specifies the maximum number of players on the server.
+
+```
+timelimit_override 20
+```
+Overrides the time limit for each map in minutes. 0 to play without limit, -1 to use the time limit specified by the map.
+
 ```
 port 26000
 ```
 ```
 port 26000
 ```
@@ -81,4 +90,7 @@ If set to 1, the map will start in the warmup mode which is designed to let ever
 ```
 g_warmup_limit 0
 ```
 ```
 g_warmup_limit 0
 ```
-If set to more than 0, specifies the maximum time of the warmup state. Can be used to force the game to begin without player consensus or when players forgot about warmup being active.
\ No newline at end of file
+If set to more than 0, specifies the maximum time of the warmup state. Can be used to force the game to begin without player consensus or when players forgot about warmup being active.
+
+# More advanced configuration
+You can find other useful variables using the [Command And Cvar search tool on xonotic.org](https://xonotic.org/tools/cacs).
\ No newline at end of file