maprot.cfg 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. // Server Side Maprotations...
  2. // WARNING: You can NOT use CubeScript in here!!
  3. // This file specifies a set of rules for the maps to be played on the server. The server automatically uses all available
  4. // maps, so this list only needs to specify general settings and exceptions. It is not necessary, to mention every map here.
  5. // The file is read from top to bottom, so if settings conflict, values from further down overwrite earlier ones (like all
  6. // settings in this file overwrite builtin general defaults). Essentially, every combination of map and mode has a set of
  7. // values for all keywords.
  8. // per line: map_name list_of_modes keyword:value [keyword:value] [keyword:value] ...
  9. // map_name:
  10. // - a corresponding map file needs to be in packages/maps/official, packages/maps/servermaps or packages/maps/servermaps/incoming
  11. // - the file ending "cgz" will be added automatically
  12. // - map name can end with an asterisk to match multiple maps, as single "*" will match all maps
  13. // - map names can only contain: lowercase chars, digits, '_', '-' and '.'
  14. // list_of_modes: (no spaces)
  15. // - can contain any number and combination of these: ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv
  16. // keywords: (no spaces between keyword and value allowed)
  17. // - weight: values range from -100 to +100 and influence how often a map+mode will be played (higher number: more often)
  18. // - repeat: values range from -100 to +100 and influence how fast a map+mode can be played again (higher number: sooner)
  19. // - time: default game time in minutes
  20. // - mintime: minimum voteable game time in minutes
  21. // - maxtime: maximum voteable game time in minutes
  22. // - minplayers: minimum number of players for the map+mode to be suggested
  23. // - maxplayers: maximum number of players for the map+mode to be suggested
  24. // - maxteamsize: maximum number of active players per team (total for ffa modes)
  25. // - teamthreshold: number of players that mark the threshold between "better play team" and "better play ffa"
  26. // - manual: 1:map+mode will not be suggested by the server (users need to vote for this map+mode themselves)
  27. // - restrict: 0:player, 1:master, 2:admin, 3:owner 9:elvis (default is 0)
  28. // (weight and repeat values can accumulate within their boundaries)
  29. // default settings for all maps:
  30. * ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv mintime:4 maxtime:20 teamthreshold:4 // all modes
  31. * ctf|htf|tdm|tktf|tlss|tosok|tpf|tsurv time:15 maxteamsize:6 minplayers:4 // team modes
  32. * dm|ktf|lss|osok|pf|surv time:10 maxteamsize:10 maxplayers:7 // ffa modes
  33. // default tweaks
  34. * lss|osok|surv|tlss|tosok|tsurv weight:-10 // be careful with suggesting arena modes automatically
  35. * pf|surv|tlss|tpf|tsurv manual:1 // players need to really want these
  36. * ctf weight:10 // some players like this mode
  37. // map-specific setting for official maps: (some examples)
  38. //ac_douze ctf manual:1 restrict:9 // disable ctf douze, if it were a possible game mode
  39. //ac_avenue ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9 // completely disable ac_avenue
  40. //ac_shine ctf repeat:-50 // not too often