Hello,
I search how to create Team as a Bukkit Plugin, I don’t find in the forum. How can I create Team and add Player, modify the prefix/suffix please ?
Thank you very much.
Hello,
I search how to create Team as a Bukkit Plugin, I don’t find in the forum. How can I create Team and add Player, modify the prefix/suffix please ?
Thank you very much.
Text suffix;
Text prefix;
Player playerToAdd;
Team team = Team.builder()
.setSuffix(suffix)
.setPrefix(prefix)
.addMember(playerToAdd.getTeamRepresentation())
.build();
Thats how to do it with a Sponge plugin. If you want a Bukkit plugin then please use the spigot/bukkit forums