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

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