]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - server/server.cfg
document g_powerup_* here too
[xonotic/xonotic.git] / server / server.cfg
index 9de6f514231e567d05dde0ace16afeb93573d318..2187d1cbd5f89bc2a369b6e19298f5924550aff4 100644 (file)
 //maxplayers 8 // number of players allowed on the server
 //port 26000   // the port used by the server
 //log_file "server.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
+//g_start_delay 15     // delay before the game starts to let players join the server first
 
 // 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.
-//g_maplist "accident aggressor aneurysm basement basementctf bleach bloodprison bloodprisonctf bluesky cyberparcour01 darkzone desertfactory dieselpower downer eggandbacon evilspace farewell final_rage nr_piece-o-cake ons-reborn racetrack reslimed ruiner runningman runningman_1on1remix runningmanctf silvercity skyway slimepit soylent starship stormkeep2 strength toxic warfare"
+//g_maplist "afterslime dance g-23 glowplant leave_em_behind newtonian-nightmare nexballarena red-planet runningman space-elevator stormkeep techassault xoylent"
 //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
 //g_maplist_mostrecent_count 3 // number of maps that have to be played before a map can be repeated
 
 //gametype dm
 
 
-// enable some mutators you'd like
-//g_cloaked 0  // set to 1 for transparent hard to see players
-//g_footsteps 0        // set to 1 to enable footsteps
-//g_grappling_hook 0   // set to 1 to enable the hook
-//g_laserguided_missile 0      // set to 1 for laser guided missiles in the RL
-//g_midair 0   // set to 1 to make only midair damage count
-//g_vampire 0  // set to 1 to give players the damage they cause as health
-//sv_gravity 800       // for low gravity, set this somewhere between 50 and 400
 
-// select AT MOST one of these arena mutators
-//g_minstagib 0        // set to 1 for MinstaGib
-//g_nixnex 0   // set to 1 for No Items Xonotic
-//g_nixnex_with_laser 0        // set to 1 to always give players the laser in NixNex
-//g_rocketarena 0      // set to 1 to make the rocket launcher the only weapon
 
 /////////////////////////////////////////////////////////////////////
 // Some settings you MIGHT want to change.  Again IF so remove the //
@@ -69,8 +57,9 @@
 //rcon_restricted_password ""  // put here the password for a "restricted" rcon user (see below)
 
 //bot_number 0 // number of bots to add
-//skill 1      // the bots skill level
+//skill 4      // the bots skill level
 //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!
+//g_maxplayers 0 // above this player count, only allow spectators
 //bot_prefix [BOT]     // prepend this to all botnames
 //bot_suffix ""        // append this to all botnames
 //g_maplist_check_waypoints 0  // set this to 1 to skip maps without waypoints if there aren't enough players to play without bots
 //sv_vote_master_password ""   // when set, vlogin PWD will allow people to become master to run master commands directly using vdo
 //sv_vote_majority_factor 0.5  // 0.666 will require a 2/3 majority instead of a regular 1/2 one
 //sv_vote_simple_majority_factor 0     // 0.666 will win votes by a 2/3 majority of the VOTERS (not the players!)
-//note: to JUST support simple majorities, set these two factors equal
+// note: to JUST support simple majorities, set these two factors equal
+
+//sv_maxidle 0 // idle time in seconds after which players will get kicked
+
+//sv_taunt 1   // 0 to disallow taunts
+//sv_autotaunt 1       // 0 to disallow autotaunts
+
+
+/////////////////////////////////////////////////////////////////////
+// Settings you MIGHT want to change for PRIVACY reasons.
+//
+// The settings here may impact your or your players' privacy and serve to
+// optimize the game for further releases.
+//
+// Change them, or comment them out to turn them off.
+
+// This line sends the following data to our servers:
+// - Date and time
+// - Your server IP address
+// - Your server ID hash, which is a fingerprint of the public key of your
+//   server and does not impact security of your private key (use "crypto_keys"
+//   on the console to show it)
+// - Your server name ("hostname")
+// - Current game type
+// - Current map
+// - Balance settings you have modified from defaults (only those that make
+//   your server "impure")
+// - For each weapon pairing (A, B), separately for player-player, player-bot,
+//   bot-player, bot-bot pairings:
+//   - Number of hits of players/bots holding A against players/bots holding B
+//   - Number of frags of players/bots holding A against players/bots holding B
+//   - Total damage of players/bots holding A against players/bots holding B
+//
+// We use this data to:
+// - Optimize the game balance for future releases
+// - Identify problems in the bot AI and improving it
+// - Find settings that make servers "impure" that should not, so we can
+//   whitelist them in future releases
+//
+// We will or might publish:
+// - Global weapon pairing statistics for players vs players, or bots vs bots,
+//   or any vs any, on a selection of servers
+// - Per-gametype and per-map weapon pairing statistics players vs players, or
+//   bots vs bots, or any vs any, on a selection of servers
+// - Lists of commonly changed cvars, together with counts on how often they
+//   are modified
+//
+// No information about the players on the server is sent, so as a server admin
+// you need no permission of your players for this.
+//
+// No information about your server will be published - all published data sets
+// will include data from multiple servers.
+//   
+sv_weaponstats_file http://www.xonotic.org/weaponbalance/
+
+
+
 
 /////////////////////////////////////////////////////////////////////
 // Some more advanced settings.  You probably are not interested in changing them at all.
 
-// select one of these:
-//g_balance_rocketlauncher_detonatedelay 0     // rocket detonation at any time
-//g_balance_rocketlauncher_detonatedelay 0.2   // rocket detonation at least 0.2s after it was shot (reduces rocket boosting)
-//g_balance_rocketlauncher_detonatedelay -1    // rocket detonation only if the rocket is out of range of the owner (prevents rocket boosting, makes rockets "safer")
+//sys_ticrate 0.0333333        // change to 0.0166667 if your server can take the abuse, can make the game a bit more fluent
 
 //sv_ready_restart 0   // 1 to allow players to restart the map when all of them press the ready button
+//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
+//sv_ready_restart_repeatable 0        "allows the players to restart the game as often as needed
 //sv_autoscreenshot 0  // 1 will force a screenshot for all clients when the map ends.  Useful for competitions or the ladder.
 
 //g_antilag 2  // 0 to disable the antilag feature, 1 and 2 use different methods
 
-//sys_ticrate 0.05     // how long a server frame is.  0.05 = 20 fps, 0.02 = 50 fps.  Lower settings makes things smoother but create much more traffic (known good values include: 0.05, 0.046875, 0.03125)
 //sv_maxrate 1000000   // limits client connections to this rate in bytes/seconds
 
 // see Docs/mapdownload.txt for more info
 //sv_defaultcharacter 0        // 1 will force a specific model for all players
 //sv_defaultplayermodel models/player/nexus.zym        // this model will be used
 //sv_defaultplayerskin 0       // this skin number will be forced for all players
+//sv_defaultplayercolors ""    // you can even force player colors here (16*shirt+pants)
 //g_fullbrightplayers 0        // 1 to make players fullbright
 //g_fullbrightitems 0  // 1 to make items fullbright
 
 //g_balance_teams 1    // 0 will show players the team selection menu after joining instead of automaticly putting them on the smaller team
 //g_balance_teams_force 0      // 1 to automaticly balance teams even during a game
 
-//set 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)
-//set 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)
+//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)
+//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)
+
+
+/////////////////////////////////////////////////////////////////////
+// "Obvious" mutators that are allowed on a "pure" server
+//g_minstagib 0        // set to 1 for MinstaGib
+//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)
+//g_powerup_superhealth 1 // set to 0 to turn off megahealth packs
+//g_powerup_strength 1 // set to 0 to turn off strength/quad powerup
+//g_powerup_shield 1 // set to 0 to turn off shield/invincible powerup
+
+
+
+
+/////////////////////////////////////////////////////////////////////
+// WARNING: anything below this line makes your server "impure"!
+
+// enable some mutators you'd like
+//g_cloaked 0  // set to 1 for transparent hard to see players
+//g_grappling_hook 0   // set to 1 to enable the hook (allowed on "pure" server in MinstaGib)
+//g_jetpack 0  // set to 1 to enable the jetpack (allowed on "pure" server in MinstaGib)
+//g_laserguided_missile 0      // set to 1 for laser guided missiles in the RL
+//g_midair 0   // set to 1 to make only midair damage count
+//g_vampire 0  // set to 1 to give players the damage they cause as health
+//sv_gravity 800       // for low gravity, set this somewhere between 50 and 400
+
+// select AT MOST one of these arena mutators (if you didn't select g_minstagib)
+//g_nixnex 0   // set to 1 for No Items Xonotic
+//g_nixnex_with_laser 0        // set to 1 to always give players the laser in NixNex