Package eu.sculkpowered.server.team
Interface TeamHandler
public interface TeamHandler
-
Method Summary
Modifier and TypeMethodDescription@NotNull Team
register
(Team.Builder builder) Registers a new team by a builder.@Nullable Team
Gets a team by the name.void
unregister
(@NotNull Team team) Unregisters a team.
-
Method Details
-
register
Registers a new team by a builder.- Parameters:
builder
- the team builder to register- Returns:
- the new created team
- Since:
- 1.0.0
-
team
Gets a team by the name.- Parameters:
name
- the name of the team- Returns:
- the team or null
- Since:
- 1.0.0
-
unregister
Unregisters a team.- Parameters:
team
- the team to unregister- Since:
- 1.0.0
-