Class ServerEmoteEvents
java.lang.Object
io.github.kosmx.emotes.api.events.server.ServerEmoteEvents
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.zigythebird.playeranimcore.event.Event<ServerEmoteEvents.EmotePlayEvent> Invoked when someone is starting an emote For checking and cancelling, useEMOTE_VERIFICATIONstatic final com.zigythebird.playeranimcore.event.Event<ServerEmoteEvents.EmoteStopEvent> static final com.zigythebird.playeranimcore.event.Event<ServerEmoteEvents.EmoteVerifier> Server verify emote if it can be streamed, or it has to be cancelled. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EMOTE_VERIFICATION
public static final com.zigythebird.playeranimcore.event.Event<ServerEmoteEvents.EmoteVerifier> EMOTE_VERIFICATIONServer verify emote if it can be streamed, or it has to be cancelled. Return withEventResult.PASSif you allow it andEventResult.FAILif you deny it. -
EMOTE_PLAY
public static final com.zigythebird.playeranimcore.event.Event<ServerEmoteEvents.EmotePlayEvent> EMOTE_PLAYInvoked when someone is starting an emote For checking and cancelling, useEMOTE_VERIFICATION -
EMOTE_STOP_BY_USER
public static final com.zigythebird.playeranimcore.event.Event<ServerEmoteEvents.EmoteStopEvent> EMOTE_STOP_BY_USER
-
-
Constructor Details
-
ServerEmoteEvents
public ServerEmoteEvents()
-