]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - server/server.cfg
suggest editing bots command
[xonotic/xonotic.git] / server / server.cfg
index 6ecb216cd3042cee79637d742495c56c752af551..1a96ca34c295ff51250d379682b64e2006a8a028 100644 (file)
 // from the line start and change them to your liking.
 
 //skill 4      // the bots skill level
+
+// if changing either of these two 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"
+
 //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
 //g_maxplayers 0 // above this player count, only allow spectators
 //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 chmap 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)