Class ChatCheckEvent
java.lang.Object
org.bukkit.event.Event
studio.thevipershow.safechat.api.events.ChatCheckEvent
- Direct Known Subclasses:
ChatPunishmentEvent
,CheckRegisterEvent
,CheckUnregisterEvent
,PlayerFailCheckEvent
public abstract class ChatCheckEvent
extends org.bukkit.event.Event
An abstract event for chat checks.
This event is called on the minecraft server main thread.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
Constructors Constructor Description ChatCheckEvent(@NotNull Check check, boolean async)
This constructor is used to explicitly declare an event as synchronous or asynchronous. -
Method Summary
Methods inherited from class org.bukkit.event.Event
getEventName, getHandlers, isAsynchronous
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ChatCheckEvent
This constructor is used to explicitly declare an event as synchronous or asynchronous.
-
-
Method Details
-
getCheck
Return theChatCheck
used in the event.- Returns:
- The chat check.
-