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 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. // Needed for IRC bot
  2. rcon_secure 0
  3. // This file stores only the rcon password.
  4. exec rconpw.cfg
  5. //-----------------------------------------------
  6. // Server Specific
  7. //-----------------------------------------------
  8. hostname "/v/ Pacific [Xon/XPM/XDF | Voteable | $g_xonoticversion]"
  9. bot_prefix "^1∞ ^7| "
  10. skill 1337
  11. g_chat_flood_burst 15
  12. alias +motd "exec sv_motd.cfg"
  13. +motd
  14. //sv_curl_defaulturl "http://dl.xonotic.co/"
  15. sv_curl_defaulturl "http://98.176.82.170:15000/"
  16. sv_adminnick "server"
  17. 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).;";
  18. 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.;"
  19. sv_public 1
  20. sv_status_privacy 1
  21. log_file ""
  22. sv_vote_call 1
  23. sv_vote_nospectators 1
  24. maxplayers 16
  25. //-----------------------------------------------
  26. // Maps and Map Voting
  27. //-----------------------------------------------
  28. g_maplist_votable 9
  29. g_maplist_shuffle 1
  30. g_maplist_votable_nodetail 0
  31. g_maplist_votable_abstain 1
  32. g_maplist_mostrecent_count 0
  33. //-----------------------------------------------
  34. // vcall: Duel
  35. //-----------------------------------------------
  36. alias +duel "set g_maxplayers 2; +motd"
  37. alias -duel "set g_maxplayers 0; -motd"
  38. //-----------------------------------------------
  39. // vcall: Komier Weapons
  40. //-----------------------------------------------
  41. alias +komier-weapons "exec komier-weapons-v2.cfg"
  42. alias -komier-weapons "exec bal-wep-xonotic.cfg"
  43. //-----------------------------------------------
  44. // vcall: Smilecythe Physics
  45. //-----------------------------------------------
  46. alias +smile-physics "exec physicsXPM2.cfg"
  47. alias -smile-physics "exec physicsX.cfg"
  48. //-----------------------------------------------
  49. // vcall: XPM
  50. //-----------------------------------------------
  51. alias +xpm "sv_xpm; restart"
  52. //-----------------------------------------------
  53. // vcall: Server Bots
  54. //-----------------------------------------------
  55. alias +bots "exec sv_bots.cfg"
  56. alias -bots "minplayers 0"
  57. //-----------------------------------------------
  58. // Game Type & Per-Type Configurations
  59. //-----------------------------------------------
  60. sv_vote_nospecatators 1
  61. sv_vote_commands "+xpm +bots -bots allready lockteams unlockteams restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime movetospec movetoauto kick cointoss"
  62. g_warmup_majority_factor 0.5
  63. alias sv_nexuiz "exec balance-nexuiz25.cfg; exec physicsNexuiz25.cfg"
  64. alias sv_xon "exec sv_xon.cfg"
  65. alias sv_xdf "exec sv_xdf.cfg"
  66. alias sv_xpm "exec balance-xpm.cfg; exec sv_xpm.cfg; addvote +duel -duel +smile-physics -smile-physics;"
  67. alias sv_vote_gametype_hook_all "exec physicsX.cfg; exec balance-xonotic.cfg; sv_xon; +motd; +bots"
  68. alias sv_vote_gametype_hook_cts "exec physicsXDF.cfg; exec balance-xdf.cfg; sv_xdf; -bots"
  69. alias sv_vote_gametype_hook_ctf "timelimit_override 20"
  70. alias sv_vote_gametype_hook_tdm "timelimit_override 20"
  71. // Disable powerups because in FT it becomes a matter of which team has spawned near Strength.
  72. alias sv_vote_gametype_hook_ft "g_powerups 0"
  73. // Permit duel vcalls for Deathmatch only.
  74. alias sv_vote_gametype_hook_dm "addvote +duel -duel"
  75. //-----------------------------------------------
  76. // Xonotic Nexuiz
  77. //-----------------------------------------------
  78. set sv_vote_gametype_nexdm_type dm
  79. set sv_vote_gametype_nexdm_name "Nexuiz"
  80. set sv_vote_gametype_nexdm_description "Deathmatch and a blast from the past."
  81. set sv_vote_gametype_hook_nexdm "sv_nexuiz"
  82. //-----------------------------------------------
  83. // Xonotic Pro Mode Deathmatch
  84. //-----------------------------------------------
  85. set sv_vote_gametype_xpmdm_type dm
  86. set sv_vote_gametype_xpmdm_name "DM (XPM)"
  87. set sv_vote_gametype_xpmdm_description "Deathmatch with tournament settings enabled."
  88. // Gametype hook does not inherit from DM.
  89. alias sv_vote_gametype_hook_xpmdm "sv_xpm"
  90. //-----------------------------------------------
  91. // Xonotic Pro Mode Duel
  92. //-----------------------------------------------
  93. set sv_vote_gametype_duel_type dm
  94. set sv_vote_gametype_duel_name "Duel (XPM)"
  95. set sv_vote_gametype_duel_description "One on one match."
  96. // Gametype hook does not inherit from DM.
  97. // Standard Xonotic physics is reset automatically on game mode vote.
  98. alias sv_vote_gametype_hook_duel "sv_xpm; +duel; g_powerups 0; fraglimit_override 0; +bots; exec sv_maps_duel.cfg"
  99. //-----------------------------------------------
  100. // Komier's Experimental Balance
  101. //-----------------------------------------------
  102. set sv_vote_gametype_kdm_type dm
  103. set sv_vote_gametype_kdm_name "EDM (XPM)"
  104. set sv_vote_gametype_kdm_description "Experimental weapon balance improving viability for weapons outside of Mortar, Vortex, and Devastator."
  105. alias sv_vote_gametype_hook_kdm "sv_xpm; +komier-weapons;"
  106. //-----------------------------------------------
  107. // Sawa TDM Event
  108. //-----------------------------------------------
  109. set sv_vote_gametype_stdm_type tdm
  110. set sv_vote_gametype_stdm_name "TDM (XPM)"
  111. set sv_vote_gametype_stdm_description "15 minute 2v2 TDM with a lead limit of 40."
  112. alias sv_vote_gametype_hook_stdm "sv_xpm; g_powerups -1; g_maxplayers 4; timelimit_override 15; g_tdm_point_limit 0; g_tdm_point_leadlimit 40; timelimit_overtimes -1"
  113. //-----------------------------------------------
  114. // Race CTS: Slick (XDF)
  115. //-----------------------------------------------
  116. set sv_vote_gametype_slick_type cts
  117. set sv_vote_gametype_slick_name "Race CTS: Slick (XDF)"
  118. set sv_vote_gametype_slick_description "Defrag with a map pool of maps with slick surfaces."
  119. alias sv_vote_gametype_hook_slick "exec physicsXDF.cfg; exec bal-wep-xdf.cfg; sv_xdf; exec sv_maps_slick.cfg"
  120. //-----------------------------------------------
  121. // Xonotic Pro Mode CTF
  122. //-----------------------------------------------
  123. set sv_vote_gametype_xpmctf_type ctf
  124. set sv_vote_gametype_xpmctf_name "CTF (XPM)"
  125. set sv_vote_gametype_xpmctf_description "CTF with XPM rules and removed speed limit."
  126. alias sv_vote_gametype_hook_xpmctf "sv_xpm; +smile-physics; timelimit_override 20"
  127. //-----------------------------------------------
  128. // Gametype Voting
  129. //-----------------------------------------------
  130. sv_vote_gametype 1
  131. sv_vote_gametype_options "dm xpmdm kdm tdm ctf xpmctf cts ca ft ka stdm duel"