public class BungeePartiesPlayerPostTeleportEvent extends BungeePartiesEvent implements IPlayerPostTeleportEvent
| Constructor and Description |
|---|
BungeePartiesPlayerPostTeleportEvent(PartyPlayer player,
Party party,
net.md_5.bungee.api.config.ServerInfo destination) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull net.md_5.bungee.api.config.ServerInfo |
getDestination()
Get the destination as ServerInfo
|
@NotNull Party |
getParty()
Get the party
|
@NotNull PartyPlayer |
getPartyPlayer()
Get the player who got teleported
|
getApi, setApiclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApi, setApipublic BungeePartiesPlayerPostTeleportEvent(PartyPlayer player, Party party, net.md_5.bungee.api.config.ServerInfo destination)
@NotNull public @NotNull PartyPlayer getPartyPlayer()
IPlayerPostTeleportEventgetPartyPlayer in interface IPlayerPostTeleportEventPartyPlayer@NotNull public @NotNull Party getParty()
IPlayerPostTeleportEventgetParty in interface IPlayerPostTeleportEventParty@NotNull public @NotNull net.md_5.bungee.api.config.ServerInfo getDestination()
ServerInfoCopyright © 2023. All rights reserved.