123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- // example servercmdline.txt file (1.3)
- // to use this file, add -Cconfig/servercmdline.txt to your servers commandline
- //
- // * you can't use cubescript here!
- // * everything after '//' in a line will be ignored
- // * one commandline parameter per line only
- // * you have to use the '-' characters for the switches
- // * you can separate the switch and it's argument by whitespace
- //
- // see docs/commandline.html for full parameter descriptions
- //
- // If you want to make COOP only possible for admins: you need to set (at least) -P and -M like so:
- // -P fkbpMASRCDEPtwX
- // -M CRU
- // example MOTD:
- -o \f3server using example cmdline file (config/servercmdline.txt)\n\f2feel free to change this :)
- // commonly used commandline switches:
- // -o // MOTD
- // -n // server description
- // -n1 // custom server description prefix
- // -n2 // custom server description suffix
- // -f // port, 1..65534, default 28763
- // -c // max client number, 1..16, default 6
- // -D // number of demos to keep in RAM, default 5
- // -Y // 32-byte private server key (you should maybe include that from another config file and remove it from the server after startup)
- // -m // masterserver URL (no parameter uses default URL), if not set, the server will be LAN-only
- -Y AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA // this default value is a security risk so please define your own private server key (!!)
- // the switches o, n, n1 and n2 support coloring and character escaping; 'o' also supports escaped newlines
- // the available colors are: 0: green, 1: blue, 2: yellow, 3: red, 4: gray, 5: white, 6: dark brown, 7: dark red
- // example multiline MOTD: -o line 1\nline 2\nline 3
- // example colored server description: -n \f3red\f1blue
- // change these, if you don't like the defaults:
- // -k // kickthreshold, -1..-100, default -5
- // -kA // kickthreshold (in seconds) for being AFK, > 30, default 45
- // -kB // time in minutes a banned player will stay banned, default 20
- // -y // banthreshold, -1..-100, default -6
- // -H // server logfile path, default logs/
- // -r // server maprot file, default config/maprot.cfg
- // -A // server parameter file, default config/serverparameters.cfg
- // -U // vitapath, path & filename prefix to store the server vita database at, default: config/servervita
- // -X // server passwords file, default config/serverpwd.cfg
- // -B // server IP blacklist file, default config/serverblacklist.cfg
- // -G // server geoip file, default config/geoip.cfg
- // -K // server nickname blacklist file, default config/nicknameblacklist.cfg
- // -g // server forbidden words file, default config/forbidden.cfg
- // -P // permission string (read docs/commandline.html)
- // k vote to kick players
- // b vote to ban players (and remove bans)
- // m vote to change mastermode (open/private)
- // f vote to force a player to the other team
- // a vote to enable/disable autoteam
- // s vote to shuffle the teams
- // r vote to record a demo of the next game (if autorecording is disabled)
- // c vote to clear all demos on server
- // d vote to change server description
- // e vote for coopedit mode
- // w vote to kick without clear reasons
- // x vote to ban without clear reasons
- // p vote to pause or resume match
- // t send private messages to any player
- // default: fkbpMASRCDePtwX (lowercase: a user can perform the action; uppercase: admin role is required to perform the action)
- // -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: cruD (lowercase: any user is allowed to do it; uppercase: admin role is required)
- // -Z // sendmap/incoming limit in MB (default = 10MB)
- // -I // serverinfo text filename prefix, default config/serverinfo
- // -O // MOTD text filename prefix, default config/motd
- // rarely used switches:
- // -p // serverpassword, for passworded servers
- // -N // syslog identity string
- // -F // syslog facility, 0..7, default 6
- // -x // adminpasswd, don't use, use serverpwd.cfg instead
- // -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)
- // -l // If set to 0, disable game status logging from server logs
- // -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
- // don't use these switches, unless you really know what you're doing:
- // -u // uprate
- // -i // ip, only for machines with multiple network interfaces
|