Uses of Class
com.craftmend.openaudiomc.api.events.BaseEvent
Packages that use 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
Methods in com.craftmend.openaudiomc.api with type parameters of type BaseEventModifier and TypeMethodDescription<T extends BaseEvent>
voidEventApi.registerHandler(Class<T> event, SingleHandler<T> handler) Register a handler for a specific eventMethods in com.craftmend.openaudiomc.api that return BaseEventMethods in com.craftmend.openaudiomc.api with parameters of type BaseEvent -
Uses of BaseEvent in com.craftmend.openaudiomc.api.channels.events
Subclasses of BaseEvent in com.craftmend.openaudiomc.api.channels.eventsModifier and TypeClassDescriptionclassclassclass -
Uses of BaseEvent in com.craftmend.openaudiomc.api.events
Subclasses of BaseEvent in com.craftmend.openaudiomc.api.eventsModifier and TypeClassDescriptionclassA cancellable client eventclassRepresents an event that can be cancelledclassBase event for all events carrying a client -
Uses of BaseEvent in com.craftmend.openaudiomc.api.events.client
Subclasses of BaseEvent in com.craftmend.openaudiomc.api.events.clientModifier and TypeClassDescriptionclassThis event is called before a client session is authenticated.classThis event is called whenever a client is successfully connected, or a player switched to this server with the web client openclassThis event is called whenever a client is successfully disconnected, or a player switched to this server with the web client closedclassThis event is called whenever a client enables voice chat.classThis event is called whenever a peer is being added to the client, and can be cancelled to prevent the peer from being added.classThis event is called whenever a peer is being removed from the clientclassThis event is called whenever a media source fails to load or play for the web clientclassThis event is called whenever a player explicitly mutes their microphoneclassThis event is called whenever a player explicitly unmutes their microphone or joins voice chatclassThis event is called whenever the plugin is reloadedclassThis event is called whenever a player explicitly deafens their audioclassThis event is called whenever the voicechat system ticked, this is useful for things like comparing changes in peer states after updates were processedclassThis event is called whenever a client is ready to use voicechatclassThis event is called whenever a player explicitly undeafens their audio