Uses of Class
com.craftmend.openaudiomc.api.events.BaseEvent
Package
Description
The OpenAudioMc API
This package contains our internal event system, which is used to listen to events that are fired by the OpenAudioMc
Events provided by OA should be listened to through this system, not bukkit/spigot's event system because OA's events
are cross-platform and can be fired from the web interface as well.
This package contains all events that are related to the client, such as the client connecting, disconnecting, or changing settings.
-
Uses of BaseEvent in com.craftmend.openaudiomc.api
Modifier and TypeMethodDescription<T extends BaseEvent>
voidEventApi.registerHandler
(Class<T> event, SingleHandler<T> handler) Register a handler for a specific event -
Uses of BaseEvent in com.craftmend.openaudiomc.api.events
Modifier and TypeClassDescriptionclass
A cancellable client eventclass
Represents an event that can be cancelledclass
Base event for all events carrying a client -
Uses of BaseEvent in com.craftmend.openaudiomc.api.events.client
Modifier and TypeClassDescriptionclass
This event is called before a client session is authenticated.class
This event is called whenever a client is successfully connected, or a player switched to this server with the web client openclass
This event is called whenever a client is successfully disconnected, or a player switched to this server with the web client closedclass
This event is called whenever a client enables voice chat.class
This event is called whenever a peer is being added to the client, and can be cancelled to prevent the peer from being added.class
This event is called whenever a peer is being removed from the clientclass
This event is called whenever a media source fails to load or play for the web clientclass
This event is called whenever a player explicitly mutes their microphoneclass
This event is called whenever a player explicitly unmutes their microphone or joins voice chatclass
This event is called whenever the plugin is reloadedclass
This event is called whenever a player explicitly deafens their audioclass
This event is called whenever the voicechat system ticked, this is useful for things like comparing changes in peer states after updates were processedclass
This event is called whenever a client is ready to use voicechatclass
This event is called whenever a player explicitly undeafens their audio