Added draw ending, if the all players blew up in the same explosion the game will end with a draw.
Added reward for the draw ending.
Added option to count draws as a win.
Added minimum round duration feature.
Added feature to only pick one tagged player after a specific amount of players left.
Now players will receive the end-game reward after their inventory cleared. (Fixed players lost their items given by the commands)
Fixed the random join algorithm, now it randomizes the maps if there are no players in the arenas.
Fixed the knockback is disabled if multiple explosion option is not enabled.
Fixed reload command not reloading the config options (may not all the options, such as round settings, reload because some of them are cached in a different manager).
Fixed if the pick percentage is too high, it picks up all the players as a tagged player.
Updated the pick percentage algorithm, now it ceils the value rather than flooring.
Changes in config.yml
Code (YAML):
Round-Settings: # If the next round duration is shorter than this option then it will be # equal to this amount of time. Minimum-Round-Duration: 20
Firework-Settings: # After a specific amount of players left, there will only be chosen # one tagged player. # # Set the value below 0 (zero) to disable. Only-One-Tagged-After: 7
Firework-Settings: # Should we launch cool fireworks when a player tags another player? Enabled: true
# The primary color to the firework effect. (RED:GREEN:BLUE). Color: "255:0:0" # Specify the type of the firework effect. # Other effects: BALL, BALL_LARGE, STAR and BURST. Effect-Type: CREEPER
# Set whether the firework effect should have a trail. Trail: true
# The power of the firework. Power: 15
# Set whether the firework effect should flicker. Flicker: false
# After how many ticks should the firework detonate? (20 ticks = 1 second) Delay: 15
# Should we count draws as a win? Win-On-A-Draw: false
Changes in messages.yml
Code (YAML):
messages:
draw-message: -
"&a&m-----------------------------------------------------" -
"" -
"&f&lThe game has ended with a draw!" -
"&eNobody won the game!" -
"" -
"&c&lAll players blew up in the same explosion." -
"" -
"&a&m-----------------------------------------------------"
Changes in rewards.yml
Code (YAML):
Rewards: # This reward will be executed if the game ends with a draw. Draw: -
"p:say %map_name% has ended with a draw!"