Interface DisableSender


public interface DisableSender
Sends disable messages when chat features are disabled for players.
Since:
1.6.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    sendIfDisabled(FEntity entity, FEntity receiver, ModuleName moduleName)
    Checks if a message type is disabled for a receiver and sends appropriate message.
  • Method Details

    • sendIfDisabled

      boolean sendIfDisabled(FEntity entity, FEntity receiver, ModuleName moduleName)
      Checks if a message type is disabled for a receiver and sends appropriate message.
      Parameters:
      entity - the entity sending the message
      receiver - the entity receiving the message
      moduleName - the type of message being sent
      Returns:
      true if message type is disabled for receiver, false otherwise