Advertisement
enduser

xanotic-test-server-cfg

Feb 11th, 2013
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.10 KB | None | 0 0
  1. // A setting needs to be surrounded with " if it contains special
  2. // characters like space, semicolon (seperates commands) or starts
  3. // with // (begins a comment for the rest of the line or next
  4. // semicolon). While just "" means 'no/empty setting'.
  5.  
  6. /////////////////////////////////////////////////////////////////////
  7. // Everything has some sensible defaults so you do NOT really need to
  8. // change anything. But here are some settings you SHOULD change to
  9. // make it 'YOUR' server. IF so remove the // from the line start and
  10. // change them to your liking.
  11.  
  12. //sv_public 1 // 0 if the server should not be on the public servers list
  13. //sv_status_privacy 1 // 1 hides IP addresses from "status" replies shown to clients, 0 shows them. Enables players to identify wellknown punks on your server OR is a thread to anonymity.. depending on your point of view :)
  14. hostname "Freakzilla - Testing - $g_xonoticversion" // this name will appear on the server list (the $g_xonoticversion gets replaced with the current version)
  15. //sv_motd "" // this message (unless "") is displayed to players on connect
  16. //maxplayers 8 // number of players allowed on the server
  17. port 26010 // the port used by the server
  18. log_file "server-ft.log" // server console output will also be copied to this file. This: "${serverconfig}.log" uses variable substitution to make the logfile have the same name as your config file with .log appended which is useful if you run several servers
  19. //g_start_delay 15 // delay before the game starts to let players join the server first
  20.  
  21. // List of maps to play on the server. Set to "" to autodetect (which would enumerate ALL maps. Maps that don't support the current game mode will be skipped, so you don't need to remove them here.
  22. g_maplist "afterslime dance g-23 glowplant leave_em_behind newtonian-nightmare nexballarena red-planet runningman space-elevator stormkeep techassault xoylent"
  23. //g_maplist_shuffle 1 // 0 always selects the next map out of g_maplist (but then better set g_maplist_votable 0 below to prevent repetitive votes), 1 will select random maps each time
  24. //g_maplist_mostrecent_count 3 // number of maps that have to be played before a map can be repeated
  25.  
  26. // LIMITS: how long a match will last before the next map starts (-1 means use the map default, 0 = unlimited, please note that the variables fraglimit/timelimit can NOT be globally used for this but only DURING a match is being played)
  27. timelimit_override 1 // global timelimit for all maps and gametypes
  28. //fraglimit_override -1 // global frag/point limit for all maps and gametypes
  29. //g_ctf_capture_limit -1 // frag/capture limit for CTF
  30. //capturelimit_override -1 // capture limit for CTF
  31. //g_domination_point_limit -1 // frag/point limit for DOM
  32. //g_runematch_point_limit -1 // frag/point limit for RUNE
  33. //g_keyhunt_point_limit -1 // frag/point limit for KH
  34. //g_lms_lives_override -1 // lives for LMS
  35. //g_nexball_goallimit -1 // goals for NEXBALL
  36.  
  37. //g_ctf_win_mode 0 // CTF win mode: 0 = caps only, 1 = caps + points as tie breaker, 2 = points only
  38. //g_ctf_ignore_frags 1 // set to 1 to ignore kills except for FC kills
  39.  
  40. // TEAMS for key hunt (change this to 2, 3, 4 to set a fixed keyhunt style)
  41. //g_keyhunt_teams_override -1 // teams for KH
  42.  
  43. // GAME MODE: what type of server do you want to host?
  44. // possible values: dm (deathmatch), tdm (team deathmatch), dom (domination), ctf (ctf), rune (runematch), lms (last man standing), arena (arena), kh (keyhunt), as (assault), ons (onslaught), race (race), nexball (nexball)
  45. //gametype dm
  46.  
  47.  
  48.  
  49.  
  50. /////////////////////////////////////////////////////////////////////
  51. // Some settings you MIGHT want to change. Again IF so remove the //
  52. // from the line start and change them to your liking.
  53.  
  54. //net_address 0.0.0.0 // ONLY change this if you have problems with your server. Specifies the network interface used by the engine. Set it you one of you internal IPs
  55.  
  56. //rcon_password "" // you can use rcon if this password is set. you need to set the same password in your client if you want to issue rcon commands
  57. //rcon_restricted_password "" // put here the password for a "restricted" rcon user (see below)
  58.  
  59. bot_number 4 // number of bots to add
  60. //skill 4 // the bots skill level
  61. //minplayers 0 // add bots if less then that number of players playing. MAKE SURE ITS LESS THEN maxplayers or people will get blocked by bots!
  62. //g_maxplayers 0 // above this player count, only allow spectators
  63. //bot_prefix [BOT] // prepend this to all botnames
  64. //bot_suffix "" // append this to all botnames
  65. //g_maplist_check_waypoints 0 // set this to 1 to skip maps without waypoints if there aren't enough players to play without bots
  66.  
  67. //g_maplist_votable 6 // number of maps to vote between. set to 0 to disable the map voting screen (please enable g_maplist_shuffle above when this is enabled, or votes will be repetitive)
  68. //g_maplist_votable_suggestions 2 // number of suggestions to accept using the suggestmap command
  69. //g_maplist_votable_abstain 0 // when 1, people get a "don't care" selection in the vote screen
  70. //g_maplist_votable_nodetail 1 // when 1, people can't see how many voted for what (to thwart abusive "influential" first votes)
  71.  
  72. //sv_vote_commands "restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoauto" // players can vote for those commands or use them if they are masters. You canm also add 'g_grappling_hook' for hook voting, and 'sv_fbskin_green sv_fbskin_red sv_fbskin_orange sv_fbskin_off' for fbskin voting.
  73. //sv_vote_master_commands "movetored movetoblue movetoyellow movetopink" // add commands masters can use if logged in or elected. You may want to put 'kickban' here, so masters can keep out punks. It may be good to also put "sv_status_privacy 0" then...
  74. //rcon_restricted_commands "restart fraglimit chmap gotomap endmatch reducematchtime extendmatchtime allready kick kickban \"sv_cmd bans\" \"sv_cmd unban\" status \"sv_cmd teamstatus\" movetoauto movetored movetoblue movetoyellow movetopink" // commands for the (stronger) rcon restricted
  75.  
  76. //sv_vote_call 1 // 0 will disable the normal voting
  77. //sv_vote_master 1 // 0 will disable voting to become master, good if you prefer to use the master password instead
  78. //sv_vote_master_password "" // when set, vlogin PWD will allow people to become master to run master commands directly using vdo
  79. //sv_vote_majority_factor 0.5 // What percentage of the PLAYERS constitute a majority to win a vote? must be at least 0.5
  80. //sv_vote_majority_factor_of_voted 0 // What percentage of the VOTERS who already voted constitute a majority to win a vote? must be at least 0.5
  81. // note: to JUST support simple majorities, set these two factors equal
  82.  
  83. //sv_maxidle 0 // idle time in seconds after which players will get kicked
  84.  
  85. //sv_taunt 1 // 0 to disallow taunts
  86. //sv_autotaunt 1 // 0 to disallow autotaunts
  87.  
  88.  
  89. /////////////////////////////////////////////////////////////////////
  90. // Settings you MIGHT want to change for PRIVACY reasons.
  91. //
  92. // The settings here may impact your or your players' privacy and serve to
  93. // optimize the game for further releases.
  94. //
  95. // Change them, or comment them out to turn them off.
  96.  
  97. // This line sends the following data to our servers:
  98. // - Date and time
  99. // - Your server IP address
  100. // - Your server ID hash, which is a fingerprint of the public key of your
  101. // server and does not impact security of your private key (use "crypto_keys"
  102. // on the console to show it)
  103. // - Your server name ("hostname")
  104. // - Current game type
  105. // - Current map
  106. // - Balance settings you have modified from defaults (only those that make
  107. // your server "impure")
  108. // - For each weapon pairing (A, B), separately for player-player, player-bot,
  109. // bot-player, bot-bot pairings:
  110. // - Number of hits of players/bots holding A against players/bots holding B
  111. // - Number of frags of players/bots holding A against players/bots holding B
  112. // - Total damage of players/bots holding A against players/bots holding B
  113. //
  114. // We use this data to:
  115. // - Optimize the game balance for future releases
  116. // - Identify problems in the bot AI and improving it
  117. // - Find settings that make servers "impure" that should not, so we can
  118. // whitelist them in future releases
  119. //
  120. // We will or might publish:
  121. // - Global weapon pairing statistics for players vs players, or bots vs bots,
  122. // or any vs any, on a selection of servers
  123. // - Per-gametype and per-map weapon pairing statistics players vs players, or
  124. // bots vs bots, or any vs any, on a selection of servers
  125. // - Lists of commonly changed cvars, together with counts on how often they
  126. // are modified
  127. //
  128. // No information about the players on the server is sent, so as a server admin
  129. // you need no permission of your players for this.
  130. //
  131. // No information about your server will be published - all published data sets
  132. // will include data from multiple servers.
  133. //
  134. sv_weaponstats_file http://www.xonotic.org/weaponbalance/
  135.  
  136.  
  137.  
  138.  
  139. /////////////////////////////////////////////////////////////////////
  140. // Some more advanced settings. You probably are not interested in changing them at all.
  141.  
  142. //sys_ticrate 0.0333333 // change to 0.0166667 if your server can take the abuse, can make the game a bit more fluent
  143.  
  144. //sv_ready_restart 0 // 1 to allow players to restart the map when all of them press the ready button
  145. //sv_ready_restart_after_countdown 0 // if set to 1 the players and map items are reset after the countdown ended, otherwise they're reset already at the beginning of the countdown
  146. //sv_ready_restart_repeatable 0 "allows the players to restart the game as often as needed
  147. //sv_autoscreenshot 0 // 1 will force a screenshot for all clients when the map ends. Useful for competitions or the ladder.
  148.  
  149. //g_antilag 2 // 0 to disable the antilag feature, 1 and 2 use different methods
  150.  
  151. //sv_maxrate 1000000 // limits client connections to this rate in bytes/seconds
  152.  
  153. // see Docs/mapdownload.txt for more info
  154. //sv_curl_defaulturl http://www.xonotic.com/contentdownload/getmap.php?file= //fallback download URL
  155.  
  156. //sv_defaultcharacter 0 // 1 will force a specific model for all players
  157. //sv_defaultplayermodel models/player/nexus.zym // this model will be used
  158. //sv_defaultplayerskin 0 // this skin number will be forced for all players
  159. //sv_defaultplayercolors "" // you can even force player colors here (16*shirt+pants)
  160. //g_fullbrightplayers 0 // 1 to make players fullbright
  161. //g_fullbrightitems 0 // 1 to make items fullbright
  162.  
  163. //g_balance_teams 1 // 0 will show players the team selection menu after joining instead of automaticly putting them on the smaller team
  164. //g_balance_teams_force 0 // 1 to automaticly balance teams even during a game
  165.  
  166. //g_ban_sync_uri "http://94.23.21.40/~xonotic/bans/" // sync bans using this ban list provider (disabled by default, uncomment this line to enable)
  167. //g_ban_sync_trusted_servers "" // accept bans that were initially set on the server IPs listed here (if not set, your bans are just sent to the sync URIs, but no bans are retrieved from there)
  168.  
  169. //g_spawnshieldtime 1 // time for which players are protected after spawn
  170.  
  171.  
  172. /////////////////////////////////////////////////////////////////////
  173. // "Obvious" mutators that are allowed on a "pure" server
  174. //g_minstagib 0 // set to 1 for MinstaGib
  175. //g_weapon_stay 0 // set to 1, 2 or 3 for different weapon-stay modes (1 = traditional, 2 = no ammo but allow throwing, 3 = ghost weapon stay)
  176. //g_powerups -1 // set to 0 to turn off strength/quad and shield/invincible, and set to 1 to turn them on even in game modes that normally have them turned off
  177.  
  178.  
  179.  
  180.  
  181. /////////////////////////////////////////////////////////////////////
  182. // WARNING: anything below this line makes your server "impure"!
  183.  
  184. // enable some mutators you'd like
  185. //g_cloaked 0 // set to 1 for transparent hard to see players
  186. //g_grappling_hook 0 // set to 1 to enable the hook (allowed on "pure" server in MinstaGib)
  187. //g_jetpack 0 // set to 1 to enable the jetpack (allowed on "pure" server in MinstaGib)
  188. //g_laserguided_missile 0 // set to 1 for laser guided missiles in the RL
  189. //g_midair 0 // set to 1 to make only midair damage count
  190. //g_vampire 0 // set to 1 to give players the damage they cause as health
  191. //sv_gravity 800 // for low gravity, set this somewhere between 50 and 400
  192.  
  193. // select AT MOST one of these arena mutators (if you didn't select g_minstagib)
  194. //g_nix is "0" ["0"] No Items Xonotic - instead of pickup items, everyone plays with the same weapon. After some time, a countdown will start, after which everyone will switch to another weapon, and so on
  195. //g_nix_with_healtharmor is "0" ["0"] when 1, health and armor still show up in NIX
  196. //g_nix_with_laser is "0" ["0"] always carry the laser as an additional weapon in NIX
  197. //g_nix_with_powerups is "0" ["0"] when 1, powerups still show up in NIX
  198.  
  199.  
  200. alias tourneysettings "fraglimit_overide 0; g_tourney 1; minplayers 0; teamplay_mode 2"
  201. alias publicsettings "fraglimit_override -1; g_tourney 0; minplayers 4; teamplay_mode 4"
  202.  
  203. alias 1v1dm "gametype dm; g_maxplayers 2; tourneysettings;g_powerup_strength 0;endmatch"
  204. alias 2v2tdm "gametype tdm; g_maxplayers 4; tourneysettings;g_powerup_strength 1;endmatch"
  205. alias 3v3tdm "gametype tdm; g_maxplayers 6; tourneysettings;g_powerup_strength 1;endmatch"
  206. alias 4v4tdm "gametype tdm; g_maxplayers 8; tourneysettings;g_powerup_strength 1;endmatch"
  207. alias 5v5tdm "gametype tdm; g_maxplayers 10;tourneysettings;g_powerup_strength 1;endmatch"
  208. alias 2v2ctf "gametype ctf; g_maxplayers 4; tourneysettings;g_powerup_strength 1;endmatch"
  209. alias 3v3ctf "gametype ctf; g_maxplayers 6; tourneysettings;g_powerup_strength 1;endmatch"
  210. alias 4v4ctf "gametype ctf; g_maxplayers 8; tourneysettings;g_powerup_strength 1;endmatch"
  211. alias 5v5ctf "gametype ctf; g_maxplayers 10;tourneysettings;g_powerup_strength 1;endmatch"
  212. alias 2v2ca "gametype ca; g_maxplayers 4; tourneysettings;g_powerup_strength 1;endmatch"
  213. alias 3v3ca "gametype ca; g_maxplayers 6; tourneysettings;g_powerup_strength 1;endmatch"
  214. alias 4v4ca "gametype ca; g_maxplayers 8; tourneysettings;g_powerup_strength 1;endmatch"
  215. alias 5v5ca "gametype ca; g_maxplayers 10;tourneysettings;g_powerup_strength 1;endmatch"
  216. alias dm "gametype dm; g_maxplayers 0; publicsettings;g_powerup_strength 1;endmatch"
  217. alias infection "gametype infection; g_maxplayers 0; publicsettings;g_powerup_strength 1;endmatch"
  218. alias freezetag "gametype freezetag; g_maxplayers 0; publicsettings;g_powerup_strength 1;endmatch"
  219. alias tdm "gametype tdm; g_maxplayers 0; publicsettings;g_powerup_strength 1;endmatch"
  220. alias ctf "gametype ctf; g_maxplayers 0; publicsettings;g_powerup_strength 1;endmatch"
  221. alias ca "gametype ca; g_maxplayers 0; publicsettings;g_powerup_strength 1;endmatch"
  222. alias assault "gametype as; g_maxplayers 0; publicsettings;g_powerup_strength 1;endmatch"
  223. alias keepaway "gametype keepaway; g_maxplayers 0; publicsettings;g_powerup_strength 1;endmatch"
  224. alias nexball "gametype nexball; g_maxplayers 0; publicsettings;g_powerup_strength 1;endmatch"
  225. alias domination "gametype dom; g_maxplayers 0; publicsettings;g_powerup_strength 1;endmatch"
  226. alias keyhunt "gametype kh; g_maxplayers 0; publicsettings;g_powerup_strength 1;endmatch"
  227. alias rune "gametype rune; g_maxplayers 0; publicsettings;g_powerup_strength 1;endmatch"
  228. alias arena "gametype arena; g_maxplayers 0; publicsettings;g_powerup_strength 1;endmatch"
  229. alias lms "gametype lms; g_maxplayers 0; publicsettings;g_powerup_strength 1;endmatch"
  230. alias onslaught "gametype onslaught; g_maxplayers 0; publicsettings;g_powerup_strength 1;endmatch"
  231.  
  232. alias 1on1dm "1v1dm"
  233. alias 2on2tdm "2v2tdm"
  234. alias 3on3tdm "3v3tdm"
  235. alias 4on4tdm "4v4tdm"
  236. alias 5on5tdm "5v5tdm"
  237. alias 2on2ctf "2v2ctf"
  238. alias 3on3ctf "3v3ctf"
  239. alias 4on4ctf "4v4ctf"
  240. alias 5on5ctf "5v5ctf"
  241. alias 2on2ca "2v2ca"
  242. alias 3on3ca "3v3ca"
  243. alias 4on4ca "4v4ca"
  244. alias 5on5ca "5v5ca"
  245.  
  246. alias dom "domination"
  247. alias kh "keyhunt"
  248. alias ons "onslaught"
  249.  
  250. addvote 1v1dm
  251. addvote 2v2tdm
  252. addvote 3v3tdm
  253. addvote 4v4tdm
  254. addvote 5v5tdm
  255. addvote 2v2ca
  256. addvote 3v3ca
  257. addvote 4v4ca
  258. addvote 5v5ca
  259. addvote 2v2ctf
  260. addvote 3v3ctf
  261. addvote 4v4ctf
  262. addvote 5v5ctf
  263. addvote 3v3ca
  264. addvote 4v4ca
  265. addvote 1on1dm
  266. addvote 2on2tdm
  267. addvote 2on2ca
  268. addvote 3on3ctf
  269. addvote 3on3ca
  270. addvote 4on4ca
  271. addvote dm
  272. addvote tdm
  273. addvote ctf
  274. addvote ca
  275. addvote infection
  276. addvote freezetag
  277. addvote assault
  278. addvote keepaway
  279. addvote nexball
  280. addvote kh
  281. addvote keyhunt
  282. addvote dom
  283. addvote domination
  284. addvote rune
  285. addvote arena
  286. addvote lms
  287. addvote ons
  288. addvote onslaught
  289.  
  290. alias minsta "toggle g_minstagib;g_weaponarena 0; restart"
  291. alias nobots "minplayers 0; bot_number 0; say To re-enable bots, please revote for a public gametype"
  292. alias infammo "toggle g_use_ammunition; restart"
  293. alias warmup "toggle g_warmup; restart"
  294.  
  295. addvote minsta
  296. addvote timelimit
  297. addvote nobots
  298. addvote infammo
  299. addvote sv_fbskin_green
  300. addvote sv_fbskin_orange
  301. addvote sv_fbskin_red
  302. addvote sv_fbskin_off
  303. addvote warmup
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement