Releases: ssypchenko/GG1MapChooser
[CS2] GG1MapChooser v1.2.5
Improved mp_maxrounds requests
Fixed minor potential problem with duplicate voting
[CS2] GG1MapChooser v1.2.4
- Enhanced Config Checker: Added detailed debug notes for config issues.
- Fixed Vote Time Calculation: Improved accuracy for "Vote Depends On Time Limit".
- Human-Readable Config: Updated config variables for better readability.
- Fixed Nextmap Command: Resolved issues with the Nextmap command.
- New Feature: Added variable to enable map change after a vote.
Please delete your previous config file and allow the plugin to create a new one, then update it with your parameter values, as some variables have changed significantly.
[CS2] GG1MapChooser v1.2.3
New Features
- Protection from Incorrect Settings: Added validation for configuration settings with detailed debug messages logged to files. This helps to ensure correct configuration and easier troubleshooting.
- Time-Limited Round Voting: Introduced functionality to start votes based on the time limit of a round. You can now set a specific time in seconds before the end of a round to initiate a vote.
- Voting Status API: Added a new API to the plugin, allowing other plugins to check the current voting status using GGMC_IsVoteInProgress().
Fixes
- Translation Correction: Fixed an accidental mistake in the translation to improve message accuracy and clarity.
Enhancements
Customizable Player Messages:
- If you want to customize how messages appear to players, you can replace the PrintToServerCenter function with PrintToServerCenterHTML in the code and add HTML codes for colours or fonts to the translations and then recompile the plugin.
- You can customise the appearance of messages printed in the chat with colour codes adding chat colours in message translations.
Note: Always ensure your configuration settings are correct to take advantage of the new protection features and avoid potential issues. If you want to use Time-Limited Round Voting, it is advisable to delete the config file so it is recreated with new parameters.
[CS2] GG1MapChooser v1.2.2
minor bug fixes.
[CS2] GG1MapChooser v1.2.1
New Features
Localisation for "Extend Map" Menu Item:
- Added localisation support for the "Extend Map" menu item.
Load Voted Map at Game End:
- Config Option: ChangeMapAfterVote
- Description: When set to true, the plugin will automatically load the map chosen in the vote at the end of the game.
Delay Before Loading Winning Map:
- Parameter: EndOfMapDelayBeforeChangeSeconds
- Description: Defines the delay before the plugin loads the winning map after the game ends. Ensure this is at least 6 seconds longer than the voting duration.
Enhanced Logging:
- Added more logs to provide detailed information for fixing potential bugs.
Changes
Parameter Renaming:
- Old Parameter: ExtendMapTimeSeconds
- New Parameter: ExtendMapTimeMinutes
- Description: The ExtendMapTime parameter is now specified in minutes instead of seconds.
Bug Fixes
- Minor bug fixes to improve overall stability and performance.
Additional Updates
Chinese Translation:
- Added Chinese translation, thanks to YuYueCraft.
Compilation:
- Compiled on CSS v.239.
Important Notice
Configuration File Update:
- Please delete the existing configuration file located at csgo/addons/counterstrikesharp/configs/plugins/GG1MapChooser/GG1MapChooser.json.
- Update the newly created configuration file with your custom settings.
[CS2] GG1MapChooser v1.2.0
New Features
Configurable Delay Before Map Change:
- Variable: RandomMapOnStartDelay
- Default: 40 seconds
- Description: Sets the delay before switching to a random map after the server restart.
Configurable Map Vote Menu:
- Variable: EndMapVoteWASDMenu
- Default: false
- Description: Allows users to choose whether the map vote appears in the WASD menu or the Chat Menu.
Extend Map Option in Votes:
- Variable: ExtendMapInVote
- Default: false
- Description: Adds an option to extend the current map's time during voting
- Variable: ExtendMapTimeSeconds
- Default: 600 seconds
- Description: Configurable extension period.
New Console Command for Map Vote and Change:
- Command: ggmc_mapvote_with_change
- Description: Initiates a map vote and loads the voted map after the voting ends.
Support for Workshop Maps:
- Configuration: mapid parameter in GGMCmaps.json file
- Description: Adds the ability to work with maps by workshop numbers.
Improvements
Nominate Command Enhancements:
Improved functionality and reliability of the "nominate" command.
The "nominate" command now runs in the WASD menu, allowing for quick map scanning.
For all details and Workshop maps id application please use ReadMe.
[CS2] GG1MapChooser v1.1.0
Major Update Highlights
New Features
- Admin Menu Rebuild: The admin menu has been completely rebuilt using the WASDMenuAPI from "Interesting". This enhances usability and provides a more intuitive interface for administrators.
- Map Change Settings: Added new settings that allow map changes based on the number of rounds played and the number of wins left.
Bug Fixes
- Various minor bug fixes to improve overall stability and performance.
Known Issues
- Voting Menu: The voting menu is still displayed in the chat. Using the WASD keys to navigate while voting can cause issues as it interferes with game character movement.
Planned Updates
- Future releases will include additional menus transitioned to the WASDMenuAPI for improved consistency and functionality.
Important Notes
- Map voting based on rounds and wins: This feature is included but not fully confirmed to be working without issues. All known errors have been addressed.
Update Instructions
File Structure Changes
Ensure you update the plugin by following the revised folder structure under /csgo/addons/counterstrikesharp:
- "plugins" folder: Contains two plugins - GG1MapChooser and WASDMenuAPI required for menu management.
- "shared" folder: Contains WASDSharedAPI required for both plugins.
Configuration File Update
It is strongly recommended to delete the existing configuration file at:
csgo/addons/counterstrikesharp/configs/plugins/GG1MapChooser/GG1MapChooser.json
Allow the plugin to generate a new configuration file. Update the new file with your preferred settings. For example for rounds management:
VoteDependsOnRoundsWinned: Set to true
TriggerRoundsBeforeEnd: Set to 1 (or your desired value) to trigger the vote just before the last round.
Feedback
Please report any issues or bugs encountered. Your feedback is valuable and will help improve the plugin in future releases.
[CS2] GG1MapChooser v1.0.3
Included language files (translations), I forgot to include them in the previous releases, I'm sorry.
Added Brazilian localisation, thank you crashzk.
[CS2] GG1MapChooser v1.0.2
Added a new server command: ggmc_auto_mapchange
It will change the map to a random one.
[CS2] GG1MapChooser v1.0.1
Added an example of GGMCmaps.json
You can see how to put maps in the list. The last part:
"de_overpass": {
"ws": false,
"minplayers": 25,
"maxplayers": 25,
"weight": 1
}
The number of players is set higher than the maximum number of players on the server, so this map will never be on the voting list. However, admins can manually select this map for the map change.