BetterTeaming v2 icon

BetterTeaming v2 -----

Making teams - simplified!



Introducing BetterTeaming v2 - a remake and successor to BetterTeaming.
This plugin introduces custom teams with player limits and color coded names, as well as provides a useful shuffling system to allow for easier teammaking.

Managing teams
Teams can be managed using the `/bteams` command with its many subcommands. They are as follows:
Code (Text):
/bteams create <team> <displayName>
- creates a team with the provided id and display name.
Code (Text):
/bteams edit <team> <property> <newValue>
- allows for manual editing of a team's properties.
Code (Text):
/bteams scoreboardalt <team> <get|set|reset>
- manages scoreboard alternatives (described further down).
Code (Text):
/bteams list [all|scoreboard|custom]
- displays all the existing teams.
Code (Text):
/bteams delete <team>
- deletes a team.

NB! The plugin supports color codes in display names - you can use the '&' symbol paired with a character/number to use a color.


Joining and leaving
You can join a BT team via /btjoin, and leave one via /btleave.
By default, passing no arguments into /btleave you will leave your current team. If you are in multiple teams, you will be prompted to select which team(s) you wish to leave.
These commands also take in a player as a second argument. You do not have to include your nickname if you are performing the command yourself - rather, the player parameter allows administrators to manually move players between teams.

Editing properties
Most properties are automatically edited when using various commands - for example, the scoreboardAlternative property is automatically updated upon setting/resetting a scoreboard alternative. The /bteams edit subcommand provides a manual way of setting all* properties a team has.
This is useful when setting max player count (for which there is no dedicated command), or changing the display name (which also doesn't have its own command).

Displaying teams
You can use the /btdisplay command to view the players in any team.
You can also hover on the player entries in the list shown to see whether a player is online/offline or even exists.

Teammaking (shuffling)
This plugin uses a different system for shuffling players than the original plugin.

Shuffling starts with a Shuffle Group.
A shuffle group contains all the teams you wish to shuffle between.
An example of using a shuffle group can look like this:
Suppose we have 4 teams: red, green, blue and yellow, and a shuffle group called testshuffle.

1. Creating the shuffle group:
/btshufflegroup create testshuffle


2. Add the teams to the shuffle group:
/btshufflegroup addteam testshuffle red
/btshufflegroup addteam testshuffle green
/btshufflegroup addteam testshuffle blue
/btshufflegroup addteam testshuffle yellow

3. Use the shuffle command with the testshuffle shuffle group:
/btshuffle testshuffle


Scoreboard Alternatives
As mentioned before, it is not possible to include scoreboard teams in a shuffle group. It is, however, possible to set a scoreboard team as a BT team's scoreboard alternative.
Scoreboard Alternative is a scoreboard team, that the shuffled player will be also added to, and which follows the same rules set to the original BT team.

Use /bteams scoreboardalt set <team> <scoreboardTeam> to set the alternative.

More on the topic of scoreboard alternatives
You can set maximum capacity to the teams you create, so when the players will be shuffled, more than [defined capacity] won't be added to this team.
This property is also used by the scoreboard alternatives, so if the player is not chosen into team1, he will also not be added to team1's alternative.

Other commands

/btempty <team>
Empties a team.

/btemptyall [shuffleGroupID]
Purges the players in the teams of the specified shufflegroup.
You may optionally omit the shuffle group parameter to empty all shufflegroups' teams.



Permissions
BetterTeaming v2 only has two permissions:
- betterteaming.basic (granted to players, allows the basic btjoin/btleave)
- betterteaming.manage (grants admin access to the plugin, as well as allows admins to move players between teams)

Updating
After updating the plugin (v1.4+), make sure to run /lang refreshDefault and /lang reload after installing the plugin. This will make sure the latest languge file is in use.

For more info on the commands and localization, check the Documentation tab.

Thanks for downloading my plugin! Please do tell me of any bugs you encounter. I'll be happy to fix them.
Resource Information
Author:
----------
Total Downloads: 166
First Release: Jan 18, 2022
Last Update: Jul 27, 2024
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings