From e50c1013166dbbaa2c9cc8f91c51332679f78a12 Mon Sep 17 00:00:00 2001 From: ac_stef Date: Wed, 3 Jun 2009 13:52:56 +0000 Subject: [PATCH] describe new commandline parameters git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4464 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/servercmdline.txt | 48 ++++++++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 19 deletions(-) diff --git a/config/servercmdline.txt b/config/servercmdline.txt index 23a4b889..2585fabf 100644 --- a/config/servercmdline.txt +++ b/config/servercmdline.txt @@ -10,7 +10,7 @@ // see docs/commandline.html for full parameter descriptions // example MOTD: - -o \f3server using example cmdline file\n\f2feel free to change this :) + -o \f3server using example cmdline file (config/servercmdline.txt)\n\f2feel free to change this :) // commonly used commandline switches: @@ -38,24 +38,24 @@ // -B // server IP blacklist file, default config/serverblacklist.cfg // -K // server nickname blacklist file, default config/nicknameblacklist.cfg // -P // voting permission string (read docs/commandline.html) -// 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) -// default: fkBMasRCDE (lowercase: a user can vote for it; uppercase: admin role is required to vote) + // 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) + // default: fkBMasRCDE (lowercase: a user can vote for it; uppercase: admin role is required to vote) // -M // sendmap permission string (read docs/commandline.html) -// c create new map (initial map upload) -// u update existing map (same or newer revision) -// r revert existing map to older revision -// d delete map (default: no one can) -// default: CRU (lowercase: any user is allowed to do it; uppercase: admin role is required) + // c create new map (initial map upload) + // u update existing map (same or newer revision) + // r revert existing map to older revision + // d delete map (default: no one can) + // default: CRU (lowercase: any user is allowed to do it; uppercase: admin role is required) // rarely used switches: @@ -66,7 +66,17 @@ // -W // demopath, path & file prefix to store recorded demos at // -V // verbose logging (enable this via commandline, until you're sure, there are no errors in your config left) // -C // import commandline options from file (can be used recursively) - +// -T // Add timestamps to every line of the console and file logs. +// -LF // Sets the logging level for file logs (0..5), default 2 (Win & Mac) or 5 (Linux) +// -LS // Sets the logging level for syslog logging (0..5), default 2 (Linux) or 5 (Win & Mac) + // The following levels can be selected (-LF & -LS): + // 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) + // 3 WARNING: log only messages of level WARNING and above + // 4 ERROR: log only messages of level ERROR + // 5 do not write to the log +// -A // Restricts voting for a map to admins. This switch can be used several times. // don't use this switches, unless you really know what you're doing: