PlayerVoiceMutedEvent

class PlayerVoiceMutedEvent(val muteManager: MuteManager, val muteInfo: ServerMuteInfo) : Event

This event is fired when a player is muted in the MuteManager.

The event is fired on the server thread (the global region thread on Folia), not necessarily before MuteManager.mute returns. Use muteInfo instead of MuteManager.getMute, the mute may already be removed by then.

Constructors

Link copied to clipboard
constructor(muteManager: MuteManager, muteInfo: ServerMuteInfo)

Properties

Link copied to clipboard
Link copied to clipboard