From a4066c023767bfbf22681f84cf23e2280ab5f6ef Mon Sep 17 00:00:00 2001 From: aerkefiende Date: Tue, 19 Oct 2010 19:54:47 +0000 Subject: [PATCH] New commandline options: --version --protocol --loadmap= --loaddemo= -kB -Z -g git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5774 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- docs/commandline.html | 100 +++++++++++++++++++++++++++++++++--------- 1 file changed, 79 insertions(+), 21 deletions(-) diff --git a/docs/commandline.html b/docs/commandline.html index e85b7616..bab2b355 100644 --- a/docs/commandline.html +++ b/docs/commandline.html @@ -22,9 +22,9 @@

When launching AssaultCube you can pass "switches" to - allow different settings to occur on startup. - Depending on your operating system there would be a different - commandline-script or launcher to use (see below). + allow different settings to occur on startup. + Depending on your operating system there would be a different + commandline-script or launcher to use (see below).
Note: Some of these options can be changed in-game through the menus without the need to manually edit the script file.

@@ -193,8 +193,8 @@ Sets the client to update 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/ + M is the base url of the master server, + the default is -massault.cubers.net @@ -203,7 +203,7 @@ Executes the command C at startup (i.e. -e"say hello"). Look into the - reference for all possible commands. + reference for all possible commands. @@ -216,6 +216,22 @@ is used, but you can override this setting by using --init=yourfile.cfg + + + --version + + + Prints out the version of AssaultCube (i.e. 1.103). After submitting this switch the game will not start. + + + + + --protocol + + + Prints out the protocol of AssaultCube (i.e. 1132). After submitting this switch the game will not start. + + --mod=PATH @@ -235,6 +251,22 @@ custom settings and files to this directory (recommended). + + + --loadmap=FILE + + + Initializes the game with the given map (i.e. --loadmap="ac_desert"). + + + + + --loaddemo=FILE + + + Playbacks the given demo file at startup (i.e. --loaddemo="LSS_ac_desert_2010.10.17_1750_4mr"). + + -T @@ -480,6 +512,15 @@ -Kconfig/nicknameblacklist.cfg + + + -gf + + + Sets the forbidden words file. The default is + -gconfig/forbidden.cfg + + -If @@ -533,6 +574,14 @@ If the value is set less than 30, the AFK autokick is disabled. (default: 45). + + + -kBN + + + Sets the minutes a banned player will stay banned on the server (default: 20). + + -yN @@ -582,7 +631,7 @@ 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". - + @@ -592,7 +641,7 @@ 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 - + @@ -613,20 +662,29 @@ 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'. + For example, '-MC -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. - - + + + + + -Zi + + + Sets the incoming limit of maps in MegaBytes being sent to the server. If the the size of all maps in the 'incoming' + folder exceeds this limit new maps will be rejected (default: -Z10). + + -Dn - Sets the maximum number of recorded demos to be held in server RAM. + 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. @@ -639,7 +697,7 @@ -DI - Limit the demo downloading to intermission (it doubles the intermission time if someone is downloading a demo). + Limit the demo downloading to intermission (it doubles the intermission time if someone is downloading a demo). @@ -648,12 +706,12 @@ 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'). + -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'). @@ -673,7 +731,7 @@ 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. + 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.