removeConnection

abstract fun removeConnection(@NotNull connection: @NotNull UdpProxyConnection): Boolean

Removes a UDP proxy connection.

Return

true if the removal was successful, false if the connection was not found.

Parameters

connection

The UDP proxy connection to remove.


abstract fun removeConnection(@NotNull player: @NotNull VoiceProxyPlayer): Boolean

Removes a UDP proxy connection associated with a player.

Return

true if the removal was successful, false if the connection was not found.

Parameters

player

The voice proxy player whose connection should be removed.