]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - server/server.cfg
Fix macOS SDL2 framework permissions
[xonotic/xonotic.git] / server / server.cfg
index bcc6e524a52e8ead946318dca2cbc9d901558a4d..9d266a02e62cb64666d9f7df704f39dc399e78e3 100644 (file)
 //sv_public 1  // 0 or -1 (see description) if the server should not be on the public servers list
 //hostname "Xonotic $g_xonoticversion Server"  // this name will appear on the server list (the $g_xonoticversion gets replaced with the current version)
 //sv_motd ""   // displayed on connect - good place for contact info (IRC, forum nick, etc.) so players can reach you when something is wrong with your server
+//sv_termsofservice_url "https://yourdomain.tld/path/to/tos"   // URL for the Terms of Service for playing on your server
+// It is RECOMMENDED to supply such a document containing information about if and how you collect and process user data (bridging to IRC, player stats etc),
+// contact information, rules and similar information.
+// This document will be shown in the server join dialog.
 
 // This sets the remote console password on the server, you also need to set the cvar to the same value on your client to use the 'rcon' command.
 // Empty means rcon is disabled.
 // Some settings you MIGHT want to change.  Again IF so remove the //
 // from the line start and change them to your liking.
 
-//skill 4      // the bots skill level
+//skill 8      // the bots skill level
+
+// if changing either of these two minplayers settigs, you should consider editing the `bots` alias so that the `bots` vote adds the right number of bots
 //minplayers 0 // add bots if less then that number of players playing
+//minplayers_per_team 0 // add bots to each team if less than that number of players playing
+//alias bots "minplayers 4; minplayers_per_team 2"
+
 //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_votable_nodetail 1 // when 1, people can't see how many voted for what (to thwart abusive "influential" first votes)
 
 sv_vote_gametype 1     // set to 1 to enable voting for gametypes after every match
-//sv_vote_gametype_options "dm kh dom tdm mygametype"  // the gametypes to vote for, custom gametypes are supported
-//set sv_vote_gametype_mygametype_name "My Mode"       // Name displayed for the custom gametype "mygametype" (replace "mygametype" with the name you set in sv_vote_gametype_options)
-//set sv_vote_gametype_mygametype_type "ft"    // the basetype that the custom gametype is derived from
-//set sv_vote_gametype_mygametype_description "This is my custom gametype"     // the description for the custom gametype
-// Custom icons for custom gametypes are supported and have to be located in a server pk3 as gfx/menu/default/gametype_mygametype
+//sv_vote_gametype_options "dm kh dom tdm mycustom"    // the gametypes to vote for, custom gametypes are supported (max 9 chars for the gametype identifier because sv_vote_gametype_hook_* can have max 31 chars)
+//set sv_vote_gametype_mycustom_name "My Custom Mode"  // Name displayed for the custom gametype "mycustom" (replace "mycustom" with the name you set in sv_vote_gametype_options)
+//set sv_vote_gametype_mycustom_type "ft"      // the basetype that the custom gametype is derived from
+//set sv_vote_gametype_mycustom_description "This is my custom gametype"       // the description for the custom gametype
+// Custom icons for custom gametypes are supported and have to be located in a server pk3 as gfx/menu/default/gametype_mycustom
 
-//sv_vote_commands "restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoauto shuffleteams"   // 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.
+//sv_vote_commands "restart fraglimit gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoauto shuffleteams bots nobots"     // players can vote for those commands or use them if they are masters. You can also add 'g_grappling_hook' for hook voting, and 'sv_fbskin_green sv_fbskin_red sv_fbskin_orange sv_fbskin_off' for fbskin voting.
 //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...
 //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
 //rcon_restricted_password ""  // put here the password for a "restricted" rcon user (see below)
@@ -166,15 +175,15 @@ sv_weaponstats_file "http://www.xonotic.org/weaponbalance/"
 /////////////////////////////////////////////////////////////////////
 // Some more advanced settings.  You probably are not interested in changing them at all.
 
-//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
 
 //sv_maxrate 1000000   // limits client connections to this rate in bytes/seconds
 
+//sys_ticrate 0.0333333        // 0.0166667 for twice as many server frames per second; smoother gameplay but somewhat higher CPU use.
+
 // see Docs/mapdownload.txt for more info
 //sv_curl_defaulturl http://www.xonotic.org/contentdownload/getmap.php?file=   //fallback download URL
 
@@ -209,7 +218,6 @@ sv_weaponstats_file "http://www.xonotic.org/weaponbalance/"
 // Overkill mod settings
 
 // To enable Overkill, put 'exec ruleset-overkill.cfg' at the top of this file (above any other cvar changes), don't use 'g_overkill 1' directly.
-// You should also consider enabling 'g_fullbrightplayers 1'.