I haven’t found any documentation or tutorials about creating and managing teams. Can someone help me? Thanks.
Hi, there is the “ScoreboardBuilder” on org.spongepowered.api.GameRegistry.ScoreboardBuilder
. You can set teams, objectives with this, for example:
ScoreboardBuilder sbBuilder = game.getRegistry().getScoreboardBuilder();
sbBuilder.teams(List<Team>);
sbBuilder.objectives(List<Objective>);
Hope I helped you ^^
Thank you. I used “TeamBuilder” because I wanted to make teams for my team death match plugin, but I got everything working.
Nice If you don’t have problems anymore with this, don’t forget to change the name of your topic with “[SOLVED]”
1 Like