Skip to content

Releases: nickj609/GameModeManager

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

v1.0.2

01 Apr 19:52
Compare
Choose a tag to compare

Game Mode Manager v1.0.2

Important

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

New Features

  • In-game Messages: There are now in-game messages when changing maps and game modes.
  • Delayed Execution: All map and game mode changes are delayed for 5 seconds for in-game messaging.
  • Language Translation: In-game messages and menus are now customizable and displayed in other languages. See /lang for available languages and customization options.

Bug Fixes

  • Minor logging and logic updates for brevity.
  • Fixed game mode list generation; addressed map group formatting inconsistencies.

Full Changelog: v1.0.1...v1.0.2

v1.0.1

01 Apr 05:14
Compare
Choose a tag to compare

Game Mode Manager v1.0.1

Important

Backup your GameModeManager.json configuration file and let the plugin generate the new version.

New Features

  • Default Map Cycle: Automatically changes the map to a random map within the current map group when RTV is disabled.

Bug Fixes

  • Fixed a bug where non UTF-8 characters would result in issues parsing gamemodes_server.txt file.
  • Game Mode Menu now loads regardless of whether or not parsing gamemodes_server.txt is successful if Game Mode List is enabled.

Error Checking

  • RTV settings are only validated if RTV is enabled.
  • Additional error checking and logging added when parsing gamemodes_server.txt. See README.md for common errors.

Configuration Changes

  • Configuration options have been separated into categories.
  • RTV compatibility is now disabled by default in the configuration and will have to be manually enabled.

Full Changelog: v1...v1.0.1

v1.0.0

21 Mar 00:21
Compare
Choose a tag to compare