Hunters and Speedrunners are now in teams, which means that they're names are colored red and green, and also they can now use the command /teammsg to write a message only to their team
Fixes: - when playing with multiple speedrunners, sometimes hunters were also being removed with them
New features: - new option in `config.yml` called `spectatorAfterDeath`, which gives spectators to speedrunners after death (only when playing with multiple speedrunners)
Other changes: - refactored the whole project
- option `usePermissions` is now set to true on default, which means only ops can run manhunt commands
Now, you can disable players from using manhunt commands by changing the option in file config.yml usePermissions to true, and not giving them the permission. People with the permission will always be able to use commands.
Important note:
Even if the player doesn't have permission to use the commands, they will still be able to use /manhunt pause, as it wouldn't make sense otherwise.
Improvement Now during pauses players no longer give resistance, but the damage is simply cancelled. This means that players armor won't break due to mobs. Also after resuming the game, players give resistance for 5sec to escape mobs if they surrounded a player.
Quality of life update: Adding and removing players to the game is now much faster and easier, because now you can add multiple hunters or speedrunners with one command!