Class BroadcastEvent
java.lang.Object
com.welcome234.pluginsystem.events.BroadcastEvent
Called when a broadcast announcement message is sent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the message of this broadcast announcementbooleanGets whether this event is cancelledvoidsetCancelled(boolean cancelled)Sets the cancellation status of this event
-
Constructor Details
-
BroadcastEvent
-
-
Method Details
-
getMessage
Gets the message of this broadcast announcement- Returns:
- Broadcast message
-
isCancelled
public boolean isCancelled()Gets whether this event is cancelled- Returns:
- Whether cancelled
-
setCancelled
public void setCancelled(boolean cancelled)Sets the cancellation status of this event- Parameters:
cancelled- Whether cancelled
-