Class BungeePartiesPartyPostDeleteEvent
- java.lang.Object
-
- net.md_5.bungee.api.plugin.Event
-
- com.alessiodp.parties.api.events.bungee.BungeePartiesEvent
-
- com.alessiodp.parties.api.events.bungee.party.BungeePartiesPartyPostDeleteEvent
-
- All Implemented Interfaces:
IPartyPostDeleteEvent,PartiesEvent
public class BungeePartiesPartyPostDeleteEvent extends BungeePartiesEvent implements IPartyPostDeleteEvent
-
-
Constructor Summary
Constructors Constructor Description BungeePartiesPartyPostDeleteEvent(Party party, DeleteCause cause, PartyPlayer kickedPlayer, PartyPlayer commandSender)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull DeleteCausegetCause()Get the delete cause@Nullable PartyPlayergetCommandSender()Get the player who performed the command@Nullable PartyPlayergetKickedPlayer()Get the kicked player@NotNull PartygetParty()Get the deleted party-
Methods inherited from class com.alessiodp.parties.api.events.bungee.BungeePartiesEvent
getApi, setApi
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.alessiodp.parties.api.events.common.party.IPartyPostDeleteEvent
getPartyName
-
Methods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
-
-
-
Constructor Detail
-
BungeePartiesPartyPostDeleteEvent
public BungeePartiesPartyPostDeleteEvent(Party party, DeleteCause cause, PartyPlayer kickedPlayer, PartyPlayer commandSender)
-
-
Method Detail
-
getParty
@NotNull public @NotNull Party getParty()
Description copied from interface:IPartyPostDeleteEventGet the deleted party- Specified by:
getPartyin interfaceIPartyPostDeleteEvent- Returns:
- the deleted
Party
-
getCause
@NotNull public @NotNull DeleteCause getCause()
Description copied from interface:IPartyPostDeleteEventGet the delete cause- Specified by:
getCausein interfaceIPartyPostDeleteEvent- Returns:
- the
DeleteCauseof the delete
-
getKickedPlayer
@Nullable public @Nullable PartyPlayer getKickedPlayer()
Description copied from interface:IPartyPostDeleteEventGet the kicked player- Specified by:
getKickedPlayerin interfaceIPartyPostDeleteEvent- Returns:
- the
PartyPlayerof the kicked player, returnsnullif the delete cause isDeleteCause.DELETEorDeleteCause.TIMEOUT
-
getCommandSender
@Nullable public @Nullable PartyPlayer getCommandSender()
Description copied from interface:IPartyPostDeleteEventGet the player who performed the command- Specified by:
getCommandSenderin interfaceIPartyPostDeleteEvent- Returns:
- the
PartyPlayerwho did the command, returnsnullif the delete cause isDeleteCause.TIMEOUT
-
-