Server configuration files for the game Xonotic. Feat. multiple game modes and balance conventions each.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

server.cfg 7.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. exec defaultXonotic.cfg
  2. // IRC Bridge: Keep 0 for rcon2irc bridge which doesn't handle
  3. // challenge and timing based security well.
  4. rcon_secure 0
  5. // This file stores only the rcon password.
  6. exec rconpw.cfg
  7. //-----------------------------------------------
  8. // Server Specific
  9. //-----------------------------------------------
  10. //hostname "/v/ Pacific [Xon/XPM/XDF | Voteable | $g_xonoticversion]"
  11. hostname "/v/ Xonotic $g_xonoticversion Server"
  12. bot_prefix "^1∞ ^7| "
  13. skill 1337
  14. g_chat_flood_burst 15
  15. alias +motd "exec sv_motd.cfg"
  16. +motd
  17. sv_curl_defaulturl "http://dl.xonotic.co/"
  18. sv_adminnick "server"
  19. // Using Melanobot creates these variables.
  20. // Suppress any changes caused.
  21. set Melanobot_sv_adminnick "server"
  22. alias Melanobot_nick_pop "set sv_adminnick server; sv_adminnick"
  23. sv_public 1
  24. sv_status_privacy 1
  25. log_file ""
  26. sv_vote_call 1
  27. sv_vote_nospectators 1
  28. maxplayers 16
  29. //-----------------------------------------------
  30. // Maps and Map Voting
  31. //-----------------------------------------------
  32. g_maplist_votable 9
  33. g_maplist_shuffle 1
  34. g_maplist_votable_nodetail 0
  35. g_maplist_votable_abstain 1
  36. g_maplist_mostrecent_count 0
  37. //-----------------------------------------------
  38. // vcall: Komier Weapons
  39. //-----------------------------------------------
  40. alias +komier-weapons "exec komier-weapons-v2.cfg"
  41. alias -komier-weapons "exec bal-wep-xonotic.cfg"
  42. //-----------------------------------------------
  43. // vcall: Smilecythe Physics
  44. //-----------------------------------------------
  45. alias +smile-physics "exec physicsXPM2.cfg"
  46. alias -smile-physics "exec physicsX.cfg"
  47. //-----------------------------------------------
  48. // vcall: 1v1
  49. //-----------------------------------------------
  50. alias +1v1 "set g_maxplayers 2; +motd"
  51. alias -1v1 "set g_maxplayers 0; +motd"
  52. //-----------------------------------------------
  53. // vcall: XPM
  54. //-----------------------------------------------
  55. alias +xpm "sv_xpm; restart"
  56. //-----------------------------------------------
  57. // vcall: Duel
  58. //-----------------------------------------------
  59. alias +duel "+1v1; gametype dm; g_powerups 0; fraglimit_override 0; +xpm; +motd"
  60. //-----------------------------------------------
  61. // vcall: Hooney Duel
  62. //-----------------------------------------------
  63. alias +hooneyduel "+1v1; gametype ft; g_powerups 0; g_freezetag_warmup 0; g_freezetag_round_timelimit 0; g_freezetag_point_limit 0; timelimit_override 10; g_weaponarena \"off\"; +xpm; +motd"
  64. //-----------------------------------------------
  65. // vcall: Server Bots
  66. //-----------------------------------------------
  67. alias +bots "exec sv_bots.cfg"
  68. alias -bots "settemp minplayers 0"
  69. //-----------------------------------------------
  70. // Game Type & Per-Type Configurations
  71. //-----------------------------------------------
  72. alias sv_hook_gamestart_all "say ^7Welcome.; say ^7All matches on this server except XPM modes and CTS have a 2 minute warm up phase.; say ^7To begin the match, ready up (default key: ^1F4^7).; +bots";
  73. alias sv_hook_gamestart_cts "-bots"
  74. alias sv_hook_gameend "say ^7Thanks for playing.; say ^7Note: the server will default to keep the current game mode if there is a tie or no votes.; say ^7Join ^x3ee#xonotic.na^7 at ^x3eeirc.quakenet.org^7 for match notifications."
  75. sv_vote_nospecatators 1
  76. sv_vote_commands "+xpm +bots -bots +1v1 -1v1 +duel +hooneyduel allready lockteams unlockteams restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime movetospec movetoauto kick cointoss"
  77. exec sv_map_vcalls.cfg
  78. g_warmup_majority_factor 0.5
  79. alias sv_nexuiz "exec balance-nexuiz25.cfg; exec physicsNexuiz25.cfg"
  80. alias sv_xon "exec sv_xon.cfg"
  81. alias sv_xdf "exec sv_xdf.cfg"
  82. alias sv_xpm "exec balance-xpm.cfg; exec sv_xpm.cfg; addvote +smile-physics -smile-physics;"
  83. alias sv_vote_gametype_hook_all "exec physicsX.cfg; exec balance-xonotic.cfg; sv_xon; +motd;"
  84. alias sv_vote_gametype_hook_cts "exec physicsXDF.cfg; exec balance-xdf.cfg; sv_xdf;"
  85. alias sv_vote_gametype_hook_ctf "timelimit_override 20"
  86. alias sv_vote_gametype_hook_tdm "timelimit_override 20"
  87. // Disable powerups because in FT it becomes a matter of which team has spawned near Strength.
  88. alias sv_vote_gametype_hook_ft "timelimit_override 15; g_powerups 0"
  89. //-----------------------------------------------
  90. // Xonotic Nexuiz
  91. //-----------------------------------------------
  92. set sv_vote_gametype_nexdm_type dm
  93. set sv_vote_gametype_nexdm_name "Nexuiz"
  94. set sv_vote_gametype_nexdm_description "Deathmatch and a blast from the past."
  95. set sv_vote_gametype_hook_nexdm "sv_nexuiz"
  96. //-----------------------------------------------
  97. // Xonotic Pro Mode Deathmatch
  98. //-----------------------------------------------
  99. set sv_vote_gametype_xpmdm_type dm
  100. set sv_vote_gametype_xpmdm_name "DM (XPM)"
  101. set sv_vote_gametype_xpmdm_description "Deathmatch with tournament settings enabled."
  102. // Gametype hook does not inherit from DM.
  103. alias sv_vote_gametype_hook_xpmdm "sv_xpm"
  104. //-----------------------------------------------
  105. // Xonotic Pro Mode Duel
  106. //-----------------------------------------------
  107. set sv_vote_gametype_duel_type dm
  108. set sv_vote_gametype_duel_name "Duel (XPM)"
  109. set sv_vote_gametype_duel_description "One on one match."
  110. // Gametype hook does not inherit from DM.
  111. // Standard Xonotic physics is reset automatically on game mode vote.
  112. alias sv_vote_gametype_hook_duel "sv_xpm; +1v1; g_powerups 0; fraglimit_override 0; +bots; exec sv_maps_duel.cfg"
  113. //-----------------------------------------------
  114. // Komier's Experimental Balance
  115. //-----------------------------------------------
  116. set sv_vote_gametype_kdm_type dm
  117. set sv_vote_gametype_kdm_name "EDM (XPM)"
  118. set sv_vote_gametype_kdm_description "Experimental weapon balance improving viability for weapons outside of Mortar, Vortex, and Devastator."
  119. alias sv_vote_gametype_hook_kdm "sv_xpm; +komier-weapons;"
  120. //-----------------------------------------------
  121. // Sawa TDM Event
  122. //-----------------------------------------------
  123. set sv_vote_gametype_stdm_type tdm
  124. set sv_vote_gametype_stdm_name "TDM (XPM)"
  125. set sv_vote_gametype_stdm_description "15 minute Team Deathmatch with a lead limit of 40."
  126. alias sv_vote_gametype_hook_stdm "sv_xpm; g_powerups -1; timelimit_override 15; g_tdm_point_limit 0; g_tdm_point_leadlimit 40; timelimit_overtimes -1"
  127. //-----------------------------------------------
  128. // Race CTS: Slick (XDF)
  129. //-----------------------------------------------
  130. set sv_vote_gametype_slick_type cts
  131. set sv_vote_gametype_slick_name "Race CTS: Slick (XDF)"
  132. set sv_vote_gametype_slick_description "Defrag with a map pool of maps with slick surfaces."
  133. alias sv_vote_gametype_hook_slick "exec physicsXDF.cfg; exec bal-wep-xdf.cfg; sv_xdf; exec sv_maps_slick.cfg"
  134. //-----------------------------------------------
  135. // Xonotic Pro Mode CTF
  136. //-----------------------------------------------
  137. set sv_vote_gametype_xpmctf_type ctf
  138. set sv_vote_gametype_xpmctf_name "CTF (XPM)"
  139. set sv_vote_gametype_xpmctf_description "CTF with XPM rules and removed speed limit."
  140. alias sv_vote_gametype_hook_xpmctf "sv_xpm; +smile-physics; timelimit_override 20"
  141. //-----------------------------------------------
  142. // Gametype Voting
  143. //-----------------------------------------------
  144. sv_vote_gametype 1
  145. sv_vote_gametype_options "stdm xpmctf duel tdm ctf cts ft ka dm"