Added a Vote To Start system
- Enable at Options.Game.Votes.Enable-Vote-To-Start
- If a player that voted to start the game leaves before the game starts the vote will be removed
- Works for both Dragons and Dragon Escape
You have to set the min votes per map, to do this use the command:
/dragons setVotesToStart <map> <amount>
Otherwise the minimum votes will be half of min players
Options:
- Options.Game.Votes.Have-To-Confirm If true, players will receive a prompt to click again on the item to confirm the vote.
- Options.Game.Votes.Insta-Start If true, when the game reaches the min the votes to start the game the game will start without the starting countdown
- Options.Game.Votes.Enable-Command Enables /dragons vote command if you want to use commands
Items:
- Items.Vote-Item.Item
- Items.Vote-Item.Slot
Messages:
- Messages.Vote-Click-Again-To-Confirm
- Messages.Already-Voted
- Messages.Voted
Placeholders (for Lobby Scoreboard and Voted message)
%total_votes%
%needed_votes%
Scoreboard example:
Code (Text):
Dragons-Lobby-Format:
- 'Type: &a%gamemode%'
- 'Mode: &a%mode%'
- ' '
- 'Map: &a%mapname%'
- 'Players: &b%players%/%maxplayers%'
- 'Needed: &b%minplayers%'
- 'Votes: &a%total_votes%&7/&a%needed_votes%'
- ' '
- 'State: %capitalize_state%'
- ' '
- yourserver.com