public LobbyModule
void setSpawnpoint(double x, double y, double z)
Set spawnpoint for this lobby.
x
- Coordinate in X-axis.y
- Coordinate in Y-axis.z
- Coordinate in Z-axis.void setSpawnpoint(double x, double y, double z, float yaw, float pitch)
Set spawnpoint for this lobby.
x
- Coordinate in X-axis.y
- Coordinate in Y-axis.z
- Coordinate in Z-axis.yaw
- Yaw degree.pitch
- Pitch degree.void setTimer(@NotNull Timer timer)
Set timer for this lobby. The game starts when the timer runs out.
timer
- is the amount of time for which the game should wait for more players.void setExitWorld(@NotNull java.lang.String world, double x, double y, double z)
void setExitServer(@NotNull java.lang.String server)