Uses of Interface
de.marcely.bedwars.api.remote.RemotePlayer
Packages that use RemotePlayer
Package
Description
Events fired when events occur on a MBedwars
RemoteServer
.Classes dedicated building and sending messages to players.
Classes used to manage other servers running MBedwars remotely.
Various helper classes that can be used to make life a lot easier.
-
Uses of RemotePlayer in de.marcely.bedwars.api.event.remote
Methods in de.marcely.bedwars.api.event.remote that return RemotePlayerModifier and TypeMethodDescriptionRemotePlayerJoinArenaEvent.getPlayer()
The player that joined it.RemotePlayerJoinServerEvent.getPlayer()
Gets the player that has entered a server.RemotePlayerPreJoinLocalArenaEvent.getPlayer()
The player that is about to join the arena.RemotePlayerQuitArenaEvent.getPlayer()
The player that quit it.RemotePlayerQuitServerEvent.getPlayer()
Gets the player that has left a server.Constructors in de.marcely.bedwars.api.event.remote with parameters of type RemotePlayerModifierConstructorDescriptionRemotePlayerJoinArenaEvent
(RemotePlayer player, RemoteArena arena) RemotePlayerPreJoinLocalArenaEvent
(RemotePlayer player, Arena arena) RemotePlayerQuitArenaEvent
(RemotePlayer player, RemoteArena arena) -
Uses of RemotePlayer in de.marcely.bedwars.api.message
Methods in de.marcely.bedwars.api.message with parameters of type RemotePlayerModifier and TypeMethodDescriptiondefault String
Message.done
(@Nullable RemotePlayer sender) Same asMessage.done(RemotePlayer, boolean)
and puts this instance automatically back into the poolMessage.done
(@Nullable RemotePlayer sender, boolean freeInstance) Will put the message into the MessageProccessor and returns its result.default void
Message.send
(RemotePlayer sender) Computes it and sends it to the personvoid
Message.send
(RemotePlayer sender, boolean freeInstance) Computes it and sends it to the person -
Uses of RemotePlayer in de.marcely.bedwars.api.remote
Methods in de.marcely.bedwars.api.remote that return RemotePlayerModifier and TypeMethodDescription@Nullable RemotePlayer
RemoteAPI.getOnlinePlayer
(String name) Returns the information of a player that is currently online on the network.@Nullable RemotePlayer
RemoteAPI.getOnlinePlayer
(UUID uuid) Returns the information of a player that is currently online on the network.@Nullable RemotePlayer
RemoteAPI.getOnlinePlayer
(OfflinePlayer player) Returns the information of a player that is currently online on the network.Methods in de.marcely.bedwars.api.remote that return types with arguments of type RemotePlayerModifier and TypeMethodDescriptionAddRemotePlayerInfo.getAutoAssignTeamIncludePlayers()
All players that also are being concidered for the auto-team assignation.Collection
<? extends RemotePlayer> RemoteAPI.getOnlinePlayers()
Returns a collection of all known online players on the network.AddRemotePlayerInfo.getPlayers()
Returns all players that have been added so far.Collection
<? extends RemotePlayer> RemoteArena.getRemotePlayers()
Returns all the players that are currently playing on this arena.Methods in de.marcely.bedwars.api.remote with parameters of type RemotePlayerModifier and TypeMethodDescriptionAddRemotePlayerInfo.addPlayer
(RemotePlayer player) Add a player that shall be added to the arena.default void
RemoteArena.addPlayer
(RemotePlayer player) Adds a player into the arena.default void
RemoteArena.addPlayer
(RemotePlayer player, @Nullable Team team) Adds a player into the arena.default void
RemoteArena.addPlayer
(RemotePlayer player, @Nullable Team team, @Nullable Consumer<RemotePlayerAddResult> callback) Adds a player into the arena.default void
RemoteArena.addPlayer
(RemotePlayer player, @Nullable Consumer<RemotePlayerAddResult> callback) Adds a player into the arena.AddRemotePlayerInfo.addPlayers
(RemotePlayer... players) Add multiple players that shall be added to the arena.default void
RemoteArena.addSpectator
(RemotePlayer player) Adds a spectator into the arena.default void
RemoteArena.addSpectator
(RemotePlayer player, boolean ignoreArenaStatus) Adds a spectator into the arena.default void
RemoteArena.addSpectator
(RemotePlayer player, boolean ignoreArenaStatus, Consumer<RemoteSpectatorAddResult> callback) Adds a spectator into the arena.default void
RemoteArena.addSpectator
(RemotePlayer player, SpectateReason reason) Adds a spectator into the arena.default void
RemoteArena.addSpectator
(RemotePlayer player, SpectateReason reason, boolean ignoreArenaStatus) Adds a spectator into the arena.void
RemoteArena.addSpectator
(RemotePlayer player, SpectateReason reason, boolean ignoreArenaStatus, @Nullable Consumer<RemoteSpectatorAddResult> callback) Adds a spectator into the arena.default void
RemoteArena.addSpectator
(RemotePlayer player, SpectateReason reason, @Nullable Consumer<RemoteSpectatorAddResult> callback) Adds a spectator into the arena.default void
RemoteArena.addSpectator
(RemotePlayer player, @Nullable Consumer<RemoteSpectatorAddResult> callback) Adds a spectator into the arena.void
RemoteAPI.addSpectatorToArena
(RemotePlayer player, RemoteArena arena, SpectateReason reason, boolean ignoreArenaState, @Nullable Consumer<RemoteSpectatorAddResult> callback) Makes a player enter an arena as a spectator.void
RemoteServer.executeBedwarsCommand
(RemotePlayer sender, String label, String[] args) Executes a command on the server, as if a player would run it.default @Nullable RemoteArena
RemoteAPI.getArenaByPlayingPlayer
(RemotePlayer player) Looks for an arena with that player inside the arena.default @Nullable RemoteArena
RemoteAPI.getArenaBySpectator
(RemotePlayer player) Looks for an arena with that player spectating the arena.void
RemoteAPI.sendToHub
(RemotePlayer player) Causes a player to get teleported to the hub server.default void
RemoteArena.teleportHere
(RemotePlayer player) Teleports a player into the arena.default void
RemoteArena.teleportHere
(RemotePlayer player, boolean sendMessage) Teleports a player into the arena.void
RemoteArena.teleportHere
(RemotePlayer player, boolean sendMessage, @Nullable Consumer<Boolean> callback) Teleports a player into the arena.default void
RemoteArena.teleportHere
(RemotePlayer player, @Nullable Consumer<Boolean> callback) Teleports a player into the arena.void
RemoteAPI.teleportPlayerToArena
(RemotePlayer player, RemoteArena arena, boolean sendMessage, @Nullable Consumer<Boolean> callback) Makes the teleport himself into the arena.Method parameters in de.marcely.bedwars.api.remote with type arguments of type RemotePlayerModifier and TypeMethodDescriptionAddRemotePlayerInfo.addPlayers
(Collection<RemotePlayer> players) Add multiple players that shall be added to the arena.AddRemotePlayerInfo.setAutoAssignTeamIncludePlayers
(Collection<RemotePlayer> players) Set all players that shall also be concidered for the auto-team assignation. -
Uses of RemotePlayer in de.marcely.bedwars.tools
Methods in de.marcely.bedwars.tools that return RemotePlayerModifier and TypeMethodDescription@Nullable RemotePlayer
CommandSenderWrapper.BukkitWrapper.getRemotePlayer()
@Nullable RemotePlayer
CommandSenderWrapper.getRemotePlayer()
Returns theRemotePlayer
that is being wrapped.@Nullable RemotePlayer
CommandSenderWrapper.RemoteConsoleWrapper.getRemotePlayer()
@Nullable RemotePlayer
CommandSenderWrapper.RemotePlayerWrapper.getRemotePlayer()
Methods in de.marcely.bedwars.tools with parameters of type RemotePlayerModifier and TypeMethodDescriptionstatic CommandSenderWrapper
CommandSenderWrapper.wrap
(RemotePlayer player) Constructs a new instance with a reference of the given player.