Interface DisableSender
public interface DisableSender
Sends disable messages when chat features are disabled for players.
- Since:
- 1.6.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleansendIfDisabled(FEntity entity, FEntity receiver, ModuleName moduleName) Checks if a message type is disabled for a receiver and sends appropriate message.
-
Method Details
-
sendIfDisabled
Checks if a message type is disabled for a receiver and sends appropriate message.- Parameters:
entity- the entity sending the messagereceiver- the entity receiving the messagemoduleName- the type of message being sent- Returns:
- true if message type is disabled for receiver, false otherwise
-