Teams reward exploit
Describe the bug
Players all join the same team and allow the game to start, the game ends and the team wins automatically and gives them the reward, even though no game is played.
Server and plugin version
Spigot version: Paper version git-Paper-300 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
BedWars version: BedWars-0.2.8-SNAPSHOT-515.jar
Installed plugins on server (can be obtained by /pl)
Plugins (29): BedWars, ChatControl, Citizens, CMI, CMIPaperLib, CoreProtect, CrazyEnchantments, Denizen, Depenizen, FastAsyncWorldEdit, HeadDatabase*, LibsDisguises, LuckPerms, Minepacks, Multiverse-Core, MythicMobs, PhatLoots, PlaceholderAPI, PocketGames, ProtocolLib, SCBWAddon, Shopkeepers, SpecializedCrates, SuperLuckyBlock, Vault, VoidGenerator, WorldBorder, WorldEdit, WorldGuard
Console log
Configuration (of config.yml and shop.yml)
https://pastebin.com/2tcxLp29 https://pastebin.com/hFj3q4ck
If there are problem with only one game, paste here config of this game
This is interesting because I've always remembered this plugin to make sure teams are balanced before starting. The simple solution would be to have a check in place that the player count on all teams are within 1 player of each other.
I think that the teams should be sort of like Mineplex Bedrock where you can queue for a team, but until that spot opens up, you stay on the team that would make it even.
This exploit should be fixed in the latest sbw version.