Hi again!
Well, this is stupid - I managed to forget to add a part of the shuffling system, as well as make sure the scoreboard alternatives are also purged when their team is purged.
I also added the required permission checks to ensure no ordinary player can move other players between teams.
Despite having had no updates in a while, I present to you a new and improved BetterTeaming v2.
This update introduces... * A lot of internal code refactoring, making the plugin more comfortable for use (such as providing essential error messages on invalid parameters or syntax, consistent parameter naming etc.)
* A streamlined Localization System that will be used in all of my future plugins (as well as the existing plugins that will be maintained) that allows anyone to easily translate the plugin into whatever language they wish.
* A better shuffling system (one that takes into account UUIDs, still allows for mock players and is in general cleaner)
* Reduced useless logging
With this come some minor changes... * /btscoreboardalt has been merged into
/bteams and can now be used as `/bteams scoreboardalt <team> <get|set|reset>`
* ShuffleWatcher has been removed (mostly due to it serving as a fix to a problem with the old shuffling code, and really being the stupidest thing ever)
* The configuration file is currently not used - it will be left for future use (in case future updates to the plugin warrant any additional configuration options)
This update has been quite the effort (I basically rewrote all of the code), but I hope with it the plugin will be easier to use.
You can finally empty multiple teams at once!
/btemptyall is now available for use.
/btemptyall <shuffleGroupID or -all> Specify -all to empty all teams. Every single one of them, including the scoreboard alternatives.
ShuffleWatcher ShuffleWatcher, or the most annoying 5 lines, will now check for your latest shuffle, compare it to your current query and warn you if It includes the same shufflegroup. You can disable it, though, which brings me to the last topic, being...
the Config File! Yep, it's here. For now, you can disable/enable shufflewatcher from it, but as new features come out, it'll contain more stuff to tweak.
Added the -all flag for /btshuffle
- If you want to include all offline players in the shuffling process, use -all instead of typing their nicknames.
Fixed a few design issues.
You should make a backup of your teams.yml file, and delete the BetterTeaming-1.15 folder. It may now recognize the folder now. After the plugin recreates the folder, you can just replace the new teams.yml with your old one.