Uses of Class
de.marcely.bedwars.api.remote.AddRemotePlayerInfo
-
Uses of AddRemotePlayerInfo in de.marcely.bedwars.api.remote
Modifier and TypeMethodDescriptionAddRemotePlayerInfo.addPlayer
(RemotePlayer player) Add a player that shall be added to the arena.AddRemotePlayerInfo.addPlayers
(RemotePlayer... players) Add multiple players that shall be added to the arena.AddRemotePlayerInfo.addPlayers
(Collection<RemotePlayer> players) Add multiple players that shall be added to the arena.AddRemotePlayerInfo.clone()
AddRemotePlayerInfo.setAutoAssignTeam
(boolean autoAssign) Whether a team shall be automatically assigned.AddRemotePlayerInfo.setAutoAssignTeamIncludePlayers
(Collection<RemotePlayer> players) Set all players that shall also be concidered for the auto-team assignation.AddRemotePlayerInfo.setCause
(AddPlayerCause cause) Define the cause that made the player join the arena.AddRemotePlayerInfo.setForcefully
(boolean force) Whether it should ignore that he's already playing within an arena.AddRemotePlayerInfo.setSpectatorFallback
(boolean enableFallback) Define whether players shall fall back as spectators when the arena is running.AddRemotePlayerInfo.setTargetTeam
(@Nullable Team targetTeam) Set the team which the player shall automatically enter when he joins the arena.Modifier and TypeMethodDescriptionvoid
RemoteArena.addPlayer
(AddRemotePlayerInfo info, @Nullable Consumer<RemotePlayerAddResult> callback) Adds a player (or multiple players) into the arena.void
RemoteAPI.addPlayerToArena
(AddRemotePlayerInfo info, RemoteArena arena, @Nullable Consumer<RemotePlayerAddResult> callback) Makes the player enter the arena and play in it.ModifierConstructorDescriptionRemotePlayerAddResult
(AddRemotePlayerInfo info, @Nullable AddPlayerIssue issue)