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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. // This file stores only the rcon password.
  2. exec rconpw.cfg
  3. // Dumb thing keeps taking this from my client config file.
  4. music_playlist_list0 ""
  5. music_playlist_random0 ""
  6. //-----------------------------------------------
  7. // Server Specific
  8. //-----------------------------------------------
  9. hostname "/v/ Xonotic Server (NA Pacific, $g_xonoticversion)"
  10. sv_motd "Welcome.\nCheck for Xonotic threads on /v/ for playing times and upcoming events.\nPolling for scheduled weekend playing times begins on Wednesdays.\n\n^xf00All modes except CTS have a warmup stage. Ready up if you are.\n\n^xfffDo ^xf00NOT^xfff vote for Aquanica (DM map) if you haven't downloaded it from the thread already."
  11. sv_curl_defaulturl "http://98.176.140.2:15000/"
  12. //sv_curl_defaulturl "http://dl.xonotic.co/"
  13. sv_public 1
  14. sv_status_privacy 1
  15. log_file ""
  16. sv_vote_call 1
  17. maxplayers 16
  18. //-----------------------------------------------
  19. // Maps and Map Voting
  20. //-----------------------------------------------
  21. g_maplist ""
  22. g_maplist_votable 9
  23. g_maplist_shuffle 1
  24. g_maplist_votable_nodetail 0
  25. //-----------------------------------------------
  26. // vcall: Duel
  27. //-----------------------------------------------
  28. alias +duel "set g_maxplayers 2"
  29. alias -duel "set g_maxplayers 0"
  30. //-----------------------------------------------
  31. // Game Type & Per-Type Configurations
  32. //-----------------------------------------------
  33. gametype dm
  34. alias allgt_vote "sv_vote_commands \"restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoauto shuffleteams movetospec"\"
  35. alias cagt_vote "sv_vote_commands \"restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoauto"\"
  36. g_warmup_majority_factor 0.5
  37. // Disable respawn delay for defragging.
  38. // The timer will show up, but it is disregarded by pressing/holding space.
  39. g_cts_respawn_delay_small -1
  40. g_cts_respawn_delay_large -1
  41. // Kill players more timely after they finished.
  42. //g_cts_finish_kill_delay 2
  43. // Fall damage and weapon self damage disabled
  44. //g_cts_selfdamage 0
  45. // Server packages- q3 compatibility is really only an issue for CTS maps.
  46. // Other game modes don't have major issues.
  47. // csprogs will be outdated per server update.
  48. // this really didn't work.
  49. //sv_curl_serverpackages_auto 0
  50. //alias sv_stdpkg "csprogs-xonotic-v0.8.1.2520-g06ab161~.txt"
  51. //alias sv_ctspkg "csprogs-xonotic-v0.8.1.2520-g06ab161~.txt q3-xonotic_compatpack_v1.pk3.serverpackage"
  52. // g_playerclip_collisions are turned off for CTS because some mappers were
  53. // putting invisible walls at the spawn and blocking the map from being finishable.
  54. alias sv_defaultXon "g_playerclip_collisions 1; g_balance_kill_antispam 5; g_start_delay 15; g_powerups -1; g_warmup 1; g_norecoil 0; g_shootfromeye 0; g_spawnshieldtime 1; g_cts_selfdamage 1; g_cts_finish_kill_delay 10; set g_maxplayers 0; sv_autodemo_perclient 0;"
  55. alias sv_defaultXDF "g_playerclip_collisions 0; g_balance_kill_antispam 0; g_start_delay 3; g_powerups 0; g_warmup 0; sv_friction_slick 0; g_cts_selfdamage 0; g_cts_finish_kill_delay 2;"
  56. alias sv_defaultXPM "exec balance-xpm.cfg; g_norecoil 1; g_shootfromeye 1; g_spawnshieldtime 0; g_powerups 0; addvote +duel; addvote -duel;"
  57. // For cts have defrag physics, all others get vanilla,
  58. // Essentially set things for defrag and then unset for everything else.
  59. // Note: it is possible to "exec defaultXDF.cfg, but it's not clear what file would unset defrag
  60. // (and it's not defaultXonotic.cfg).
  61. alias sv_vote_gametype_hook_all "exec physicsX.cfg; exec balance-xonotic.cfg; sv_defaultXon; allgt_vote"
  62. alias sv_vote_gametype_hook_cts "exec physicsXDF.cfg; exec bal-wep-xdf.cfg; sv_defaultXDF"
  63. // Disable powerups because in FT it becomes a matter of which team has spawned near Strength.
  64. alias sv_vote_gametype_hook_ft "g_powerups 0"
  65. alias sv_vote_gametype_hook_ca "cagt_vote"
  66. // Permit duel vcalls for Deathmatch only.
  67. alias sv_vote_gametype_hook_dm "addvote +duel; addvote -duel"
  68. //-----------------------------------------------
  69. // Xonotic Pro Mode Deathmatch
  70. //-----------------------------------------------
  71. set sv_vote_gametype_xpmdm_type dm
  72. set sv_vote_gametype_xpmdm_name "DM (XPM)"
  73. set sv_vote_gametype_xpmdm_description "Deathmatch with Pro Mode configurations and rules."
  74. // Gametype hook does not inherit from DM.
  75. alias sv_vote_gametype_hook_xpmdm "sv_defaultXPM;"
  76. //-----------------------------------------------
  77. // Xonotic Pro Mode Duel
  78. //-----------------------------------------------
  79. set sv_vote_gametype_duel_type dm
  80. set sv_vote_gametype_duel_name "Duel (XPM)"
  81. set sv_vote_gametype_duel_description "One on one match."
  82. // Gametype hook does not inherit from DM.
  83. // Standard Xonotic physics is reset automatically on game mode vote.
  84. alias sv_vote_gametype_hook_duel "sv_defaultXPM; +duel;"
  85. //-----------------------------------------------
  86. // Komier's Experimental Balance
  87. //-----------------------------------------------
  88. set sv_vote_gametype_kdm_type dm
  89. set sv_vote_gametype_kdm_name "Experimental DM"
  90. set sv_vote_gametype_kdm_description "Adjusted weapon balance. Uses XPM rules."
  91. alias sv_vote_gametype_hook_kdm "sv_defaultXPM; exec xperimental-balance.cfg; sv_autodemo_perclient 1;"
  92. //-----------------------------------------------
  93. // Gametype Voting
  94. //-----------------------------------------------
  95. sv_vote_gametype 1
  96. sv_vote_gametype_options "dm tdm ctf ca ft lms kh cts ka xpmdm kdm duel"