-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
so yeah ... we need to make a new command to allow a player to vote for a mindustry map in-game, along with infrastructure to track votes across map versions and players. Here is what I am thinking
- Update the Discord Bot to make a
maps.jsonfile, which keeps a list of all maps in current maps, along with a list previous filenames associated with the map - When a server has a map update, download a copy of this JSON file for reference
- Store votes in a FishPlayer as a Record<filename, {vote:number, feedback:string}>
- When a player connects, update their map votes so the filename parameter matches the most recent file
- when a player votes, check if they have a vote of matching filename (update a vote if so, create a new vote if not)
Then getting the votes per each map ... that's some database stuff for balam to figure out
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels