Feat: Votemap rework, multiple votes per player, player can add map to selection#1064
Open
Feat: Votemap rework, multiple votes per player, player can add map to selection#1064
Conversation
550d1af to
b446ba0
Compare
timraay
reviewed
Aug 1, 2025
Collaborator
timraay
left a comment
There was a problem hiding this comment.
For native Python types (list, dict, ...) you do not have to use their typing equivalent anymore for type annotations. foo: typing.List[str] therefore becomes foo: list[str].
a9bb9ec to
5037026
Compare
5037026 to
08d79cb
Compare
… reminder on vm selection reset
474a975 to
82d62fe
Compare
70aeea9 to
6f35b77
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
UI Changes
!vm|!votemapdisplays only list of maps and which map the player votedTODO
New features
!vm add help!vm add <map_tag> [game_mode] [attackers | only if game_mode=offensive] [environment]where game_mode, environment and attackers respectively default to warfare, day and allies0will practically disable player's ability to vote and the player will be informed in such a case with message "Player banned from voting"2+will give players more decisions power100may be given to admin users to outvote others.API Changes
get_votemap_statusreturns the following object and is in the same order as when seen in the game message.get_votemap_configandset_votemap_configcontains new fieldget_votemap_resultsreturns up to 100 historical votemap resultsadd_map_to_votemap,remove_map_from_votemapandset_votemap_winneradd_votemap_votesend_votemap_reminderforces reminder to vote that is displayed to all players except the ones who have voted and/or have reminders disabledInternal changes
votemap:<key>