Package de.maxhenkel.voicechat.api.events
package de.maxhenkel.voicechat.api.events
All registerable events.
Events can be registered by calling EventRegistration.registerEvent(java.lang.Class<T>, java.util.function.Consumer<T>, int)
.
-
ClassDescriptionThis event is emitted before the sound is played on the client.This event is emitted before the client encodes the audio and sends it to the server.This event is emitted on the client when the voice chat connects/disconnects.This event is emitted when the voice chats OpenAL context is created.This event is emitted when the voice chats OpenAL context is destroyed.This event is emitted when an entity sound packet is about to get sent to a client.This event is emitted when a locational sound packet is about to get sent to a client.This event is emitted before the
ClientSoundEvent
is getting called.This event is emitted on the client when the state of the microphone changes.This event is emitted when a microphone packet arrives at the server.This event is emitted for every audio chunk for every audio channel.This event is emitted after all OpenAL calls by the voice chat and the audio is added to the buffer queue.This event is emitted before any OpenAL calls were made by the voice chat.PacketEvent<T extends Packet>Called when a player changes his state.This event is only cancellable if the group is persistentSoundPacketEvent<T extends Packet>This event is emitted when a static sound packet is about to get sent to a client.This event is emitted on the client when the voice chat is getting enabled/disabled.