1.  
  2. //////////////////////////////////////////////////////////
  3. // Server command-line parameters (this section is for documentation only)
  4.  
  5. // Specify server configuration file (this file)
  6. //+set sv_config "filename" (default "server.cfg")
  7.  
  8. // Specify server visibility (1 = LAN, 2 = Internet (default) )
  9. //+set dedicated 1
  10.  
  11. // Open game port (Steam-visible server game port)
  12. //+set net_queryPort 27014
  13.  
  14. // Secure game port
  15. //+set net_port 27015
  16.  
  17. // Steam authentication port
  18. //+set net_authPort 8766
  19.  
  20. // Steam master server (server browser) port
  21. //+set net_masterServerPort 27016
  22.  
  23.  
  24.  
  25. //////////////////////////////////////////////////////////
  26. // Server.cfg-configurable settings
  27.  
  28. // Server host name. This should always be set by the server admin.
  29. set sv_hostname "Modern Warfare 3"
  30.  
  31. // Dedicated server play list (DSPL) specifying server map rotation.
  32. // Valid game options are controlled via DSR (dedicated server recipe) specified in the DSPL.
  33. set sv_maprotation "default"
  34.  
  35. // Maximum number of clients that may connect to this server (range 1-18)
  36. set sv_maxclients 16
  37.  
  38. // Server password. If set, users will be prompted on join attempt.
  39. set g_password ""
  40.  
  41. // Maximum number of private clients allowed on the server (range 0-18 (clamped to sv_maxclients) )
  42. set sv_privateClients 0
  43.  
  44. // Password for the private slots on this server. If set, users will be prompted on join attempt.
  45. // Users providing this password will have access to all slots.
  46. // Users providing an incorrect password will have access to the (sv_maxClients - sv_privateClients) public slots.
  47. set sv_privatePassword ""
  48.  
  49. // Remote console password. If set, users will have access to a remote console, allowing server administration from a connected client.
  50. set rcon_password ""
  51.  
  52. // Server voice chat configuration ( 0 = "No Chat", 1 = "Free Chat", 2 = "Team Chat" (default) )
  53. set sv_voice 2
  54.  
  55. // Toggle voting for [player kick/map restart/next map] (0 or 1 (default) )
  56. set g_allowVote 1
  57.  
  58. // Toggle allowing dead players to chat with living players (0 (default) or 1)
  59. set g_deadChat 0
  60.  
  61. // Time in seconds before the server will kick a user for inactivity (range 0 - 10000)
  62. set g_inactivity 90
  63.  
  64. // Time in seconds for a player temporary ban (on kick/tempban) (range 0 - 3600)
  65. set sv_kickBanTime 300
  66.  
  67. // Toggle flood protection (throttling of user commands - should be enabled for non-password-protected Internet servers) (0 or 1 (default))
  68. set sv_floodProtect 1