Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AUDIO - Enum constant in enum class de.maxhenkel.voicechat.api.opus.OpusEncoderMode
- AudioChannel - Interface in de.maxhenkel.voicechat.api.audiochannel
- AudioConverter - Interface in de.maxhenkel.voicechat.api.audio
-
A utility class to convert audio between different representations.
- AudioListener - Interface in de.maxhenkel.voicechat.api.audiolistener
- AudioPlayer - Interface in de.maxhenkel.voicechat.api.audiochannel
-
Streams audio data from the server to clients.
- AudioSender - Interface in de.maxhenkel.voicechat.api.audiosender
B
- build() - Method in interface de.maxhenkel.voicechat.api.audiolistener.PlayerAudioListener.Builder
- build() - Method in interface de.maxhenkel.voicechat.api.Group.Builder
- build() - Method in interface de.maxhenkel.voicechat.api.packets.SoundPacket.Builder
-
Builds the packet.
- build() - Method in interface de.maxhenkel.voicechat.api.VolumeCategory.Builder
- BukkitVoicechatService - Interface in de.maxhenkel.voicechat.api
- bytesToFloats(byte[]) - Method in interface de.maxhenkel.voicechat.api.audio.AudioConverter
- bytesToShorts(byte[]) - Method in interface de.maxhenkel.voicechat.api.audio.AudioConverter
C
- cancel() - Method in interface de.maxhenkel.voicechat.api.events.Event
-
Cancels this event.
- canSend() - Method in interface de.maxhenkel.voicechat.api.audiosender.AudioSender
- category(String) - Method in interface de.maxhenkel.voicechat.api.packets.SoundPacket.Builder
-
Make sure you registered your category before using it.
- channelId(UUID) - Method in interface de.maxhenkel.voicechat.api.packets.SoundPacket.Builder
-
NOTE: Make sure to set this to a unique value to avoid conflicts with other channels.
- ClientAudioChannel - Interface in de.maxhenkel.voicechat.api.audiochannel
- ClientEntityAudioChannel - Interface in de.maxhenkel.voicechat.api.audiochannel
- ClientEvent - Interface in de.maxhenkel.voicechat.api.events
- ClientLocationalAudioChannel - Interface in de.maxhenkel.voicechat.api.audiochannel
- ClientReceiveSoundEvent - Interface in de.maxhenkel.voicechat.api.events
-
This event is emitted before the sound is played on the client.
- ClientReceiveSoundEvent.EntitySound - Interface in de.maxhenkel.voicechat.api.events
- ClientReceiveSoundEvent.LocationalSound - Interface in de.maxhenkel.voicechat.api.events
- ClientReceiveSoundEvent.StaticSound - Interface in de.maxhenkel.voicechat.api.events
- ClientSoundEvent - Interface in de.maxhenkel.voicechat.api.events
-
This event is emitted before the client encodes the audio and sends it to the server.
- ClientStaticAudioChannel - Interface in de.maxhenkel.voicechat.api.audiochannel
- ClientVoicechatConnectionEvent - Interface in de.maxhenkel.voicechat.api.events
-
This event is emitted on the client when the voice chat connects/disconnects.
- ClientVoicechatInitializationEvent - Interface in de.maxhenkel.voicechat.api.events
- ClientVoicechatSocket - Interface in de.maxhenkel.voicechat.api
-
A socket used for client side voice chat traffic.
- close() - Method in interface de.maxhenkel.voicechat.api.ClientVoicechatSocket
- close() - Method in interface de.maxhenkel.voicechat.api.mp3.Mp3Encoder
-
Closes the encoder and flushes the output stream.
- close() - Method in interface de.maxhenkel.voicechat.api.opus.OpusDecoder
-
Closes the decoder Not doing this would result in a memory leak
- close() - Method in interface de.maxhenkel.voicechat.api.opus.OpusEncoder
-
Closes the encoder.
- close() - Method in interface de.maxhenkel.voicechat.api.VoicechatSocket
- ConfigAccessor - Interface in de.maxhenkel.voicechat.api.config
-
An interface to access a config.
- ConvertablePacket - Interface in de.maxhenkel.voicechat.api.packets
- createAudioPlayer(AudioChannel, OpusEncoder, short[]) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Creates a new audio player.
- createAudioPlayer(AudioChannel, OpusEncoder, Supplier<short[]>) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Creates a new audio player.
- createAudioSender(VoicechatConnection) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Creates a new audio sender.
- createDecoder() - Method in interface de.maxhenkel.voicechat.api.VoicechatApi
-
Creates a new opus decoder.
- createEncoder() - Method in interface de.maxhenkel.voicechat.api.VoicechatApi
-
Creates a new opus encoder.
- createEncoder(OpusEncoderMode) - Method in interface de.maxhenkel.voicechat.api.VoicechatApi
-
Creates a new opus encoder.
- createEntityAudioChannel(UUID) - Method in interface de.maxhenkel.voicechat.api.VoicechatClientApi
-
Creates a client side entity audio channel.
- createEntityAudioChannel(UUID, Entity) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Creates a sound channel for the specified entity.
- createGroup(String, String) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Deprecated.
- createGroup(String, String, boolean) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Deprecated.use
VoicechatServerApi.groupBuilder()
instead - CreateGroupEvent - Interface in de.maxhenkel.voicechat.api.events
- createLocationalAudioChannel(UUID, Position) - Method in interface de.maxhenkel.voicechat.api.VoicechatClientApi
-
Creates a client side locational audio channel.
- createLocationalAudioChannel(UUID, ServerLevel, Position) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Creates a sound channel at the provided location.
- createMp3Decoder(InputStream) - Method in interface de.maxhenkel.voicechat.api.VoicechatApi
-
NOTE: This is not available for Bukkit! It will always return null.
- createMp3Encoder(AudioFormat, int, int, OutputStream) - Method in interface de.maxhenkel.voicechat.api.VoicechatApi
-
NOTE: This is not available for Bukkit! It will always return null.
- CreateOpenALContextEvent - Interface in de.maxhenkel.voicechat.api.events
-
This event is emitted when the voice chats OpenAL context is created.
- createPosition(double, double, double) - Method in interface de.maxhenkel.voicechat.api.VoicechatApi
-
Creates a new position object.
- createStaticAudioChannel(UUID) - Method in interface de.maxhenkel.voicechat.api.VoicechatClientApi
-
Creates a client side static audio channel.
- createStaticAudioChannel(UUID, ServerLevel, VoicechatConnection) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Creates a static audio channel.
D
- de.maxhenkel.voicechat.api - package de.maxhenkel.voicechat.api
-
The main Simple Voice Chat API package.
- de.maxhenkel.voicechat.api.audio - package de.maxhenkel.voicechat.api.audio
-
Everything related to audio conversion and manipulation.
- de.maxhenkel.voicechat.api.audiochannel - package de.maxhenkel.voicechat.api.audiochannel
-
Everything related to audio channels and serverside audio.
- de.maxhenkel.voicechat.api.audiolistener - package de.maxhenkel.voicechat.api.audiolistener
-
Utilities for listening to all audio a player would theoretically receive.
- de.maxhenkel.voicechat.api.audiosender - package de.maxhenkel.voicechat.api.audiosender
-
Utilities for simulating players sending audio without the mod.
- de.maxhenkel.voicechat.api.config - package de.maxhenkel.voicechat.api.config
-
Everything configuration related.
- de.maxhenkel.voicechat.api.events - package de.maxhenkel.voicechat.api.events
-
All registerable events.
- de.maxhenkel.voicechat.api.mp3 - package de.maxhenkel.voicechat.api.mp3
-
Wrappers for mp3 encoding and decoding.
- de.maxhenkel.voicechat.api.opus - package de.maxhenkel.voicechat.api.opus
-
Wrappers for the Opus codec.
- de.maxhenkel.voicechat.api.packets - package de.maxhenkel.voicechat.api.packets
-
All voice chat UDP packets.
- decode() - Method in interface de.maxhenkel.voicechat.api.mp3.Mp3Decoder
-
Decodes the MP3 file and returns the decoded audio data as PCM samples.
- decode(byte[]) - Method in interface de.maxhenkel.voicechat.api.opus.OpusDecoder
-
Decodes opus encoded audio data to 16 bit PCM audio
- DestroyOpenALContextEvent - Interface in de.maxhenkel.voicechat.api.events
-
This event is emitted when the voice chats OpenAL context is destroyed.
- distance(float) - Method in interface de.maxhenkel.voicechat.api.packets.EntitySoundPacket.Builder
- distance(float) - Method in interface de.maxhenkel.voicechat.api.packets.LocationalSoundPacket.Builder
E
- encode(short[]) - Method in interface de.maxhenkel.voicechat.api.mp3.Mp3Encoder
-
Encodes the given PCM samples and writes it to the provided output stream.
- encode(short[]) - Method in interface de.maxhenkel.voicechat.api.opus.OpusEncoder
-
Encodes 16 bit PCM audio with opus.
- Entity - Interface in de.maxhenkel.voicechat.api
- EntityAudioChannel - Interface in de.maxhenkel.voicechat.api.audiochannel
-
An audio channel that is bound to an entity.
- EntitySoundPacket - Interface in de.maxhenkel.voicechat.api.packets
-
The receiver of this event will hear the sound from the specified entity.
- EntitySoundPacket.Builder<T extends EntitySoundPacket.Builder<T>> - Interface in de.maxhenkel.voicechat.api.packets
-
A builder to build an entity sound packet.
- entitySoundPacketBuilder() - Method in interface de.maxhenkel.voicechat.api.packets.ConvertablePacket
-
NOTE: Make sure to set
SoundPacket.Builder.channelId(UUID)
to avoid conflicts with other channels. - EntitySoundPacketEvent - Interface in de.maxhenkel.voicechat.api.events
-
This event is emitted when an entity sound packet is about to get sent to a client.
- entityUuid(UUID) - Method in interface de.maxhenkel.voicechat.api.packets.EntitySoundPacket.Builder
-
This is required to be set!
- Event - Interface in de.maxhenkel.voicechat.api.events
- EventRegistration - Interface in de.maxhenkel.voicechat.api.events
F
- floatsToBytes(float[]) - Method in interface de.maxhenkel.voicechat.api.audio.AudioConverter
- floatsToShorts(float[]) - Method in interface de.maxhenkel.voicechat.api.audio.AudioConverter
- flush() - Method in interface de.maxhenkel.voicechat.api.audiochannel.AudioChannel
-
Call this if you are finished sending data.
- ForgeVoicechatPlugin - Annotation Interface in de.maxhenkel.voicechat.api
- fromEntity(Object) - Method in interface de.maxhenkel.voicechat.api.VoicechatApi
-
Creates an entity object from an actual entity.
- fromServerLevel(Object) - Method in interface de.maxhenkel.voicechat.api.VoicechatApi
-
Creates a level object from an actual level.
- fromServerPlayer(Object) - Method in interface de.maxhenkel.voicechat.api.VoicechatApi
-
Creates a player object from an actual player.
G
- getAudioConverter() - Method in interface de.maxhenkel.voicechat.api.VoicechatApi
- getAudioFormat() - Method in interface de.maxhenkel.voicechat.api.mp3.Mp3Decoder
-
Decodes the MP3 file if
Mp3Decoder.decode()
has not been called before. - getBitrate() - Method in interface de.maxhenkel.voicechat.api.mp3.Mp3Decoder
-
Decodes the MP3 file if
Mp3Decoder.decode()
has not been called before. - getBoolean(String, boolean) - Method in interface de.maxhenkel.voicechat.api.config.ConfigAccessor
-
Gets the boolean value of the given key.
- getBroadcastRange() - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
The distance at which audio packets are broadcast.
- getCategory() - Method in interface de.maxhenkel.voicechat.api.audiochannel.AudioChannel
- getCategory() - Method in interface de.maxhenkel.voicechat.api.audiochannel.ClientAudioChannel
- getCategory() - Method in interface de.maxhenkel.voicechat.api.events.OpenALSoundEvent
- getCategory() - Method in interface de.maxhenkel.voicechat.api.packets.SoundPacket
- getChannelId() - Method in interface de.maxhenkel.voicechat.api.events.OpenALSoundEvent
-
This returns
null
for non audio channel sounds, like microphone testing. - getChannelId() - Method in interface de.maxhenkel.voicechat.api.packets.SoundPacket
- getClientConfig() - Method in interface de.maxhenkel.voicechat.api.VoicechatClientApi
- getConnection() - Method in interface de.maxhenkel.voicechat.api.events.CreateGroupEvent
- getConnection() - Method in interface de.maxhenkel.voicechat.api.events.GroupEvent
- getConnection() - Method in interface de.maxhenkel.voicechat.api.events.JoinGroupEvent
- getConnection() - Method in interface de.maxhenkel.voicechat.api.events.LeaveGroupEvent
- getConnection() - Method in interface de.maxhenkel.voicechat.api.events.PlayerConnectedEvent
- getConnection() - Method in interface de.maxhenkel.voicechat.api.events.PlayerStateChangedEvent
- getConnection() - Method in interface de.maxhenkel.voicechat.api.events.RemoveGroupEvent
-
Deprecated.
- getConnectionOf(ServerPlayer) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Gets the connection of the player.
- getConnectionOf(UUID) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Gets the connection of the player with this UUID.
- getContext() - Method in interface de.maxhenkel.voicechat.api.events.CreateOpenALContextEvent
- getContext() - Method in interface de.maxhenkel.voicechat.api.events.DestroyOpenALContextEvent
- getData() - Method in interface de.maxhenkel.voicechat.api.RawUdpPacket
- getDescription() - Method in interface de.maxhenkel.voicechat.api.VolumeCategory
- getDevice() - Method in interface de.maxhenkel.voicechat.api.events.CreateOpenALContextEvent
- getDevice() - Method in interface de.maxhenkel.voicechat.api.events.DestroyOpenALContextEvent
- getDistance() - Method in interface de.maxhenkel.voicechat.api.audiochannel.ClientEntityAudioChannel
- getDistance() - Method in interface de.maxhenkel.voicechat.api.audiochannel.ClientLocationalAudioChannel
- getDistance() - Method in interface de.maxhenkel.voicechat.api.audiochannel.EntityAudioChannel
- getDistance() - Method in interface de.maxhenkel.voicechat.api.audiochannel.LocationalAudioChannel
- getDistance() - Method in interface de.maxhenkel.voicechat.api.events.ClientReceiveSoundEvent.EntitySound
- getDistance() - Method in interface de.maxhenkel.voicechat.api.events.ClientReceiveSoundEvent.LocationalSound
- getDistance() - Method in interface de.maxhenkel.voicechat.api.packets.EntitySoundPacket
- getDistance() - Method in interface de.maxhenkel.voicechat.api.packets.LocationalSoundPacket
- getDouble(String, double) - Method in interface de.maxhenkel.voicechat.api.config.ConfigAccessor
-
Gets the double value of the given key.
- getEntity() - Method in interface de.maxhenkel.voicechat.api.audiochannel.EntityAudioChannel
- getEntity() - Method in interface de.maxhenkel.voicechat.api.Entity
- getEntityUuid() - Method in interface de.maxhenkel.voicechat.api.packets.EntitySoundPacket
- getGroup() - Method in interface de.maxhenkel.voicechat.api.events.CreateGroupEvent
- getGroup() - Method in interface de.maxhenkel.voicechat.api.events.GroupEvent
- getGroup() - Method in interface de.maxhenkel.voicechat.api.events.JoinGroupEvent
- getGroup() - Method in interface de.maxhenkel.voicechat.api.events.LeaveGroupEvent
- getGroup() - Method in interface de.maxhenkel.voicechat.api.events.RemoveGroupEvent
- getGroup() - Method in interface de.maxhenkel.voicechat.api.VoicechatClientApi
- getGroup() - Method in interface de.maxhenkel.voicechat.api.VoicechatConnection
- getGroup(UUID) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Gets a group by its ID.
- getGroups() - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
- getIcon() - Method in interface de.maxhenkel.voicechat.api.VolumeCategory
- getId() - Method in interface de.maxhenkel.voicechat.api.audiochannel.AudioChannel
- getId() - Method in interface de.maxhenkel.voicechat.api.audiochannel.ClientAudioChannel
- getId() - Method in interface de.maxhenkel.voicechat.api.events.ClientReceiveSoundEvent
- getId() - Method in interface de.maxhenkel.voicechat.api.Group
- getId() - Method in interface de.maxhenkel.voicechat.api.VolumeCategory
- getInt(String, int) - Method in interface de.maxhenkel.voicechat.api.config.ConfigAccessor
-
Gets the integer value of the given key.
- getListenerId() - Method in interface de.maxhenkel.voicechat.api.audiolistener.AudioListener
- getLocalPort() - Method in interface de.maxhenkel.voicechat.api.VoicechatSocket
- getLocation() - Method in interface de.maxhenkel.voicechat.api.audiochannel.ClientLocationalAudioChannel
- getLocation() - Method in interface de.maxhenkel.voicechat.api.audiochannel.LocationalAudioChannel
- getName() - Method in interface de.maxhenkel.voicechat.api.Group
- getName() - Method in interface de.maxhenkel.voicechat.api.VolumeCategory
- getOpusEncodedData() - Method in interface de.maxhenkel.voicechat.api.packets.MicrophonePacket
- getOpusEncodedData() - Method in interface de.maxhenkel.voicechat.api.packets.SoundPacket
- getPacket() - Method in interface de.maxhenkel.voicechat.api.events.PacketEvent
- getPlayer() - Method in interface de.maxhenkel.voicechat.api.Player
- getPlayer() - Method in interface de.maxhenkel.voicechat.api.VoicechatConnection
- getPlayersInRange(ServerLevel, Position, double) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
A convenience method to get all players in the range of a specific location.
- getPlayersInRange(ServerLevel, Position, double, Predicate<ServerPlayer>) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
A convenience method to get all players in the range of a specific location.
- getPlayerUuid() - Method in interface de.maxhenkel.voicechat.api.audiolistener.PlayerAudioListener
- getPlayerUuid() - Method in interface de.maxhenkel.voicechat.api.events.PlayerDisconnectedEvent
- getPlayerUuid() - Method in interface de.maxhenkel.voicechat.api.events.PlayerStateChangedEvent
- getPluginId() - Method in interface de.maxhenkel.voicechat.api.VoicechatPlugin
- getPosition() - Method in interface de.maxhenkel.voicechat.api.Entity
- getPosition() - Method in interface de.maxhenkel.voicechat.api.events.ClientReceiveSoundEvent.LocationalSound
- getPosition() - Method in interface de.maxhenkel.voicechat.api.events.OpenALSoundEvent
-
Returns the position of the sound.
- getPosition() - Method in interface de.maxhenkel.voicechat.api.packets.LocationalSoundPacket
- getRawAudio() - Method in interface de.maxhenkel.voicechat.api.events.ClientReceiveSoundEvent
-
The unencoded audio data.
- getRawAudio() - Method in interface de.maxhenkel.voicechat.api.events.ClientSoundEvent
-
The unencoded audio data.
- getReceiverConnection() - Method in interface de.maxhenkel.voicechat.api.events.PacketEvent
- getSecret(UUID) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Deprecated.
- getSender() - Method in interface de.maxhenkel.voicechat.api.packets.SoundPacket
- getSenderConnection() - Method in interface de.maxhenkel.voicechat.api.events.PacketEvent
- getSequenceNumber() - Method in interface de.maxhenkel.voicechat.api.packets.SoundPacket
- getServerConfig() - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
- getServerLevel() - Method in interface de.maxhenkel.voicechat.api.ServerLevel
- getServerLevel() - Method in interface de.maxhenkel.voicechat.api.ServerPlayer
- getSocketAddress() - Method in interface de.maxhenkel.voicechat.api.RawUdpPacket
- getSocketImplementation() - Method in interface de.maxhenkel.voicechat.api.events.ClientVoicechatInitializationEvent
- getSocketImplementation() - Method in interface de.maxhenkel.voicechat.api.events.VoicechatServerStartingEvent
- getSource() - Method in interface de.maxhenkel.voicechat.api.events.OpenALSoundEvent
- getSource() - Method in interface de.maxhenkel.voicechat.api.events.SoundPacketEvent
-
Where the packet originated from.
- getString(String, String) - Method in interface de.maxhenkel.voicechat.api.config.ConfigAccessor
-
Gets the string value of the given key.
- getTimestamp() - Method in interface de.maxhenkel.voicechat.api.RawUdpPacket
- getType() - Method in interface de.maxhenkel.voicechat.api.Group
- getUuid() - Method in interface de.maxhenkel.voicechat.api.Entity
- getValue(String) - Method in interface de.maxhenkel.voicechat.api.config.ConfigAccessor
-
Gets the raw value of the given key.
- getVoicechat() - Method in interface de.maxhenkel.voicechat.api.events.ClientEvent
- getVoicechat() - Method in interface de.maxhenkel.voicechat.api.events.ServerEvent
- getVoiceChatDistance() - Method in interface de.maxhenkel.voicechat.api.VoicechatApi
-
NOTE: Voice chat plugins can change this.
- getVoiceHost() - Method in interface de.maxhenkel.voicechat.api.events.VoiceHostEvent
- getVolumeCategories() - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
- getVolumeCategory() - Method in interface de.maxhenkel.voicechat.api.events.VolumeCategoryEvent
- getX() - Method in interface de.maxhenkel.voicechat.api.Position
- getY() - Method in interface de.maxhenkel.voicechat.api.Position
- getZ() - Method in interface de.maxhenkel.voicechat.api.Position
- Group - Interface in de.maxhenkel.voicechat.api
-
Groups can be created using
VoicechatServerApi.groupBuilder()
. - Group.Builder - Interface in de.maxhenkel.voicechat.api
- Group.Type - Interface in de.maxhenkel.voicechat.api
- groupBuilder() - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
- GroupEvent - Interface in de.maxhenkel.voicechat.api.events
H
- hasKey(String) - Method in interface de.maxhenkel.voicechat.api.config.ConfigAccessor
-
Checks if the config has the given key.
- hasPassword() - Method in interface de.maxhenkel.voicechat.api.Group
I
- initialize(VoicechatApi) - Method in interface de.maxhenkel.voicechat.api.VoicechatPlugin
-
Called after loading the plugin.
- isCancellable() - Method in interface de.maxhenkel.voicechat.api.events.Event
- isCancelled() - Method in interface de.maxhenkel.voicechat.api.events.Event
- isClosed() - Method in interface de.maxhenkel.voicechat.api.audiochannel.AudioChannel
- isClosed() - Method in interface de.maxhenkel.voicechat.api.ClientVoicechatSocket
- isClosed() - Method in interface de.maxhenkel.voicechat.api.opus.OpusDecoder
- isClosed() - Method in interface de.maxhenkel.voicechat.api.opus.OpusEncoder
- isClosed() - Method in interface de.maxhenkel.voicechat.api.VoicechatSocket
- isConnected() - Method in interface de.maxhenkel.voicechat.api.events.ClientVoicechatConnectionEvent
- isConnected() - Method in interface de.maxhenkel.voicechat.api.VoicechatConnection
-
This might not represent the actual state of the voice chat connection.
- isDisabled() - Method in interface de.maxhenkel.voicechat.api.events.MicrophoneMuteEvent
- isDisabled() - Method in interface de.maxhenkel.voicechat.api.events.PlayerStateChangedEvent
- isDisabled() - Method in interface de.maxhenkel.voicechat.api.events.VoicechatDisableEvent
- isDisabled() - Method in interface de.maxhenkel.voicechat.api.VoicechatClientApi
- isDisabled() - Method in interface de.maxhenkel.voicechat.api.VoicechatConnection
- isDisconnected() - Method in interface de.maxhenkel.voicechat.api.events.PlayerStateChangedEvent
- isDisconnected() - Method in interface de.maxhenkel.voicechat.api.VoicechatClientApi
- isHidden() - Method in interface de.maxhenkel.voicechat.api.Group
- isInGroup() - Method in interface de.maxhenkel.voicechat.api.VoicechatConnection
- isInstalled() - Method in interface de.maxhenkel.voicechat.api.VoicechatConnection
- isMuted() - Method in interface de.maxhenkel.voicechat.api.VoicechatClientApi
- ISOLATED - Static variable in interface de.maxhenkel.voicechat.api.Group.Type
-
Players in a group can only hear other players in the group
- isPersistent() - Method in interface de.maxhenkel.voicechat.api.Group
- isPlaying() - Method in interface de.maxhenkel.voicechat.api.audiochannel.AudioPlayer
- isStarted() - Method in interface de.maxhenkel.voicechat.api.audiochannel.AudioPlayer
- isStopped() - Method in interface de.maxhenkel.voicechat.api.audiochannel.AudioPlayer
- isWhispering() - Method in interface de.maxhenkel.voicechat.api.audiochannel.ClientEntityAudioChannel
- isWhispering() - Method in interface de.maxhenkel.voicechat.api.audiochannel.EntityAudioChannel
- isWhispering() - Method in interface de.maxhenkel.voicechat.api.audiosender.AudioSender
- isWhispering() - Method in interface de.maxhenkel.voicechat.api.events.ClientReceiveSoundEvent.EntitySound
- isWhispering() - Method in interface de.maxhenkel.voicechat.api.events.ClientSoundEvent
- isWhispering() - Method in interface de.maxhenkel.voicechat.api.packets.EntitySoundPacket
- isWhispering() - Method in interface de.maxhenkel.voicechat.api.packets.MicrophonePacket
J
- JoinGroupEvent - Interface in de.maxhenkel.voicechat.api.events
L
- LeaveGroupEvent - Interface in de.maxhenkel.voicechat.api.events
- LocationalAudioChannel - Interface in de.maxhenkel.voicechat.api.audiochannel
- LocationalSoundPacket - Interface in de.maxhenkel.voicechat.api.packets
-
The receiver of this event will hear the sound from the specified location.
- LocationalSoundPacket.Builder<T extends LocationalSoundPacket.Builder<T>> - Interface in de.maxhenkel.voicechat.api.packets
-
A builder to build a locational sound packet.
- locationalSoundPacketBuilder() - Method in interface de.maxhenkel.voicechat.api.packets.ConvertablePacket
-
NOTE: Make sure to set
SoundPacket.Builder.channelId(UUID)
to avoid conflicts with other channels. - LocationalSoundPacketEvent - Interface in de.maxhenkel.voicechat.api.events
-
This event is emitted when a locational sound packet is about to get sent to a client.
M
- mergeAudio(short[]) - Method in interface de.maxhenkel.voicechat.api.events.MergeClientSoundEvent
-
Merges the audio into the audio that is captured from the microphone.
- MergeClientSoundEvent - Interface in de.maxhenkel.voicechat.api.events
-
This event is emitted before the
ClientSoundEvent
is getting called. - MicrophoneMuteEvent - Interface in de.maxhenkel.voicechat.api.events
-
This event is emitted on the client when the state of the microphone changes.
- MicrophonePacket - Interface in de.maxhenkel.voicechat.api.packets
- MicrophonePacketEvent - Interface in de.maxhenkel.voicechat.api.events
-
This event is emitted when a microphone packet arrives at the server.
- Mp3Decoder - Interface in de.maxhenkel.voicechat.api.mp3
-
You can obtain an instance of this class by calling
VoicechatApi.createMp3Decoder(java.io.InputStream)
. - Mp3Encoder - Interface in de.maxhenkel.voicechat.api.mp3
-
You can obtain an instance of this class by calling
VoicechatApi.createMp3Encoder(javax.sound.sampled.AudioFormat, int, int, java.io.OutputStream)
.
N
- NORMAL - Static variable in interface de.maxhenkel.voicechat.api.Group.Type
-
Players in a group can hear nearby players that are not in a group
O
- open() - Method in interface de.maxhenkel.voicechat.api.ClientVoicechatSocket
- open(int, String) - Method in interface de.maxhenkel.voicechat.api.VoicechatSocket
- OPEN - Static variable in interface de.maxhenkel.voicechat.api.Group.Type
-
Players in a group can hear nearby players and nearby players can hear players in the group
- OpenALSoundEvent - Interface in de.maxhenkel.voicechat.api.events
-
This event is emitted for every audio chunk for every audio channel.
- OpenALSoundEvent.Post - Interface in de.maxhenkel.voicechat.api.events
-
This event is emitted after all OpenAL calls by the voice chat and the audio is added to the buffer queue.
- OpenALSoundEvent.Pre - Interface in de.maxhenkel.voicechat.api.events
-
This event is emitted before any OpenAL calls were made by the voice chat.
- OpusDecoder - Interface in de.maxhenkel.voicechat.api.opus
-
Instances can be obtained by calling
VoicechatApi.createDecoder()
. - opusEncodedData(byte[]) - Method in interface de.maxhenkel.voicechat.api.packets.SoundPacket.Builder
- OpusEncoder - Interface in de.maxhenkel.voicechat.api.opus
-
Instances can be obtained by calling
VoicechatApi.createEncoder()
. - OpusEncoderMode - Enum Class in de.maxhenkel.voicechat.api.opus
-
The different Opus encoder modes
P
- Packet - Interface in de.maxhenkel.voicechat.api.packets
- PacketEvent<T extends Packet> - Interface in de.maxhenkel.voicechat.api.events
- play(short[]) - Method in interface de.maxhenkel.voicechat.api.audiochannel.ClientAudioChannel
-
Plays this audio data on this audio channel
- Player - Interface in de.maxhenkel.voicechat.api
- PlayerAudioListener - Interface in de.maxhenkel.voicechat.api.audiolistener
- PlayerAudioListener.Builder - Interface in de.maxhenkel.voicechat.api.audiolistener
- playerAudioListenerBuilder() - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
- PlayerConnectedEvent - Interface in de.maxhenkel.voicechat.api.events
- PlayerDisconnectedEvent - Interface in de.maxhenkel.voicechat.api.events
- PlayerStateChangedEvent - Interface in de.maxhenkel.voicechat.api.events
-
Called when a player changes his state.
- position(Position) - Method in interface de.maxhenkel.voicechat.api.packets.LocationalSoundPacket.Builder
-
This is required to be set!
- Position - Interface in de.maxhenkel.voicechat.api
R
- RawUdpPacket - Interface in de.maxhenkel.voicechat.api
- read() - Method in interface de.maxhenkel.voicechat.api.ClientVoicechatSocket
- read() - Method in interface de.maxhenkel.voicechat.api.VoicechatSocket
- registerAudioListener(AudioListener) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Registers a new
AudioListener
. - registerAudioSender(AudioSender) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
NOTE: Only one instance of this can exist per player.
- registerClientVolumeCategory(VolumeCategory) - Method in interface de.maxhenkel.voicechat.api.VoicechatClientApi
-
Registers a volume category just for this client.
- registerEvent(Class<T>, Consumer<T>) - Method in interface de.maxhenkel.voicechat.api.events.EventRegistration
-
Registers an event.
- registerEvent(Class<T>, Consumer<T>, int) - Method in interface de.maxhenkel.voicechat.api.events.EventRegistration
-
Registers an event.
- registerEvents(EventRegistration) - Method in interface de.maxhenkel.voicechat.api.VoicechatPlugin
-
Register your events here - Only here!
- registerPlugin(VoicechatPlugin) - Method in interface de.maxhenkel.voicechat.api.BukkitVoicechatService
-
Registers the voice chat plugin on bukkit based servers.
- registerVolumeCategory(VolumeCategory) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Registers a volume category.
- RegisterVolumeCategoryEvent - Interface in de.maxhenkel.voicechat.api.events
- removeGroup(UUID) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Removes a persistent group.
- RemoveGroupEvent - Interface in de.maxhenkel.voicechat.api.events
-
This event is only cancellable if the group is persistent
- reset() - Method in interface de.maxhenkel.voicechat.api.audiosender.AudioSender
-
Resets the sequence number and indicates to clients that the current audio stream is paused/stopped.
- resetState() - Method in interface de.maxhenkel.voicechat.api.opus.OpusDecoder
-
Resets the decoders state
- resetState() - Method in interface de.maxhenkel.voicechat.api.opus.OpusEncoder
-
Resets the encoders state.
- RESTRICTED_LOWDELAY - Enum constant in enum class de.maxhenkel.voicechat.api.opus.OpusEncoderMode
S
- send(byte[]) - Method in interface de.maxhenkel.voicechat.api.audiochannel.AudioChannel
-
Sends the audio data to this audio channel.
- send(byte[]) - Method in interface de.maxhenkel.voicechat.api.audiosender.AudioSender
-
Acts as if the player has sent a microphone packet.
- send(byte[], SocketAddress) - Method in interface de.maxhenkel.voicechat.api.ClientVoicechatSocket
- send(byte[], SocketAddress) - Method in interface de.maxhenkel.voicechat.api.VoicechatSocket
- send(MicrophonePacket) - Method in interface de.maxhenkel.voicechat.api.audiochannel.AudioChannel
-
Forwards the provided microphone packet to this audio channel.
- sendEntitySoundPacketTo(VoicechatConnection, EntitySoundPacket) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Sends the sound packet to the provided connection.
- sendLocationalSoundPacketTo(VoicechatConnection, LocationalSoundPacket) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Sends the sound packet to the provided connection.
- sendStaticSoundPacketTo(VoicechatConnection, StaticSoundPacket) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Sends the sound packet to the provided connection.
- sequenceNumber(long) - Method in interface de.maxhenkel.voicechat.api.audiosender.AudioSender
-
Sets the sequence number of the packet.
- ServerEvent - Interface in de.maxhenkel.voicechat.api.events
- ServerLevel - Interface in de.maxhenkel.voicechat.api
- ServerPlayer - Interface in de.maxhenkel.voicechat.api
- setCategory(String) - Method in interface de.maxhenkel.voicechat.api.audiochannel.AudioChannel
-
Make sure you registered your category before using it.
- setCategory(String) - Method in interface de.maxhenkel.voicechat.api.audiochannel.ClientAudioChannel
-
Make sure you registered your category before using it.
- setConnected(boolean) - Method in interface de.maxhenkel.voicechat.api.VoicechatConnection
-
The players disconnected state will reset if its actual disconnected state changes or if the player reconnects.
- setDescription(String) - Method in interface de.maxhenkel.voicechat.api.VolumeCategory.Builder
- setDisabled(boolean) - Method in interface de.maxhenkel.voicechat.api.VoicechatConnection
-
Sets the players disabled state.
- setDistance(float) - Method in interface de.maxhenkel.voicechat.api.audiochannel.ClientEntityAudioChannel
- setDistance(float) - Method in interface de.maxhenkel.voicechat.api.audiochannel.ClientLocationalAudioChannel
- setDistance(float) - Method in interface de.maxhenkel.voicechat.api.audiochannel.EntityAudioChannel
- setDistance(float) - Method in interface de.maxhenkel.voicechat.api.audiochannel.LocationalAudioChannel
- setFilter(Predicate<ServerPlayer>) - Method in interface de.maxhenkel.voicechat.api.audiochannel.AudioChannel
-
Applies a filter to the audio channel.
- setGroup(Group) - Method in interface de.maxhenkel.voicechat.api.VoicechatConnection
-
Joins this player to the provided group.
- setHidden(boolean) - Method in interface de.maxhenkel.voicechat.api.Group.Builder
- setIcon(int[][]) - Method in interface de.maxhenkel.voicechat.api.VolumeCategory.Builder
-
The array has to be 16x16.
- setId(String) - Method in interface de.maxhenkel.voicechat.api.VolumeCategory.Builder
-
This ID has to be between 1 and 16 characters and can only contain lowercase
a-z
and_
. - setId(UUID) - Method in interface de.maxhenkel.voicechat.api.Group.Builder
-
Sets the ID of the group.
- setLocation(Position) - Method in interface de.maxhenkel.voicechat.api.audiochannel.ClientLocationalAudioChannel
-
Updates the location of the audio channel.
- setName(String) - Method in interface de.maxhenkel.voicechat.api.Group.Builder
-
NOTE: The name might be stripped of special characters and whitespace.
- setName(String) - Method in interface de.maxhenkel.voicechat.api.VolumeCategory.Builder
- setOnStopped(Runnable) - Method in interface de.maxhenkel.voicechat.api.audiochannel.AudioPlayer
- setPacketListener(Consumer<SoundPacket>) - Method in interface de.maxhenkel.voicechat.api.audiolistener.PlayerAudioListener.Builder
-
Note: It is required to set a listener
- setPassword(String) - Method in interface de.maxhenkel.voicechat.api.Group.Builder
- setPersistent(boolean) - Method in interface de.maxhenkel.voicechat.api.Group.Builder
- setPlayer(ServerPlayer) - Method in interface de.maxhenkel.voicechat.api.audiolistener.PlayerAudioListener.Builder
-
Note: It is required to either set a player with this method or with
PlayerAudioListener.Builder.setPlayer(UUID)
- setPlayer(UUID) - Method in interface de.maxhenkel.voicechat.api.audiolistener.PlayerAudioListener.Builder
-
Note: It is required to either set a player with this method or with
PlayerAudioListener.Builder.setPlayer(ServerPlayer)
- setRawAudio(short[]) - Method in interface de.maxhenkel.voicechat.api.events.ClientReceiveSoundEvent
-
Overrides the actual audio data that is played.
- setRawAudio(short[]) - Method in interface de.maxhenkel.voicechat.api.events.ClientSoundEvent
-
Overrides the actual audio data that's sent to the server.
- setSocketImplementation(ClientVoicechatSocket) - Method in interface de.maxhenkel.voicechat.api.events.ClientVoicechatInitializationEvent
-
Sets a custom implementation of the socket used for client side voice chat traffic.
- setSocketImplementation(VoicechatSocket) - Method in interface de.maxhenkel.voicechat.api.events.VoicechatServerStartingEvent
-
Sets a custom implementation of the socket used for voice chat traffic.
- setType(Group.Type) - Method in interface de.maxhenkel.voicechat.api.Group.Builder
- setVoiceHost(String) - Method in interface de.maxhenkel.voicechat.api.events.VoiceHostEvent
-
Overwrites voice chats voice host - This is sent to the client and used by it to connect to the server.
- setWhispering(boolean) - Method in interface de.maxhenkel.voicechat.api.audiochannel.ClientEntityAudioChannel
- setWhispering(boolean) - Method in interface de.maxhenkel.voicechat.api.audiochannel.EntityAudioChannel
- shortsToBytes(short[]) - Method in interface de.maxhenkel.voicechat.api.audio.AudioConverter
- shortsToFloats(short[]) - Method in interface de.maxhenkel.voicechat.api.audio.AudioConverter
- SoundPacket - Interface in de.maxhenkel.voicechat.api.packets
- SoundPacket.Builder<T extends SoundPacket.Builder<T,
P>, P extends SoundPacket> - Interface in de.maxhenkel.voicechat.api.packets -
A builder to build a sound packet.
- SoundPacketEvent<T extends Packet> - Interface in de.maxhenkel.voicechat.api.events
- SOURCE_GROUP - Static variable in interface de.maxhenkel.voicechat.api.events.SoundPacketEvent
- SOURCE_PLUGIN - Static variable in interface de.maxhenkel.voicechat.api.events.SoundPacketEvent
- SOURCE_PROXIMITY - Static variable in interface de.maxhenkel.voicechat.api.events.SoundPacketEvent
- SOURCE_SPECTATOR - Static variable in interface de.maxhenkel.voicechat.api.events.SoundPacketEvent
- startPlaying() - Method in interface de.maxhenkel.voicechat.api.audiochannel.AudioPlayer
-
Starts playing/streaming the audio.
- StaticAudioChannel - Interface in de.maxhenkel.voicechat.api.audiochannel
- StaticSoundPacket - Interface in de.maxhenkel.voicechat.api.packets
-
The receiver of this event will hear the sound non-directional.
- StaticSoundPacket.Builder<T extends StaticSoundPacket.Builder<T>> - Interface in de.maxhenkel.voicechat.api.packets
-
A builder to build a static sound packet.
- staticSoundPacketBuilder() - Method in interface de.maxhenkel.voicechat.api.packets.ConvertablePacket
-
NOTE: Make sure to set
SoundPacket.Builder.channelId(UUID)
to avoid conflicts with other channels. - StaticSoundPacketEvent - Interface in de.maxhenkel.voicechat.api.events
-
This event is emitted when a static sound packet is about to get sent to a client.
- stopPlaying() - Method in interface de.maxhenkel.voicechat.api.audiochannel.AudioPlayer
-
Stops playing/streaming the audio.
T
- toEntitySoundPacket(UUID, boolean) - Method in interface de.maxhenkel.voicechat.api.packets.ConvertablePacket
-
Deprecated.
- toLocationalSoundPacket(Position) - Method in interface de.maxhenkel.voicechat.api.packets.ConvertablePacket
-
Deprecated.
- toStaticSoundPacket() - Method in interface de.maxhenkel.voicechat.api.packets.ConvertablePacket
-
Deprecated.
U
- unregisterAudioListener(AudioListener) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Unregisters an
AudioListener
. - unregisterAudioListener(UUID) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Unregisters an
AudioListener
. - unregisterAudioSender(AudioSender) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Unregisters an audio sender.
- unregisterClientVolumeCategory(VolumeCategory) - Method in interface de.maxhenkel.voicechat.api.VoicechatClientApi
-
Unregisters a category on this client.
- unregisterClientVolumeCategory(String) - Method in interface de.maxhenkel.voicechat.api.VoicechatClientApi
-
Unregisters a category on this client.
- unregisterVolumeCategory(VolumeCategory) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Unregisters a category for all connected players.
- unregisterVolumeCategory(String) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
-
Unregisters a category for all connected players.
- UnregisterVolumeCategoryEvent - Interface in de.maxhenkel.voicechat.api.events
- updateEntity(Entity) - Method in interface de.maxhenkel.voicechat.api.audiochannel.EntityAudioChannel
-
Sets a new entity where this channel is attached to.
- updateLocation(Position) - Method in interface de.maxhenkel.voicechat.api.audiochannel.LocationalAudioChannel
-
Updates the location of the audio.
V
- valueOf(String) - Static method in enum class de.maxhenkel.voicechat.api.opus.OpusEncoderMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class de.maxhenkel.voicechat.api.opus.OpusEncoderMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VoicechatApi - Interface in de.maxhenkel.voicechat.api
- VoicechatClientApi - Interface in de.maxhenkel.voicechat.api
- VoicechatConnection - Interface in de.maxhenkel.voicechat.api
- VoicechatDisableEvent - Interface in de.maxhenkel.voicechat.api.events
-
This event is emitted on the client when the voice chat is getting enabled/disabled.
- VoicechatPlugin - Interface in de.maxhenkel.voicechat.api
- VoicechatServerApi - Interface in de.maxhenkel.voicechat.api
- VoicechatServerStartedEvent - Interface in de.maxhenkel.voicechat.api.events
- VoicechatServerStartingEvent - Interface in de.maxhenkel.voicechat.api.events
- VoicechatServerStoppedEvent - Interface in de.maxhenkel.voicechat.api.events
- VoicechatSocket - Interface in de.maxhenkel.voicechat.api
-
A socket used for server side voice chat traffic.
- VoiceHostEvent - Interface in de.maxhenkel.voicechat.api.events
- VOIP - Enum constant in enum class de.maxhenkel.voicechat.api.opus.OpusEncoderMode
- VolumeCategory - Interface in de.maxhenkel.voicechat.api
-
A custom volume category for the "adjust volumes screen".
- VolumeCategory.Builder - Interface in de.maxhenkel.voicechat.api
- volumeCategoryBuilder() - Method in interface de.maxhenkel.voicechat.api.VoicechatApi
-
Don't forget to register your category with
VoicechatServerApi.registerVolumeCategory(VolumeCategory)
orVoicechatClientApi.registerClientVolumeCategory(VolumeCategory)
- VolumeCategoryEvent - Interface in de.maxhenkel.voicechat.api.events
W
- whispering(boolean) - Method in interface de.maxhenkel.voicechat.api.audiosender.AudioSender
- whispering(boolean) - Method in interface de.maxhenkel.voicechat.api.packets.EntitySoundPacket.Builder
All Classes and Interfaces|All Packages|Constant Field Values
VoicechatServerApi.groupBuilder()
instead