PlasmoVoice
jvm
PlasmoVoice
/
su.plo.voice.api.server.mute
/
MuteManager
Mute
Manager
interface
MuteManager
Manages voice players mutes.
Members
Functions
get
Mute
Link copied to clipboard
abstract
fun
getMute
(
@
NotNull
playerId
:
@
NotNull
UUID
)
:
Optional
<
ServerMuteInfo
>
Gets the mute information for a player.
get
Mute
Storage
Link copied to clipboard
@
NotNull
abstract
fun
getMuteStorage
(
)
:
@
NotNull
MuteStorage
Gets the mute storage implementation used for storing mute information.
mute
Link copied to clipboard
abstract
fun
mute
(
@
NotNull
playerId
:
@
NotNull
UUID
,
@
Nullable
mutedById
:
UUID
,
duration
:
Long
,
@
Nullable
durationUnit
:
MuteDurationUnit
,
@
Nullable
reason
:
String
,
silent
:
Boolean
)
:
Optional
<
ServerMuteInfo
>
Mutes a player.
set
Mute
Storage
Link copied to clipboard
abstract
fun
setMuteStorage
(
@
NotNull
muteStorage
:
@
NotNull
MuteStorage
)
Sets the mute storage implementation to be used for storing mute information.
unmute
Link copied to clipboard
abstract
fun
unmute
(
@
NotNull
playerId
:
@
NotNull
UUID
,
silent
:
Boolean
)
:
Optional
<
ServerMuteInfo
>
Unmutes a player.