]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - server/server.cfg
explain alias name limit in example config
[xonotic/xonotic.git] / server / server.cfg
index 6ecb216cd3042cee79637d742495c56c752af551..35b90a1750a242abfaa3eaef13dc481e8a74846b 100644 (file)
 //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_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...