servercmdline.txt 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. // example servercmdline.txt file (1.2)
  2. // to use this file, add -Cconfig/servercmdline.txt to your servers commandline
  3. //
  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
  9. //
  10. // see docs/commandline.html for full parameter descriptions
  11. // example MOTD:
  12. -o \f3server using example cmdline file (config/servercmdline.txt)\n\f2feel free to change this :)
  13. // commonly used commandline switches:
  14. // -o // MOTD
  15. // -n // server description
  16. // -n1 // custom server description prefix
  17. // -n2 // custom server description suffix
  18. // -f // port, 1..65534, default 28763
  19. // -c // max client number, 1..16, default 6
  20. // -D // number of demos to keep in RAM, default 5
  21. // -Y // 32-byte private server key (you should maybe include that from another config file and remove it from the server after startup)
  22. // -m // masterserver URL (no parameter uses default URL), if not set, the server will be LAN-only
  23. // the switches o, n, n1 and n2 support coloring and character escaping; 'o' also supports escaped newlines
  24. // the available colors are: 0: green, 1: blue, 2: yellow, 3: red, 4: gray, 5: white, 6: dark brown, 7: dark red
  25. // example multiline MOTD: -o line 1\nline 2\nline 3
  26. // example colored server description: -n \f3red\f1blue
  27. // change these, if you don't like the defaults:
  28. // -k // kickthreshold, -1..-100, default -5
  29. // -kA // kickthreshold (in seconds) for being AFK, > 30, default 45
  30. // -kB // time in minutes a banned player will stay banned, default 20
  31. // -y // banthreshold, -1..-100, default -6
  32. // -H // server logfile path, default logs/
  33. // -r // server maprot file, default config/maprot.cfg
  34. // -A // server parameter file, default config/serverparameters.cfg
  35. // -U // vitapath, path & filename prefix to store the server vita database at, default: config/servervita
  36. // -X // server passwords file, default config/serverpwd.cfg
  37. // -B // server IP blacklist file, default config/serverblacklist.cfg
  38. // -G // server geoip file, default config/geoip.cfg
  39. // -K // server nickname blacklist file, default config/nicknameblacklist.cfg
  40. // -g // server forbidden words file, default config/forbidden.cfg
  41. // -P // voting permission string (read docs/commandline.html)
  42. // k kick players
  43. // b ban players (and remove bans)
  44. // m change mastermode (open/private)
  45. // f force a player to the other team
  46. // a enable/disable autoteam
  47. // s shuffle the teams
  48. // r record a demo of the next game (if autorecording is disabled)
  49. // c clear all demos on server
  50. // d change server description
  51. // e vote for coopedit mode
  52. // p vote for a gamemode that is not supported by the map (default: no one can)
  53. // w vote to kick/ban without clear reasons
  54. // default: fkBMASRCDEW (lowercase: a user can vote for it; uppercase: admin role is required to vote)
  55. // -M // sendmap permission string (read docs/commandline.html)
  56. // c create new map (initial map upload)
  57. // u update existing map (same or newer revision)
  58. // r revert existing map to older revision
  59. // d delete map (default: no one can)
  60. // default: CRU (lowercase: any user is allowed to do it; uppercase: admin role is required)
  61. // -Z // sendmap/incoming limit in MB (default = 10MB)
  62. // -I // serverinfo text filename prefix, default config/serverinfo
  63. // -O // MOTD text filename prefix, default config/motd
  64. // rarely used switches:
  65. // -p // serverpassword, for passworded servers
  66. // -N // syslog identity string
  67. // -F // syslog facility, 0..7, default 6
  68. // -x // adminpasswd, don't use, use serverpwd.cfg instead
  69. // -W // demopath, path & file prefix to store recorded demos at
  70. // -V // verbose logging (enable this via commandline, until you're sure, there are no errors in your config left)
  71. // -C // import commandline options from file (can be used recursively)
  72. // -l // If set to 0, disable game status logging from server logs
  73. // -T // Add timestamps to every line of the console and file logs.
  74. // -LF // Sets the logging level for file logs (0..5), default 2 (Win & Mac) or 5 (Linux)
  75. // -LS // Sets the logging level for syslog logging (0..5), default 2 (Linux) or 5 (Win & Mac)
  76. // The following levels can be selected (-LF & -LS):
  77. // 0 DEBUG: logs all messages
  78. // 1 VERBOSE: logs all messages of level VERBOSE and above (same as console log, when using the -V switch)
  79. // 2 INFO: logs all messages of level INFO and above (same as console without -V switch)
  80. // 3 WARNING: log only messages of level WARNING and above
  81. // 4 ERROR: log only messages of level ERROR
  82. // 5 do not write to the log
  83. // don't use these switches, unless you really know what you're doing:
  84. // -u // uprate
  85. // -i // ip, only for machines with multiple network interfaces