Class BungeePartiesPlayerPostTeleportEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
com.alessiodp.parties.api.events.bungee.BungeePartiesEvent
com.alessiodp.parties.api.events.bungee.player.BungeePartiesPlayerPostTeleportEvent
- All Implemented Interfaces:
IPlayerPostTeleportEvent,PartiesEvent
public class BungeePartiesPlayerPostTeleportEvent
extends BungeePartiesEvent
implements IPlayerPostTeleportEvent
-
Constructor Summary
ConstructorsConstructorDescriptionBungeePartiesPlayerPostTeleportEvent(PartyPlayer player, Party party, net.md_5.bungee.api.config.ServerInfo destination) -
Method Summary
Modifier and TypeMethodDescription@NotNull net.md_5.bungee.api.config.ServerInfoGet the destination as ServerInfo@NotNull PartygetParty()Get the party@NotNull PartyPlayerGet the player who got teleportedMethods inherited from class com.alessiodp.parties.api.events.bungee.BungeePartiesEvent
getApi, setApiMethods inherited from class net.md_5.bungee.api.plugin.Event
postCallMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
Constructor Details
-
BungeePartiesPlayerPostTeleportEvent
public BungeePartiesPlayerPostTeleportEvent(PartyPlayer player, Party party, net.md_5.bungee.api.config.ServerInfo destination)
-
-
Method Details
-
getPartyPlayer
Description copied from interface:IPlayerPostTeleportEventGet the player who got teleported- Specified by:
getPartyPlayerin interfaceIPlayerPostTeleportEvent- Returns:
- the
PartyPlayer
-
getParty
Description copied from interface:IPlayerPostTeleportEventGet the party- Specified by:
getPartyin interfaceIPlayerPostTeleportEvent- Returns:
- the
Party
-
getDestination
@NotNull public @NotNull net.md_5.bungee.api.config.ServerInfo getDestination()Get the destination as ServerInfo- Returns:
- the
ServerInfo
-