Index

A B C D E F G H I J L M O P R S T U V 
All Classes|All Packages|Constant Field Values|Deprecated API

A

AudioChannel - Interface in de.maxhenkel.voicechat.api.audiochannel
 
AudioPlayer - Interface in de.maxhenkel.voicechat.api.audiochannel
Streams audio data from the server to clients.

B

BukkitVoicechatPlugin - Annotation Interface in de.maxhenkel.voicechat.api
Deprecated, for removal: This API element is subject to removal in a future version.
BukkitVoicechatService - Interface in de.maxhenkel.voicechat.api
 

C

cancel() - Method in interface de.maxhenkel.voicechat.api.events.Event
Cancels this event.
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
 
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.
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.
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
Creates a new group.
CreateGroupEvent - Interface in de.maxhenkel.voicechat.api.events
 
createLocationalAudioChannel(UUID, ServerLevel, Position) - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
Creates a sound channel at the provided location.
createPosition(double, double, double) - Method in interface de.maxhenkel.voicechat.api.VoicechatApi
Creates a new position object.
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.audiochannel - package de.maxhenkel.voicechat.api.audiochannel
Everything related to audio channels and serverside audio.
de.maxhenkel.voicechat.api.events - package de.maxhenkel.voicechat.api.events
All registrable events.
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(byte[]) - Method in interface de.maxhenkel.voicechat.api.opus.OpusDecoder
Decodes opus encoded audio data to 16 bit PCM audio

E

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
 
EntitySoundPacket - Interface in de.maxhenkel.voicechat.api.packets
The receiver of this event will hear the sound from the specified entity.
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.
Event - Interface in de.maxhenkel.voicechat.api.events
 
EventRegistration - Interface in de.maxhenkel.voicechat.api.events
 

F

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.

G

getBroadcastRange() - Method in interface de.maxhenkel.voicechat.api.VoicechatServerApi
 
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
 
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.
getData() - Method in interface de.maxhenkel.voicechat.api.RawUdpPacket
 
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.VoicechatConnection
 
getId() - Method in interface de.maxhenkel.voicechat.api.audiochannel.AudioChannel
 
getId() - Method in interface de.maxhenkel.voicechat.api.Group
 
getLocalPort() - Method in interface de.maxhenkel.voicechat.api.VoicechatSocket
 
getLocation() - Method in interface de.maxhenkel.voicechat.api.audiochannel.LocationalAudioChannel
 
getName() - Method in interface de.maxhenkel.voicechat.api.Group
 
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.events.PlayerDisconnectedEvent
 
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.packets.LocationalSoundPacket
 
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
 
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.VoicechatServerStartingEvent
 
getSource() - Method in interface de.maxhenkel.voicechat.api.events.SoundPacketEvent
Where the packet originated from.
getTimestamp() - Method in interface de.maxhenkel.voicechat.api.RawUdpPacket
 
getUuid() - Method in interface de.maxhenkel.voicechat.api.Entity
 
getVoicechat() - Method in interface de.maxhenkel.voicechat.api.events.ServerEvent
 
getVoiceHost() - Method in interface de.maxhenkel.voicechat.api.events.VoiceHostEvent
 
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
 
GroupEvent - Interface in de.maxhenkel.voicechat.api.events
 

H

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.opus.OpusDecoder
 
isClosed() - Method in interface de.maxhenkel.voicechat.api.opus.OpusEncoder
 
isClosed() - Method in interface de.maxhenkel.voicechat.api.VoicechatSocket
 
isDisabled() - Method in interface de.maxhenkel.voicechat.api.VoicechatConnection
 
isInGroup() - Method in interface de.maxhenkel.voicechat.api.VoicechatConnection
 
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.EntityAudioChannel
 
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.
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

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.

O

open(int, String) - Method in interface de.maxhenkel.voicechat.api.VoicechatSocket
 
OpusDecoder - Interface in de.maxhenkel.voicechat.api.opus
Instances can be obtained by calling VoicechatApi.createDecoder().
OpusEncoder - Interface in de.maxhenkel.voicechat.api.opus
Instances can be obtained by calling VoicechatApi.createEncoder().

P

Packet - Interface in de.maxhenkel.voicechat.api.packets
 
PacketEvent<T extends Packet> - Interface in de.maxhenkel.voicechat.api.events
 
Player - Interface in de.maxhenkel.voicechat.api
 
PlayerConnectedEvent - Interface in de.maxhenkel.voicechat.api.events
 
PlayerDisconnectedEvent - Interface in de.maxhenkel.voicechat.api.events
 
Position - Interface in de.maxhenkel.voicechat.api
 

R

RawUdpPacket - Interface in de.maxhenkel.voicechat.api
 
read() - Method in interface de.maxhenkel.voicechat.api.VoicechatSocket
 
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.
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.

S

send(byte[]) - Method in interface de.maxhenkel.voicechat.api.audiochannel.AudioChannel
Sends the audio date to this audio channel.
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.
ServerEvent - Interface in de.maxhenkel.voicechat.api.events
 
ServerLevel - Interface in de.maxhenkel.voicechat.api
 
ServerPlayer - Interface in de.maxhenkel.voicechat.api
 
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.
setSocketImplementation(VoicechatSocket) - Method in interface de.maxhenkel.voicechat.api.events.VoicechatServerStartingEvent
Sets a custom implementation of the socket used for voice chat traffic.
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.EntityAudioChannel
 
SoundPacket - Interface in de.maxhenkel.voicechat.api.packets
 
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.
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
Converts this packet to an entity sound packet.
toLocationalSoundPacket(Position) - Method in interface de.maxhenkel.voicechat.api.packets.ConvertablePacket
Converts this packet to a locational sound packet.
toStaticSoundPacket() - Method in interface de.maxhenkel.voicechat.api.packets.ConvertablePacket
Converts this packet to a static sound packet.

U

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

VoicechatApi - Interface in de.maxhenkel.voicechat.api
 
VoicechatConnection - Interface in de.maxhenkel.voicechat.api
 
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
 
VoiceHostEvent - Interface in de.maxhenkel.voicechat.api.events
 
A B C D E F G H I J L M O P R S T U V 
All Classes|All Packages|Constant Field Values|Deprecated API