PlasmoVoiceServer

The Plasmo Voice Server API.

Functions

Link copied to clipboard
@NotNull
abstract fun createOpusDecoder(stereo: Boolean): @NotNull AudioDecoder
Creates a new opus decoder using params created from ServerConfig.
Link copied to clipboard
@NotNull
abstract fun createOpusEncoder(stereo: Boolean): @NotNull AudioEncoder
Creates a new opus encoder using params created from ServerConfig.
Link copied to clipboard
Link copied to clipboard
abstract fun getAddonManager(): @NotNull AddonManager
Link copied to clipboard
Gets the server's addons loader.
Link copied to clipboard
Link copied to clipboard
abstract fun getCodecManager(): @NotNull CodecManager
Link copied to clipboard
@Nullable
abstract fun getConfig(): @Nullable ServerConfig
Gets the ServerConfig.
Link copied to clipboard
abstract fun getConfigFolder(): @NotNull File
Link copied to clipboard
abstract fun getDebugLogger(): @NotNull DebugLogger
Link copied to clipboard
abstract fun getDefaultEncryption(): @NotNull Encryption
Link copied to clipboard
abstract fun getEncryptionManager(): @NotNull EncryptionManager
Link copied to clipboard
abstract fun getEventBus(): @NotNull EventBus
Link copied to clipboard
abstract fun getLanguages(): @NotNull ServerLanguages
Link copied to clipboard
@NotNull
abstract fun getMinecraftServer(): @NotNull McServerLib
Gets the McServerLib.
Link copied to clipboard
@NotNull
abstract fun getMuteManager(): @NotNull MuteManager
Gets the MuteManager.
Link copied to clipboard
@NotNull
abstract fun getPlayerManager(): @NotNull VoiceServerPlayerManager
Link copied to clipboard
@NotNull
abstract fun getSourceLineManager(): @NotNull ServerSourceLineManager
Link copied to clipboard
@NotNull
abstract fun getTcpPacketManager(): @NotNull TcpServerPacketManager
Link copied to clipboard
Link copied to clipboard
Gets the UdpServer.
Link copied to clipboard
abstract fun getVersion(): @NotNull String