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
ConstructorsConstructorDescriptionBungeePartiesPartyPostDeleteEvent(Party party, DeleteCause cause, PartyPlayer kickedPlayer, PartyPlayer commandSender) -
Method Summary
Modifier and TypeMethodDescription@NotNull DeleteCausegetCause()Get the delete cause@Nullable PartyPlayerGet the player who performed the command@Nullable PartyPlayerGet the kicked player@NotNull PartygetParty()Get the deleted partyMethods 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.common.party.IPartyPostDeleteEvent
getPartyNameMethods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
Constructor Details
-
BungeePartiesPartyPostDeleteEvent
public BungeePartiesPartyPostDeleteEvent(Party party, DeleteCause cause, PartyPlayer kickedPlayer, PartyPlayer commandSender)
-
-
Method Details
-
getParty
Description copied from interface:IPartyPostDeleteEventGet the deleted party- Specified by:
getPartyin interfaceIPartyPostDeleteEvent- Returns:
- the deleted
Party
-
getCause
Description copied from interface:IPartyPostDeleteEventGet the delete cause- Specified by:
getCausein interfaceIPartyPostDeleteEvent- Returns:
- the
DeleteCauseof the delete
-
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
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
-