File: servercmdline.txt

package info (click to toggle)
assaultcube-data 1.0.4%2Brepack1-1
  • links: PTS, VCS
  • area: non-free
  • in suites: squeeze
  • size: 60,024 kB
  • ctags: 15,165
  • sloc: cpp: 34,920; ansic: 20,515; xml: 3,864; sh: 3,408; objc: 975; cs: 350; makefile: 146
file content (82 lines) | stat: -rw-r--r-- 4,086 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// example servercmdline.txt file (1.0.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

// example MOTD:
 -o \f3server using example cmdline file (config/servercmdline.txt)\n\f2feel free to change this :)

 -D 5     // please don't disable 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..20, default 6
// -D     // permanent demo recording, optionally +number of demos to keep in RAM, default 5

// 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
// -y     // banthreshold, -1..-100, default -6
// -r     // server maprot file, default config/maprot.cfg
// -X     // server passwords file, default config/serverpwd.cfg
// -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
          //    c clear all demos on server
          //    d change server description
          //    x vote for maps, that are not present on the server
          //    p vote for a gamemode that is not supported by the map
          //    default: fkBMasRCDxP (lowercase: a user can vote for it; uppercase: admin role is required to vote)

// 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)
// -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:

// -u     // uprate
// -i     // ip, only for machines with multiple network interfaces
// -m     // masterserver URL (exception: use "-m localhost", if you don't want AC to register at a masterserver at all)