Advertisement
jrizzy93

gamemodes_server.txt

May 8th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. // To use this file, rename it to GameModes_Server.txt
  2. //
  3. // Values here override the default gamemodes.txt
  4. “GameModes_Server.txt”
  5. {
  6. “gameTypes”
  7. {
  8. “classic”
  9. {
  10. “gameModes”
  11. {
  12. “competitive”
  13. {
  14. “maxplayers” “14” // Note that maxplayers doesn’t go in the convar block.
  15. // Another way to set maxplayers is to add -maxplayers_override XX to the cmd line
  16. “exec”
  17. {
  18. “exec” “my_server_override_competitive.cfg”
  19. }
  20. “mapgroupsMP” // List of mapgroups valid for this game mode ( competitive )
  21. {
  22. “mg_bomb” “”
  23. }
  24. }
  25. “casual”
  26. {
  27. “maxplayers” “14”
  28. “exec”
  29. {
  30. “exec” “my_server_override_casual.cfg”
  31. }
  32. “mapgroupsMP” // List of mapgroups valid for this game mode ( casual )
  33. {
  34. “mg_bomb” “”
  35. }
  36. }
  37. }
  38. }
  39. }
  40. //////////////////////////////////////////////////////////////////////////////////////////////
  41. // Map groups
  42. //
  43. // To use a mapgroup, it needs to be defined in a keyvalues
  44. // block such as the example below, as well as listed in the
  45. // ‘mapgroupsMP’ block within the game mode that will run it,
  46. // such as the example above.
  47. //
  48. // Then launch the server with ‘+mapgroup MAPGROUPNAME’
  49. //
  50. // Example:
  51. //
  52. // srcds -game csgo +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se
  53. //
  54. //
  55. // Check the developer wiki for updated community info
  56. // https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
  57. /////////////////////////////////////////////////////////////////////////////////////////////
  58. “mapgroups”
  59. {
  60. “mg_bomb” // mapgroup definition
  61. {
  62. “name” “mg_bomb”
  63. “maps”
  64. {
  65. “de_dust” “”
  66. “de_dust2” “”
  67. “cs_italy” “”
  68. “de_aztec” “”
  69. “cs_office” “”
  70. “de_lake” “”
  71. }
  72. }
  73. }
  74. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement