lgsm-default.cfg 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. // Servers have the ability to run multiple gametypes, known as "factories." You should not add gameplay related
  2. // cvars in the server config: they may get overwritten by the factory. For creating your own sets of gameplay rules,
  3. // create a file ending in ".factories" inside baseq3/scripts, and refer to "Creating custom gametypes" in the
  4. // server_readme.txt file.
  5. // Be aware that factories can override any cvar, including ones specified in this config file.
  6. set sv_hostname "<hostname>"
  7. set sv_tags "" // Comma delimited field of server tags to show in server browser.
  8. // Will automatically include gametype and some gameplay modifications.
  9. // ex. "crouch slide, classic, space"
  10. set sv_mapPoolFile "mappool.txt" // Map pool that the server will use. See default mapcycle.txt for format.
  11. // Built in map pools: mappool.txt, mappool_ca.txt, mappool_ctf.txt, mappool_duel.txt,
  12. // mappool_ffa.txt, mappool_race.txt, mappool_tdm.txt
  13. set g_accessFile "access.txt" // Used to determine which 64-bit Steam IDs have admin access, or are banned.
  14. set sv_maxClients "16" // How many players can connect at once.
  15. set g_password "" // Set a server-wide password, and stop all users from connecting without it.
  16. set sv_privateClients "0" // Reserve slots that can be used with sv_privatePassword.
  17. set sv_privatePassword "" // Password to use in conjunction with sv_privateClients.
  18. set com_hunkMegs "60" // May need to be increased for additional players.
  19. // Flood protection will increment everytime the user sends a client command, ex. dropweapon, changing name, color
  20. // model, or chatting. Set g_floodprot_maxcount to 0 to disable completely, but this will allow uncontrolled spam.
  21. set sv_floodprotect "10" // Kick the player when they reach x commands, decreases by 1 every second
  22. set g_floodprot_maxcount "10" // Kick the player when their userinfo flood counter reaches this level.
  23. set g_floodprot_decay "1000" // Decrease the userinfo flood counter by 1 this often, in milliseconds.
  24. // Add the below values for which callvotes should be DISABLED:
  25. // map 1
  26. // map_restart 2
  27. // nextmap 4
  28. // gametype 8 (ex: "/callvote map campgrounds" will be allowed, but "/callvote map campgrounds ca" will fail)
  29. // kick 16
  30. // timelimit 32
  31. // fraglimit 64
  32. // shuffle 128
  33. // teamsize 256
  34. // cointoss/random 512
  35. // loadouts 1024
  36. // end-game voting 2048
  37. // ammo (global) 4096
  38. // timers (item) 8192
  39. set g_voteFlags "0"
  40. set g_allowVote "1" // Turn off all votes
  41. set g_voteDelay "0" // Delay allowing votes for x milliseconds after map load.
  42. set g_voteLimit "0" // Limit users to x votes per map.
  43. set g_allowVoteMidGame "0" // Don't allow callvotes once the map has started
  44. set g_allowSpecVote "0" // Allow spectators to call votes
  45. set sv_warmupReadyPercentage "0.51" // Ratio of players that must be ready before the match starts.
  46. set g_warmupDelay "15" // Wait x seconds before allowing match to start to allow all players to connect.
  47. set g_warmupReadyDelay "0" // Force the game to start after x seconds after someone readies up.
  48. set g_warmupReadyDelayAction "1" // Set to 1 to force players to spectator after g_warmupReady Delay, 2 to force ready up.
  49. set g_inactivity "0" // Kick players who are inactive for x amount of seconds.
  50. set g_alltalk "0" // 0: Limit voice comms to teams during match
  51. // 1: Allow all players to talk to each other always
  52. // 2: 1+ send back your own voice to yourself for testing
  53. // System settings
  54. // Uncomment and set below to use (server.cfg will override commandline!)
  55. // set net_strict "1" // Quit out immediately if we can't bind the IP and port.
  56. // set net_ip "" // Which IP to bind to. Blank will bind to all interfaces.
  57. // set net_port "55555" // Which UDP port to bind to. Blank will start at 27960 and keep going up, if net_strict is 0.
  58. set sv_serverType "2" // 0 = Offline, 1 = LAN, 2 = Internet
  59. set sv_master "1" // Whether the server should respond to queries. Disable this to stop server from appearing in browser.
  60. // (This will affect the LAN browser!)
  61. set sv_fps "40" // Change how many frames the server runs per second. WARNING: Has not been tested extensively, and
  62. // will have a direct impact on CPU and network usage!
  63. // Exit the server if idle (not running a map) for a specified time. This will allow it to automatically restart
  64. // in the case of a game error or other problem. A value of "1" is recommended, but not default, when you are running
  65. // the server detached from the terminal.
  66. set sv_idleExit "120"
  67. // Enable remote console, provided through ZeroMQ. See zmq_rcon.py for simple client.
  68. // ZMQ rcon binds on a separate port from the game server, and uses TCP. It must differ from the stats port if used.
  69. // Rcon can not be enabled or disabled after launch, nor can the IP and port change. Password can, however.
  70. // Uncomment and set below to use (server.cfg will override commandline!)
  71. set zmq_rcon_enable "1"
  72. // set zmq_rcon_ip ""
  73. // set zmq_rcon_port "28960"
  74. set zmq_rcon_password "<rconpassword>"
  75. // Enable ZeroMQ stats socket. This will not be much use without a client listening.
  76. // See zmq_stats_verbose.py for example connect and stats printing.
  77. // If not specified, the stats socket will default to the same IP and port as the game server, but on TCP.
  78. // Uncomment and set below to use (server.cfg will override commandline!)
  79. // set zmq_stats_enable "1"
  80. // set zmq_stats_ip ""
  81. // set zmq_stats_port ""
  82. // set zmq_stats_password ""
  83. // The server will run serverstartup when it finishes initializing, so start a random map from the map pool.
  84. set serverstartup "startRandomMap"
  85. // Or, start a map of your choosing (factory is required)
  86. // set serverstartup "map campgrounds ffa"