xonotic_server_config.cfg 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. // Drummyfish's Xonotic server config
  2. // put in ~/.xonotic/data/server.cfg
  3. // by drummyfish, released under CC0 1.0, public domain
  4. // useful links:
  5. // https://xonotic.org/tools/cacs/
  6. // https://xonotic.fandom.com/wiki/Game_Server_Configuration
  7. sv_public 1
  8. hostname "Drummyfish advanced fun Ⓐ☮"
  9. set server_message "^2Welcome to drummyfish's relaxed server :) Everything is votable (type 'vhelp' into console). Many votes require restart of the game! This server is up only when I turn it on. ^1EVERYTHING IS WORK IN PROGRESS!^2 Please excuse connection issues. Peace and happy glhf. Ⓐ☮"
  10. sv_motd "${server_message}" // join message
  11. alias chat_server_message "say ${server_message}; defer 300 chat_server_message"
  12. alias chat_support "say ^2Capitalism enslaves humans! Don't forget to support public domain, free software and free culture. Be a pacifist.^7; defer 610 chat_support"
  13. chat_support
  14. chat_server_message
  15. //port 3466 // custom port to baypass some ISPs blocking "gaming" port
  16. maxplayers 20
  17. log_file "server.log"
  18. g_start_delay 15
  19. alias g_maplist "afterslime atelier boil catharsis courtfun dance drain erbium finalrage fuse geoplanetary glowplant implosion leave_em_behind nexballarena runningman runningmanctf silentsiege solarium space-elevator stormkeep warfare xoylent"
  20. sv_vote_call 1
  21. sv_vote_gametype 1
  22. sv_vote_gametype_options "ca dm ft tdm lms ctf nb dom kh duel"
  23. alias sv_hook_gamestart_all "defer 10 say_config"
  24. bot_prefix "[SUPERBOT] "
  25. //bot_suffix ""
  26. g_maplist_votable 8
  27. sv_taunt 1
  28. alias bots "minplayers 4; minplayers_per_team 2"
  29. //sv_maxidle 80 // idle time in seconds after which players will get kicked
  30. sv_weaponstats_file "http://www.xonotic.org/weaponbalance/"
  31. //g_antilag 2 // can try (0, 1 ,2)
  32. g_balance_teams 1
  33. g_balance_teams_prevent_imbalance 0
  34. g_spawnshieldtime 1
  35. v_vote_commands "restart fraglimit gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoauto shuffleteams bots nobots"
  36. addvote slowmo
  37. addvote g_grappling_hook
  38. addvote g_jetpack
  39. addvote g_midair
  40. addvote g_vampire
  41. addvote g_walljump
  42. addvote g_touchexplode
  43. addvote sv_gravity
  44. addvote g_bloodloss
  45. addvote g_powerups
  46. addvote set_defaults
  47. addvote vs_superbots
  48. addvote duel_superbot
  49. addvote leadlimit
  50. addvote g_weaponarena
  51. addvote no_vort
  52. addvote no_electro
  53. addvote no_electro_vort
  54. addvote weaponarena_random
  55. addvote bot_number
  56. addvote round_time
  57. addvote health
  58. addvote armor
  59. addvote g_use_ammunition
  60. addvote lol
  61. addvote self_damage
  62. addvote no_self_damage
  63. addvote g_sandbox
  64. addvote sv_cheats
  65. g_sandbox_object_scale_max 1000
  66. alias self_damage "teamplay_mode 3; teamplay 3"
  67. alias no_self_damage "teamplay_mode 1; teamplay 1"
  68. alias no_vort g_weaponarena "\"blaster shotgun crylink electro machinegun devastator mortar hagar\""
  69. alias no_electro g_weaponarena "\"blaster shotgun crylink vortex machinegun devastator mortar hagar\""
  70. alias no_electro_vort g_weaponarena "\"blaster shotgun crylink machinegun devastator mortar hagar\""
  71. alias health "g_balance_health_limit $1; g_balance_health_start $1; g_balance_health_rot 0; g_balance_health_rotlinear 0; g_pickup_healthsmall_max $1; g_pickup_healthmedium_max $1; g_pickup_healthbig_max $1; g_pickup_healthmega_max $1"
  72. alias armor "g_balance_armor_limit $1; g_balance_armor_start $1; g_balance_armor_rot 0; g_balance_armor_rotlinear 0; g_pickup_armorsmall_max $1; g_pickup_armormedium_max $1; g_pickup_armorbig_max $1; g_pickup_armormega_max $1"
  73. alias weaponarena_random "g_weaponarena 0; g_weaponarena_random 1"
  74. alias set_rand_h health ${tmp_h}
  75. alias set_rand_a armor ${tmp_a}
  76. alias lol "rpn /tmp_gt /dm /tdm 2 rand when /ca /ctf 2 rand when 2 rand when =; rpn /slowmo 12 rand 10 / 0.4 + =; rpn /sv_gravity 1400 rand 100 + =; gametype ${tmp_gt}; rpn /g_touchexplode 2 rand =; rpn /g_grappling_hook 2 rand =; rpn /g_bloodloss 2 rand =; rpn /g_walljump 2 rand =; rpn /g_jetpack 2 rand =; rpn /g_powerups 2 rand =; rpn /g_weaponarena /0 /all_available 4 rand when /devastator /blaster /vortex 2 rand when 2 rand when 4 rand when =; rpn /slowmo 10 rand 10 / 0.5 + =; rpn /bot_number 10 rand =; rpn /bot_vs_human 2 rand =; rpn /tmp_h 950 rand 50 + =; rpn /tmp_a 950 rand 50 + =; set_rand_h; set_rand_a; rpn /g_use_ammunition 2 rand =; restart"
  77. alias round_time "g_ca_round_timelimit ${1}; g_ctf_pass_timelimit ${1}; g_freezetag_round_timelimit ${1}; g_domination_round_timelimit ${1}"
  78. alias vs_superbots "restore_defaults; gametype tdm; against_bots; restart"
  79. alias duel_superbot "restore_defaults; against_bots; bot_number 1; g_maxplayers 1; restart"
  80. alias set_defaults "restore_defaults; restart"
  81. //--------------------------------- variable stuff:
  82. alias say_config "say ^2-- CURRENT CONFIG --^7 (to restore: vcall set_default); say fraglimit: ${fraglimit}; say timelimit: ${timelimit}; say leadlimit: ${leadlimit}; say hook: ${g_grappling_hook}; say jetpack: ${g_jetpack}; say midair: ${g_midair}; say vampire ${g_vampire}; say slowmo: ${slowmo}; say gravity: ${sv_gravity}; say powerups: ${g_powerups}; say weaponarena: ${g_weaponarena}; say weaponarena random: ${g_weaponarena_random}; say walljump: ${g_walljump}; say touch explode: ${g_touchexplode}; say bloodloss: ${g_bloodloss}; say bots: ${bot_number}; say round time: ${g_ca_round_timelimit}; say health: ${g_balance_health_start}; say armor: ${g_balance_armor_start}; ammo: ${g_use_ammunition}"
  83. alias restore_defaults "gametype dm; slowmo 1; timelimit_override 60; fraglimit_override 30; capturelimit_override 6; leadlimit 1000; g_lms_lives_override 10 skill 10; g_grappling_hook 0; g_jetpack 0; g_midair 0; g_vampire 0; sv_gravity 800; g_powerups 1; bot_vs_human 0; g_maxplayers 20; g_weaponarena 0; g_walljump 0; g_touchexplode 0; g_bloodloss 0; g_weaponarena_random 0; bot_number 0; g_balance_health_limit 200; g_balance_health_start 200; g_balance_health_rot 0.02; g_balance_armor_limit 200; g_balance_armor_start 200; g_balance_armor_rot 0.02; g_balance_health_rotlinear 1; g_balance_armor_rotlinear 0; g_use_ammunition 1; g_pickup_healthsmall_max 200; g_pickup_healthmedium_max 200; g_pickup_healthbig_max 200; g_pickup_healthmega_max 200; g_pickup_armorsmall_max 200; g_pickup_armormedium_max 200; g_pickup_armorbig_max 200; g_pickup_armormega_max 200; teamplay_mode 4; teamplay 0"
  84. alias against_bots "gametype tdm; bot_vs_human 1; g_powerups 0;"
  85. restore_defaults // set defaults on server start