Interface MuteChecker
public interface MuteChecker
Works out why a player may not speak, either an actual mute or a chat rule they just broke.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumWhy a player cannot speak, either a local or external mute, a broken chat rule, or nothing at all. -
Method Summary
Modifier and TypeMethodDescriptionChecks whether the player is allowed to speak.
-
Method Details
-
check
Checks whether the player is allowed to speak.- Parameters:
fPlayer- the player to check- Returns:
- what is stopping them, or
MuteChecker.Status.NONEif nothing is
-