Skip to content

Releases: nickj609/GameModeManager

Game Mode Manager v1.0.50

20 Nov 02:05
Compare
Choose a tag to compare

Game Mode Manager v1.0.50

Important

  • If moving from v1.0.45, back up your GameModeManager.json configuration file and let the plugin generate the new version. This version has minor changes to the configuration file.

  • If you are using CS2 Modded Dedicated Server by Kus, it is recommended to remove all changelevel, host_workshop_map, and mp_restartgame commands from your mode configs.

Bug Fixes

  • Fixed issue with game mode votes not changing the game mode. Thanks @kus!

Installation

  1. Install Metamod:Source and Counter Strike Sharp.
  2. Copy addons and cfg folders to /csgo/.
  3. Make sure your gamemodes_server.txt or custom map group file is in VDF Format and contains a list of map groups.
  4. Update each game mode configuration file (i.e. comp.cfg) to include css_gamemode <mode>.
  5. After the first run, update the configuration file GameModeManager.json as detailed below.

For more information on the configuration of these features, please see the updated README.md.

Full Changelog: v1.0.49...v1.0.50

Game Mode Manager v1.0.49

17 Nov 22:39
Compare
Choose a tag to compare

Game Mode Manager v1.0.49

Important

  • If moving from v1.0.45, back up your GameModeManager.json configuration file and let the plugin generate the new version. This version has minor changes to the configuration file.

  • If you are using CS2 Modded Dedicated Server by Kus, it is recommended to remove all changelevel, host_workshop_map, and mp_restartgame commands from your mode configs.

Features

  • Added start warmup and end warmup commands

    css_endwarmup - Ends custom warmup mode
    css_startwarmup <mode> - Starts custom warmup mode

Bug Fixes

  • Fixed issues with map filtering for modes
  • Fixed an issue where the time limit wasn't being disabled after the game ended
  • Fixed an issue where the warmup mode started every time a new player joined, even if the warmup mode was already started

Optimizations

  • Optimized OnTick listener for WASD Menus by using dynamic registration based on player menu state

Installation

  1. Install Metamod:Source and Counter Strike Sharp.
  2. Copy addons and cfg folders to /csgo/.
  3. Make sure your gamemodes_server.txt or custom map group file is in VDF Format and contains a list of map groups.
  4. Update each game mode configuration file (i.e. comp.cfg) to include css_gamemode <mode>.
  5. After the first run, update the configuration file GameModeManager.json as detailed below.

For more information on the configuration of these features, please see the updated README.md.

Full Changelog: v1.0.48...v1.0.49

Game Mode Manager v1.0.48

21 Oct 02:21
c161449
Compare
Choose a tag to compare

Game Mode Manager v1.0.48

Important

  • If moving from v1.0.45, back up your GameModeManager.json configuration file and let the plugin generate the new version. This version has minor changes to the configuration file.

  • If you are using CS2 Modded Dedicated Server by Kus, it is recommended to remove all changelevel, host_workshop_map, and mp_restartgame commands from your mode configs.

Features

  • Added WASD menu styles for all menu types!

    Screenshot 2024-10-20 205255

Bug Fixes

  • Fixed issue where all maps menus were not using map display names
  • Fixed duplicate maps from displaying in the all maps list, and in the mode map list if multiple map groups are specified
  • Fixed issue where map display name was not being used for !currentmap command when selected from the game menu

Installation

  1. Install Metamod:Source and Counter Strike Sharp.
  2. Copy addons and cfg folders to /csgo/.
  3. Make sure your gamemodes_server.txt or custom map group file is in VDF Format and contains a list of map groups.
  4. Update each game mode configuration file (i.e. comp.cfg) to include css_gamemode <mode>.
  5. After the first run, update the configuration file GameModeManager.json as detailed below.

For more information on the configuration of these features, please see the updated README.md.

Full Changelog: v1.0.47...v1.0.48

v1.0.47

29 Sep 15:28
Compare
Choose a tag to compare

Game Mode Manager v1.0.47

Important

  • If moving from v1.0.45, back up your GameModeManager.json configuration file and let the plugin generate the new version. This version has minor changes to the configuration file.

  • If you are using CS2 Modded Dedicated Server by Kus, it is recommended to remove all changelevel, host_workshop_map, and mp_restartgame commands from your mode configs.

Bug Fixes

  • Fixed issue where map menus were not regenerating properly.
  • Fixed issue where vote menus were not displaying vote options.

Special thanks to @hugoniceas who brought these issues to my attention.

Installation

  1. Install Metamod:Source and Counter Strike Sharp.
  2. Copy addons and cfg folders to /csgo/.
  3. Make sure your gamemodes_server.txt or custom map group file is in VDF Format and contains a list of map groups.
  4. Update each game mode configuration file (i.e. comp.cfg) to include css_gamemode <mode>.
  5. After the first run, update the configuration file GameModeManager.json as detailed below.

For more information on the configuration of these features, please see the updated README.md.

Full Changelog: v1.0.46...v1.0.47

v1.0.46

25 Sep 00:54
Compare
Choose a tag to compare

Game Mode Manager v1.0.46

Important

  • Back up your GameModeManager.json configuration file and let the plugin generate the new version. This version has minor changes to the configuration file.

  • If you are using CS2 Modded Dedicated Server by Kus, it is recommended to remove all changelevel, host_workshop_map, and mp_restartgame commands from your mode configs.

New Features

  • Shared API for cross-plugin support
  • Warmup Modes (deathmatch, knives only, and scoutz only)
  • Enable time limit on server empty with custom rotation interval in seconds
  • Enable time limit server command to force map rotations on mp_timelimit or with custom interval in seconds

Improvements

  • Smoother map and mode rotations

    Screenshot 2024-09-24 171006

  • Vote menus can now trigger votes rather than displaying the vote command in chat

Bug Fixes

  • Fixes to rotations that caused crashes in Deathmatch. Thanks @kus!

Installation

  1. Install Metamod:Source and Counter Strike Sharp.
  2. Copy addons and cfg folders to /csgo/.
  3. Make sure your gamemodes_server.txt or custom map group file is in VDF Format and contains a list of map groups.
  4. Update each game mode configuration file (i.e. comp.cfg) to include css_gamemode <mode>.
  5. After the first run, update the configuration file GameModeManager.json as detailed below.

For more information on the configuration of these features, please see the updated README.md.

Full Changelog: v1.0.45...v1.0.46

v1.0.45

27 Jun 02:08
05cc9f3
Compare
Choose a tag to compare

Game Mode Manager v1.0.45

Important

  • Back up your GameModeManager.json configuration file and let the plugin generate the new version. This version has minor changes to the configuration file.

  • This update, like v1.0.44, requires you to add css_gamemode to all game mode configuration files if you have not yet already done so.

New Features

RTV Modes

Setting Description
Mode Changes the RTV mode. (0 = maps from current game mode, 1 = maps from all game modes.)

Customizable Rotations

Setting Description
Enabled Enables rotations. (Cannot be enabled when RTV is enabled)
Cycle Changes the rotation cycle. (0 = maps from current mode, 1 = maps from all modes, 2, maps from specific map groups)
MapGroups Mapgroups to use for rotation cycle 2.
ModeRotation Enables game mode rotation. (Cannot be enabled when ModeSchedule is enabled)
ModeInterval Changes game mode every x map rotations. (If ModeRotation is enabled)
ModeSchedule Enables mode schedules. (Cannot be enabled when ModeRotations is enabled)
Schedule Schedule for mode rotations (24-hr format in UTC time)

UI/Configuration Changes

  • The command css_mapgroup has been removed.
  • Command arguments are no longer case-sensitive.
  • There is now a new !timelimit command if RTV is disabled.

Installation

  1. Install Metamod:Source and Counter Strike Sharp.
  2. Copy addons and cfg folders to /csgo/.
  3. Make sure your gamemodes_server.txt or custom map group file is in VDF Format and contains a list of map groups.
  4. Update each game mode configuration file (i.e. comp.cfg) to include css_gamemode <mode>.
  5. After the first run, update the configuration file GameModeManager.json as detailed below.

For more information on the configuration of these features, please see the updated README.md.

Full Changelog: v1.0.44...v1.0.45

v1.0.44

23 Jun 21:11
Compare
Choose a tag to compare

Game Mode Manager v1.0.44

Important

  • Back up your GameModeManager.json configuration file and let the plugin generate the new version. This version has minor changes to the configuration file.

  • This update requires you to add css_gamemode to all game mode configuration files. You can use the mode name or the configuration file name. This is the new replacement for css_mapgroup. You can keep css_mapgroup if you would like, but you do not need it any longer.

New Features

  • Multiple Map Groups: A single game mode can now support multiple map groups. This is configurable within the JSON.
  • All Maps: Admins and players can now use !allmaps or !showallmaps to search for maps within each game mode. This can cause issues if MapConfigurator is not used to properly load the correct game mode per map. Consider keeping disabled unless using MapConfigurator.

UI/Configuration Changes

  • Map lists are now updated based on the game mode rather than map group.

Bug fixes

  • Fixed a bug where the change game message was occurring when RTV was enabled.

Installation

  1. Install Metamod:Source and Counter Strike Sharp.
  2. Copy addons and cfg folders to /csgo/.
  3. Make sure your gamemodes_server.txt or custom map group file is in VDF Format and contains a list of map groups.
  4. Update each game mode configuration file (i.e. comp.cfg) to include css_gamemode <mode>.
  5. After the first run, update the configuration file GameModeManager.json as detailed below.

For more information on the configuration of these features, please see the updated README.md.

Upcoming changes

  • css_mapgroups will be retired completely unless otherwise necessary.
  • Map and game mode rotations will be improved to adjust for max round wins and max time limits.

Refactoring

There has been a lot of code refactoring to adjust for the addition of these features as well as for readability.

Full Changelog: v1.0.43...v1.0.44

v1.0.43

16 Jun 01:15
3471d8f
Compare
Choose a tag to compare

Game Mode Manager v1.0.43

Important

  • Back up your GameModeManager.json configuration file and let the plugin generate the new version. This version has minor changes to the configuration file.

  • This update will also install CS2-CustomVotes and overwrite any custom JSON configuration you may have for this plugin. Please make a backup before installing this plugin.

  • If switching from v1.0.41, make sure to remove the old enable_course.cfg and disable_course.cfg files from the settings folder.

New Features

  • RTV Enabled Command: A new server command for enabling or disabling RTV.
  • Game Menu: A new game menu for displaying game mode manager player commands.
  • Map Menu Style: Map menus are now based on the new MapGroup.Style configuration option.
  • Current Map Player Command: Players can now use !currentmap to display the current map.
  • Current Mode Player Command: Players can now use !currentmode to display the current game mode. This is based on the mapgroup rather than the game mode list and required map group friendly names to be configured for consistency.

UI/Configuration Changes

  • Reduced default map and mode change delays to 2 sec.
  • More language translations for new commands and menus.
  • Maps can now use friendly names by modifying the key value in the map group file.
  • Auto bhop setting no longer includes unlock_movement.cfg for mode gravity consistency.

Bug fixes

  • Fixed a bug where the show maps menu was not updating properly.
  • Fixed a bug where map and mode delays were not referencing the configuration values.

Installation

  1. Install Metamod:Source and Counter Strike Sharp.

  2. Copy addons and cfg folders to /csgo/.

  3. Make sure your gamemodes_server.txt or custom map group file is in VDF Format and contains a list of map groups.

    If you want to use friendly names, include the "displayname" property within your gamemodes_server.txt or custom map group file for each map group. You also need to add a friendly name for maps.

    Example
    "mg_dm"
    {
      "imagename"				    "mapgroup-bomb"
      "displayname"				  "Deathmatch"
      "nameID"				      "#SFUI_Mapgroup_allclassic"
      "tooltipID"				    "#SFUI_MapGroup_Tooltip_Desc_DeathMatch"
      "name"					      "mg_dm"
      "icon_image_path"			"map_icons/mapgroup_icon_deathmatch"
      "maps"
      {
        "ar_shoots"						                  "Shoots"
        "ar_baggage"						                "Baggage"
        "workshop/3070550406/de_safehouse"			"Safehouse"
        "workshop/3070563536/de_lake"				    "Lake"
        "workshop/3070581293/de_bank"				    "Bank"
        "workshop/3070923343/fy_pool_day"			  "Pool Day"
        "workshop/3070238628/fy_iceworld"			  "Iceworld"
      }
    }
    
  4. If needed, update each game mode configuration file (i.e. comp.cfg) to include css_mapgroup <map group>.

  5. After the first run, update the configuration file GameModeManager.json as detailed below.

For more information on the configuration of these features, please see the updated README.md.

Full Changelog: v1.0.42...v1.0.43

v1.0.4 - v1.042

09 Jun 02:21
2142776
Compare
Choose a tag to compare

Game Mode Manager v1.0.42

Important

  • Back up your GameModeManager.json configuration file and let the plugin generate the new version. This version has significant changes to the configuration file.

  • This update will also install CS2-CustomVotes and overwrite any custom JSON configuration you may have for this plugin. Please make a backup before installing this plugin.

  • If switching between v1.0.41 or earlier to v1.0.42, make sure to remove the old enable_course.cfg and disable_course.cfg files from the settings folder.

Credits

@imi-tat0r for their CS2-CustomVotes API
@kus for their addition of relative paths in the Config.cs file.
@mavproductions for their proactive bug hunting, which resulted in the proper deregistration of per-map votes. (commit 0dd628e).

New Features

  • Player Voting: If enabled, allows voting for custom game modes, game settings, and maps.
  • Custom Menu Styles: You can now choose between "center" and "chat" menus for each setting category.
  • Admin Setting Menu: Enable or disable custom settings. Setting configuration files can be added to a custom settings folder in the csgo/cfg directory using the enable_ and disable_ prefix.

UI/Configuration Changes

  • All file paths are now relative (Thanks @kus!).
  • Game modes now have a friendly name property in the configuration.
  • Map groups can have friendly names using a custom "displayname" property in map group files.

Bug fixes

  • Fixed a bug where map lists wouldn't update after deregistering per map votes. Thanks @mavproductions!
  • Fixed plugin reload exceptions.
  • Fixed an issue where map group change would result in broken votes.

Installation

  1. Install Metamod:Source and Counter Strike Sharp.

  2. Copy addons and cfg folders to /csgo/.

  3. Make sure your gamemodes_server.txt or custom map group file is in VDF Format and contains a list of map groups.

  4. If you are not using the JSON configuration file for specifying game modes, include the "displayname" property within your gamemodes_server.txt or custom map group file for each map group.

    Example:

    "mg_dm"
     	{
     		"imagename"				"mapgroup-bomb"
     		"displayname"			"Deathmatch"
     		"nameID"				"#SFUI_Mapgroup_allclassic"
     		"tooltipID"				"#SFUI_MapGroup_Tooltip_Desc_DeathMatch"
     		"name"					"mg_dm"
     		"icon_image_path"		"map_icons/mapgroup_icon_deathmatch"
     		"maps"
     		{
     			"ar_shoots"												""
     			"ar_baggage"											""
     			"workshop/3070550406/de_safehouse"						""
     			"workshop/3070563536/de_lake"							""
     			"workshop/3070581293/de_bank"							""
     			"workshop/3070923343/fy_pool_day"						""
     			"workshop/3070238628/fy_iceworld"						""
     			"workshop/3070291913/ar_churches_s2r"					""
     			"workshop/3082113929/aim_ag_texture_city_advanced"		""
     			"workshop/3074961197/aim_ag_texture2"					""
     			"workshop/3095778105/aim_ag_texture_jungle"				""
     			"workshop/3109232789/gg_simpsons_vs_flanders_v2"		""
     			"workshop/3086555291/shipment_version_1_0"				""
     			"workshop/3131645522/de_rust"							""
     			"workshop/3133577140/nuketown"							""
     			"workshop/3080114822/mansion"							""
     		}
     	}
    
  5. If needed, update each game mode configuration file (i.e. comp.cfg) to include css_mapgroup <map group>.

  6. Update the configuration file GameModeManager.json.

For more information on the configuration of these features, please see the updated README.md.

Refactoring

There has been a lot of code refactoring to adjust for the addition of these features as well as for readability.

Full Changelog: v1.0.3...v1.0.42

v1.0.3

05 Apr 01:11
Compare
Choose a tag to compare

Game Mode Manager v1.0.3

Important

If updating from version 1, back up your GameModeManager.json configuration file and let the plugin generate the new version.

New Features

  • Map Command: You can now change the map using !map [map name] optional: [id].
  • Mode Command: You can now change the game mode using !mode [mode name] (i.e. surf for mg_surf).
  • Game Mode List: Game modes generated from map groups in gamemodes_server.txt will have the first letter capitalized in the menu.

Bug Fixes

  • Forced map menu regeneration even if the map group is the same.
  • Fixed bug where change map function would repeat if a map change did not occur.
  • Addressed capitalization issues by forcing all capitalized letters to lowercase when executing mode configuration files.

Full Changelog: v1.0.2...v1.0.3