1
// example servercmdline.txt file (1.0.3)
2
// to use this file, add -Cconfig/servercmdline.txt to your servers commandline
4
// * you can't use cubescript here!
5
// * everything after '//' in a line will be ignored
6
// * one commandline parameter per line only
7
// * you have to use the '-' characters for the switches
8
// * you can separate the switch and it's argument by whitespace
10
// see docs/commandline.html for full parameter descriptions
13
-o \f3server using example cmdline file (config/servercmdline.txt)\n\f2feel free to change this :)
15
-D 5 // please don't disable this...
18
// commonly used commandline switches:
21
// -n // server description
22
// -n1 // custom server description prefix
23
// -n2 // custom server description suffix
24
// -f // port, 1..65534, default 28763
25
// -c // max client number, 1..20, default 6
26
// -D // permanent demo recording, optionally +number of demos to keep in RAM, default 5
28
// the switches o, n, n1 and n2 support coloring and character escaping; 'o' also supports escaped newlines
29
// the available colors are: 0: green, 1: blue, 2: yellow, 3: red, 4: gray, 5: white, 6: dark brown, 7: dark red
30
// example multiline MOTD: -o line 1\nline 2\nline 3
31
// example colored server description: -n \f3red\f1blue
34
// change these, if you don't like the defaults:
36
// -k // kickthreshold, -1..-100, default -5
37
// -y // banthreshold, -1..-100, default -6
38
// -r // server maprot file, default config/maprot.cfg
39
// -X // server passwords file, default config/serverpwd.cfg
40
// -B // server IP blacklist file, default config/serverblacklist.cfg
41
// -K // server nickname blacklist file, default config/nicknameblacklist.cfg
42
// -P // voting permission string (read docs/commandline.html)
44
// b ban players (and remove bans)
45
// m change mastermode (open/private)
46
// f force a player to the other team
47
// a enable/disable autoteam
48
// s shuffle the teams
49
// r record a demo of the next game
50
// c clear all demos on server
51
// d change server description
52
// x vote for maps, that are not present on the server
53
// p vote for a gamemode that is not supported by the map
54
// default: fkBMasRCDxP (lowercase: a user can vote for it; uppercase: admin role is required to vote)
56
// rarely used switches:
58
// -p // serverpassword, for passworded servers
59
// -N // syslog identity string
60
// -F // syslog facility, 0..7, default 6
61
// -x // adminpasswd, don't use, use serverpwd.cfg instead
62
// -W // demopath, path & file prefix to store recorded demos at
63
// -V // verbose logging (enable this via commandline, until you're sure, there are no errors in your config left)
64
// -C // import commandline options from file (can be used recursively)
65
// -T // Add timestamps to every line of the console and file logs.
66
// -LF // Sets the logging level for file logs (0..5), default 2 (Win & Mac) or 5 (Linux)
67
// -LS // Sets the logging level for syslog logging (0..5), default 2 (Linux) or 5 (Win & Mac)
68
// The following levels can be selected (-LF & -LS):
69
// 0 DEBUG: logs all messages
70
// 1 VERBOSE: logs all messages of level VERBOSE and above (same as console log, when using the -V switch)
71
// 2 INFO: logs all messages of level INFO and above (same as console without -V switch)
72
// 3 WARNING: log only messages of level WARNING and above
73
// 4 ERROR: log only messages of level ERROR
74
// 5 do not write to the log
75
// -A // Restricts voting for a map to admins. This switch can be used several times.
77
// don't use this switches, unless you really know what you're doing:
80
// -i // ip, only for machines with multiple network interfaces
81
// -m // masterserver URL (exception: use "-m localhost", if you don't want AC to register at a masterserver at all)