+
+ |
+ -d
+ |
+
+ This starts an AssaultCube client binary as a dedicated server. The
+ default is a non-dedicated server with only a single client in graphical mode.
+ See the Server Section.
+ You don't need this parameter, if you're using the server binary.
+ |
+
+
+ |
+ -uN
+ |
+
+ Sets the server upstream bandwidth (per player) to N bytes per
+ second. only set this parameter if you know what you are doing, specifying a wrong
+ value is worse than not specifying it at all.
+ |
+
+
+ |
+ -nS
+ |
+
+ Sets the server description, for people pinging the server. This usually does not need to
+ be set if you have a descriptive domain name already, but if you set it, keep it short
+ as it may otherwise be truncated, i.e. -nBobsInstagibServer
+ |
+
+
+ |
+ -n1S
+ |
+
+ Sets a server description prefix.
+ |
+
+
+
+ |
+ -n2S
+ |
+
+ Sets a server description suffix.
+ |
+
+
+ |
+
+ To enable the admin to temporarily change the server description, a server description prefix
+ and/or suffix needs to be set. If the admin executes the command /serverdesc DESC,
+ the server description will be changed to "prefixDESCsuffix".
+ At the end of the game, the default server description (set by
+ -n) is restored automatically.
+ |
+
+
+ |
+ -iIP
+ |
+
+ Sets the server ip to IP. This option is only useful
+ for people running servers on machines with multiple network interfaces.
+ Only use this switch if you really know, what you are doing.
+ |
+
+
+ |
+ -fPORT
+ |
+
+ Sets the server base port to PORT. An AC server always uses 2 UDP ports: PORT & PORT+1.
+ The default ports are 28763 and 28764. You need to use different ports, if you want to
+ run several servers on the same machine (with one IP address). For example, use
+ -f28765 for a second server.
+ |
+
+
+ |
+ -NID
+ |
+
+ Sets the log identity to ID. By default, the log identity is 'IP[port]'. On linux systems,
+ the log identity is used for the syslog to identify server log entries. On windows and
+ apple systems, the log identity is used to create the server logfile filename.
|
-
-
- |
- -Fn
- |
-
- Sets the syslog facility to n. Values from 0 to 7 are allowed to use the facilities
- local0..local7. By default, local6 is used. For further information, check the
- documentation of your installed syslog daemon.
+ |
+
+ |
+ -Fn
+ |
+
+ Sets the syslog facility to n. Values from 0 to 7 are allowed to use the facilities
+ local0..local7. By default, local6 is used. For further information, check the
+ documentation of your installed syslog daemon.
|
-
-
- |
- -T
- |
-
- Add timestamps to every line of the console and file logs.
+ |
+
+ |
+ -T
+ |
+
+ Add timestamps to every line of the console and file logs.
|
-
-
- |
- -LFn
- |
-
- Sets the logging level for file logs to level n. On linux systems, this switch can be used to enable (additional) file logging.
- The following levels can be selected:
-
- | 0 |
- DEBUG: logs all messages |
- | 1 |
- VERBOSE: logs all messages of level VERBOSE and above (same as console log, when using the -V switch) |
- | 2 |
- INFO: logs all messages of level INFO and above (same as console without -V switch), default on windows or mac systems |
- | 3 |
- WARNING: log only messages of level WARNING and above |
- | 4 |
- ERROR: log only messages of level ERROR |
- | 5 (or above) |
- do not log to file (default on linux systems) |
-
+ |
+
+ |
+ -LFn
+ |
+
+ Sets the logging level for file logs to level n. On linux systems, this switch can be used to enable (additional) file logging.
+ The following levels can be selected:
+
+ | 0 |
+ DEBUG: logs all messages |
+ | 1 |
+ VERBOSE: logs all messages of level VERBOSE and above (same as console log, when using the -V switch) |
+ | 2 |
+ INFO: logs all messages of level INFO and above (same as console without -V switch), default on windows or mac systems |
+ | 3 |
+ WARNING: log only messages of level WARNING and above |
+ | 4 |
+ ERROR: log only messages of level ERROR |
+ | 5 (or above) |
+ do not log to file (default on linux systems) |
+
|
-
-
- |
- -LSn
- |
-
- Sets the logging level for syslog logging to level n. This switch is ignored on non-linux systems.
- The following levels can be selected:
-
- | 0 |
- DEBUG: logs all messages |
- | 1 |
- VERBOSE: logs all messages of level VERBOSE and above (same as console log, when using the -V switch) |
- | 2 |
- INFO: logs all messages of level INFO and above (same as console without -V switch), default |
- | 3 |
- WARNING: log only messages of level WARNING and above |
- | 4 |
- ERROR: log only messages of level ERROR |
- | 5 (or above) |
- do not log to syslog |
-
+ |
+
+ |
+ -LSn
+ |
+
+ Sets the logging level for syslog logging to level n. This switch is ignored on non-linux systems.
+ The following levels can be selected:
+
+ | 0 |
+ DEBUG: logs all messages |
+ | 1 |
+ VERBOSE: logs all messages of level VERBOSE and above (same as console log, when using the -V switch) |
+ | 2 |
+ INFO: logs all messages of level INFO and above (same as console without -V switch), default |
+ | 3 |
+ WARNING: log only messages of level WARNING and above |
+ | 4 |
+ ERROR: log only messages of level ERROR |
+ | 5 (or above) |
+ do not log to syslog |
+
|
-
-
- |
- -mM
- |
-
- Sets the server to register itself against masterserver M.
- M is the base url of the master server and has to end in a / and without a http:// prefix,
- the default is masterserver.cubers.net/cgi-bin/AssaultCube.pl/.
- If you want your server to be private and not report to the masterserver, use -mlocalhost.
- |
-
-
- |
- -pPASS
- |
-
- Sets the server password to PASS. Only clients
- that use the command "/connect IP PORT PASS" will be able to connect.
- |
-
-
- |
- -cN
- |
-
- Sets the maximum number of players that can play on
- this server to N (default 6). If more players try to connect they will get a "server
- full" message.
- |
-
-
- |
- -xM
- |
-
- Sets the
- admin password. If you don't want your commandline to contain the password, or if you need
- more than one admin password, use the file "config/serverpwd.cfg".
- |
-
-
- |
- -Xf
- |
-
- Sets the admin password file. The default is -Xconfig/serverpwd.cfg
- |
-
-
- |
- -rC
- |
-
- Sets the
- maprotation file. Example: -rconfig/maprot.cfg
- |
-
-
- |
- -Bf
- |
-
- Sets the blacklist file. The default is
- -Bconfig/serverblacklist.cfg
- |
-
-
- |
- -Kf
- |
-
- Sets the nickname blacklist file. The default is
- -Kconfig/nicknameblacklist.cfg
- |
-
-
- |
- -If
- |
-
- Sets the serverinfo text filename prefix. The default is
- -Iconfig/serverinfo.
- The server adds "_en.txt" to the prefix to
- complete the filename.
- |
-
-
- |
- -Of
- |
-
- Sets the "Message of the day" (MOTD) text filename prefix.
- The default is -Oconfig/motd.
- The server adds "_en.txt" to the prefix to
- complete the filename.
- The MOTD will only be read from file, if no static MOTD
- is given on the commandline ('-o').
- |
-
-
- |
- -oN
- |
-
- Sets the server's "message of the day" (MOTD).
- |
-
-
- |
- -kN
- |
-
- Sets the kick threshold. If a players score drops
- below it, he will be kicked automatically (default: -5).
- |
-
-
- |
- -yN
- |
-
- Sets the ban threshold. If a players score drops
- below it, he will be banned automatically (default: -6).
- |
-
-
- |
- -PS
- |
-
- Sets the required role to call specific votes. The two possible player roles are 'player' and 'admin'.
- 'S' is a string of characters to set vote role requirements per vote type. A lower case character
- enables the vote call for normal players, an upper case character sets the vote call to require an
- admin. If a character does not appear in the string, the default setting is used.
- The following votes can be adjusted:
-
- | k |
- kick players |
- | b |
- ban players (and remove bans) |
- | m |
- change mastermode (open/private) |
- | f |
- force a player to the other team |
- | a |
- enable/disable autoteam |
- | s |
- shuffle the teams |
- | r |
- record a demo of the next game (if autorecording is disabled) |
- | c |
- clear all demos on server |
- | d |
- change server description |
- | e |
- vote for coopedit mode |
- | p |
- vote for a gamemode that is not supported by the map (default: no one can) |
- | w |
- vote to kick/ban for "weak" reasons, i.e, the other player is not obviously lagging, nor teamkilling, nor spamming, nor cheating (as far as the server can detect it) |
-
- For example: -PbmA enables ban & mastermode to be voted by normal players but
- only admins can change autoteam. The '-P' parameter can be used several times on the commandline.
- For example, '-Pb -Pm -PA' is equivalent to '-PbmA'.
- The default settings are: "fkBMasRCDEw".
+ |
+
+ |
+ -mM
+ |
+
+ Sets the server to register itself against masterserver M.
+ M is the base url of the master server and has to end in a / and without a http:// prefix,
+ the default is masterserver.cubers.net/cgi-bin/AssaultCube.pl/.
+ If you want your server to be private and not report to the masterserver, use -mlocalhost.
+ |
+
+
+ |
+ -pPASS
+ |
+
+ Sets the server password to PASS. Only clients
+ that use the command "/connect IP PORT PASS" will be able to connect.
+ |
+
+
+ |
+ -cN
+ |
+
+ Sets the maximum number of players that can play on
+ this server to N (default 6). If more players try to connect they will get a "server
+ full" message.
+ |
+
+
+ |
+ -xM
+ |
+
+ Sets the
+ admin password. If you don't want your commandline to contain the password, or if you need
+ more than one admin password, use the file "config/serverpwd.cfg".
+ |
+
+
+ |
+ -Xf
+ |
+
+ Sets the admin password file. The default is -Xconfig/serverpwd.cfg
+ |
+
+
+ |
+ -rC
+ |
+
+ Sets the
+ maprotation file. Example: -rconfig/maprot.cfg
+ |
+
+
+ |
+ -Bf
+ |
+
+ Sets the blacklist file. The default is
+ -Bconfig/serverblacklist.cfg
+ |
+
+
+ |
+ -Kf
+ |
+
+ Sets the nickname blacklist file. The default is
+ -Kconfig/nicknameblacklist.cfg
+ |
+
+
+ |
+ -If
+ |
+
+ Sets the serverinfo text filename prefix. The default is
+ -Iconfig/serverinfo.
+ The server adds "_en.txt" to the prefix to
+ complete the filename.
+ |
+
+
+ |
+ -Of
+ |
+
+ Sets the "Message of the day" (MOTD) text filename prefix.
+ The default is -Oconfig/motd.
+ The server adds "_en.txt" to the prefix to
+ complete the filename.
+ The MOTD will only be read from file, if no static MOTD
+ is given on the commandline ('-o').
+ |
+
+
+ |
+ -oN
+ |
+
+ Sets the server's "message of the day" (MOTD).
+ |
+
+
+ |
+ -kN
+ |
+
+ Sets the kick threshold. If a players score drops
+ below it, he will be kicked automatically (default: -5).
+ |
+
+
+ |
+ -kAN
+ |
+
+ Sets the kick threshold (in seconds) for the "Away From Keyboard" autokick.
+ This autokick happens only if the server is OPEN (not PRIVATE and not MATCH),
+ there are more than 4 players in the game, and affects mainly the teammode games.
+ The server assumes chatting people and spectators as AFK.
+ If the value is set less than 30, the AFK autokick is disabled. (default: 45).
+ |
+
+
+ |
+ -yN
+ |
+
+ Sets the ban threshold. If a players score drops
+ below it, he will be banned automatically (default: -6).
+ |
+
+
+ |
+ -PS
+ |
+
+ Sets the required role to call specific votes. The two possible player roles are 'player' and 'admin'.
+ 'S' is a string of characters to set vote role requirements per vote type. A lower case character
+ enables the vote call for normal players, an upper case character sets the vote call to require an
+ admin. If a character does not appear in the string, the default setting is used.
+ The following votes can be adjusted:
+
+ | k |
+ kick players |
+ | b |
+ ban players (and remove bans) |
+ | m |
+ change mastermode (open/private) |
+ | f |
+ force a player to the other team |
+ | a |
+ enable/disable autoteam |
+ | s |
+ shuffle the teams |
+ | r |
+ record a demo of the next game (if autorecording is disabled) |
+ | c |
+ clear all demos on server |
+ | d |
+ change server description |
+ | e |
+ vote for coopedit mode |
+ | p |
+ vote for a gamemode that is not supported by the map (default: no one can) |
+ | w |
+ vote to kick/ban for "weak" reasons, i.e, the other player is not obviously lagging, nor teamkilling, nor spamming, nor cheating (as far as the server can detect it) |
+
+ For example: -PbmA enables ban & mastermode to be voted by normal players but
+ only admins can change autoteam. The '-P' parameter can be used several times on the commandline.
+ For example, '-Pb -Pm -PA' is equivalent to '-PbmA'.
+ The default settings are: "fkBMasRCDEw".
|
-
-
- |
- -Amap
- |
-
- Restricts voting for a map/mode to admins. Mapname and modenumber (if
- specified) are separated by '#'. This switch can be used several times.
- Example: -Aac_desert#13
+ |
+
+ |
+ -Amap
+ |
+
+ Restricts voting for a map/mode to admins. Mapname and modenumber (if
+ specified) are separated by '#'. This switch can be used several times.
+ Example: -Aac_desert#13
|
-
-
- |
- -MS
- |
-
- Sets the required role for sendmap actions. The two possible player roles are 'player' and 'admin'.
- 'S' is a string of characters to set role requirements per action type. A lower case character
- enables the sendmap action for normal players, an upper case character sets the sendmap action to require an
- admin. If a character does not appear in the string, the default setting is used.
- The following sendmap actions can be adjusted:
-
- | c |
- create new map (initial map upload) |
- | u |
- update existing map (with same or newer revision) |
- | r |
- revert existing map to older revision |
- | d |
- delete map (default: no one can) |
+
+
+ |
+ -MS
+ |
+
+ Sets the required role for sendmap actions. The two possible player roles are 'player' and 'admin'.
+ 'S' is a string of characters to set role requirements per action type. A lower case character
+ enables the sendmap action for normal players, an upper case character sets the sendmap action to require an
+ admin. If a character does not appear in the string, the default setting is used.
+ The following sendmap actions can be adjusted:
+
+ | c |
+ create new map (initial map upload) |
+ | u |
+ update existing map (with same or newer revision) |
+ | r |
+ revert existing map to older revision |
+ | d |
+ delete map (default: no one can) |
- For example: -MCuD enables updating maps for normal players but
- only admins can create or delete maps. The '-M' parameter can be used several times on the commandline.
- For example, '-MCb -Mu -MD' is equivalent to '-MCuD'.
- The default settings are: "CRU".
- Note: Only maps in the 'incoming' folder are affected. Maps in 'official' and 'servermaps' are treated read only.
+ For example: -MCuD enables updating maps for normal players but
+ only admins can create or delete maps. The '-M' parameter can be used several times on the commandline.
+ For example, '-MCb -Mu -MD' is equivalent to '-MCuD'.
+ The default settings are: "CRU".
+ Note: Only maps in the 'incoming' folder are affected. Maps in 'official' and 'servermaps' are treated read only.
|
-
-
- |
- -Dn
- |
-
- Sets the maximum number of recorded demos to be held in server RAM.
- Every game will be recorded. The recorded demos will be held in RAM. By default, up to 5 demos will be kept.
- To disable automatic demo recording, set the number to 0.
- The oldest demo will be deleted automatically if necessary, to allow recording of further demos.
- To change the default of 5 demos in RAM, you can add the number of demos to the parameter,
- e.g. -D5
- |
-
-
- |
- -Wf
- |
-
- Sets a path (and optional filename prefix) to write all recorded demos to. The example
+ |
+
+ |
+ -Dn
+ |
+
+ Sets the maximum number of recorded demos to be held in server RAM.
+ Every game will be recorded. The recorded demos will be held in RAM. By default, up to 5 demos will be kept.
+ To disable automatic demo recording, set the number to 0.
+ The oldest demo will be deleted automatically if necessary, to allow recording of further demos.
+ To change the default of 5 demos in RAM, you can add the number of demos to the parameter,
+ e.g. -D5
+ |
+
+
+ |
+ -Wf
+ |
+
+ Sets a path (and optional filename prefix) to write all recorded demos to. The example
-Wserverdemos/mydemo would save all demos to the directory
'serverdemos' and prefix the filenames with 'mydemo'. The filename will contain the (optional)
prefix, the (encoded) time, game mode and map. To set a path without filename prefix, use
-Wpath/. A prefix without path can be set by
-Wprefix. The server owner has to take precautions that the demo files don't fill up the
filesystem - especially, if permanent demo recording is also enabled (switch '-D').
- |
-
-
- |
- -SW
- |
-
- Starts the server as windows service and sets the
- name of the windows service that should be used. Works only for the server binary
- is started directly from the windows service manager.
- |
-
-
- |
- -Cf
- |
-
- Reads commandline arguments from a file. For example,
- -Cconfig/servercmdline.txt will read arguments from that file.
+ |
+
+
+ |
+ -SW
+ |
+
+ Starts the server as windows service and sets the
+ name of the windows service that should be used. Works only for the server binary
+ is started directly from the windows service manager.
+ |
+
+
+ |
+ -Cf
+ |
+
+ Reads commandline arguments from a file. For example,
+ -Cconfig/servercmdline.txt will read arguments from that file.
Only one parameter per line is allowed. Empty lines, and any text after '//' will be ignored.
- The file is only read once at server startup; changing the file's content will not affect a running server.
- See config/servercmdline.txt for additional info. No file is read by default.
- |
-
-
- |
- -V
- |
-
- Sets the server to verbose mode. This enables additional
- log messages to be printed, including the server configuration files (after parsing). Using this
- switch twice will also enable logging of DEBUG messages. Be careful:
- the logfile will contain all content from serverpwd.cfg.
- |
-
-
+ The file is only read once at server startup; changing the file's content will not affect a running server.
+ See config/servercmdline.txt for additional info. No file is read by default.
+ |
+
+
+ |
+ -V
+ |
+
+ Sets the server to verbose mode. This enables additional
+ log messages to be printed, including the server configuration files (after parsing). Using this
+ switch twice will also enable logging of DEBUG messages. Be careful:
+ the logfile will contain all content from serverpwd.cfg.
+ |
+
+