Package com.alessiodp.parties.api.events
Interface Cancellable
- All Known Subinterfaces:
IPartyPreBroadcastEvent,IPartyPreCreateEvent,IPartyPreDeleteEvent,IPartyPreExperienceDropEvent,IPartyPreRenameEvent,IPlayerPreChatEvent,IPlayerPreHomeEvent,IPlayerPreInviteEvent,IPlayerPreJoinEvent,IPlayerPreLeaveEvent,IPlayerPreTeleportEvent
- All Known Implementing Classes:
BukkitPartiesCombustFriendlyFireBlockedEvent,BukkitPartiesFishHookFriendlyFireBlockedEvent,BukkitPartiesFriendlyFireBlockedEvent,BukkitPartiesPartyPreBroadcastEvent,BukkitPartiesPartyPreCreateEvent,BukkitPartiesPartyPreDeleteEvent,BukkitPartiesPartyPreExperienceDropEvent,BukkitPartiesPartyPreRenameEvent,BukkitPartiesPlayerPreChatEvent,BukkitPartiesPlayerPreHomeEvent,BukkitPartiesPlayerPreInviteEvent,BukkitPartiesPlayerPreJoinEvent,BukkitPartiesPlayerPreLeaveEvent,BukkitPartiesPlayerPreTeleportEvent,BukkitPartiesPotionsFriendlyFireBlockedEvent,BukkitPartiesPreExperienceDropEvent,BungeePartiesPartyFollowEvent,BungeePartiesPartyPreBroadcastEvent,BungeePartiesPartyPreCreateEvent,BungeePartiesPartyPreDeleteEvent,BungeePartiesPartyPreExperienceDropEvent,BungeePartiesPartyPreRenameEvent,BungeePartiesPlayerPreChatEvent,BungeePartiesPlayerPreHomeEvent,BungeePartiesPlayerPreInviteEvent,BungeePartiesPlayerPreJoinEvent,BungeePartiesPlayerPreLeaveEvent,BungeePartiesPlayerPreTeleportEvent,VelocityPartiesPartyFollowEvent,VelocityPartiesPartyPreBroadcastEvent,VelocityPartiesPartyPreCreateEvent,VelocityPartiesPartyPreDeleteEvent,VelocityPartiesPartyPreExperienceDropEvent,VelocityPartiesPartyPreRenameEvent,VelocityPartiesPlayerPreChatEvent,VelocityPartiesPlayerPreHomeEvent,VelocityPartiesPlayerPreInviteEvent,VelocityPartiesPlayerPreJoinEvent,VelocityPartiesPlayerPreLeaveEvent,VelocityPartiesPlayerPreTeleportEvent
public interface Cancellable
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIs the event cancelled?voidsetCancelled(boolean cancel) Set the event as cancelled
-
Method Details
-
isCancelled
boolean isCancelled()Is the event cancelled?- Returns:
trueif the event is cancelled
-
setCancelled
void setCancelled(boolean cancel) Set the event as cancelled- Parameters:
cancel-trueto cancel
-