Uses of Class
de.marcely.bedwars.api.remote.SpectateRemotePlayerInfo
Packages that use SpectateRemotePlayerInfo
Package
Description
Classes used to manage other servers running MBedwars remotely.
-
Uses of SpectateRemotePlayerInfo in de.marcely.bedwars.api.remote
Methods in de.marcely.bedwars.api.remote that return SpectateRemotePlayerInfoModifier and TypeMethodDescriptionSpectateRemotePlayerInfo.setIgnoreArenaStatus(boolean ignoreArenaStatus) Define whether a player is able to spectate an arena, even if it is not running.SpectateRemotePlayerInfo.setPlayer(RemotePlayer player) Defines the player that shall be added as a spectator.SpectateRemotePlayerInfo.setReason(SpectateReason reason) Define the reason for why the player shall be added as a spectator.Methods in de.marcely.bedwars.api.remote with parameters of type SpectateRemotePlayerInfoModifier and TypeMethodDescriptionvoidRemoteArena.addSpectator(SpectateRemotePlayerInfo info, @Nullable Consumer<RemoteSpectatorAddResult> callback) Adds a spectator into the arena.