Class PluginMessageEvent

  • All Implemented Interfaces:

    public class PluginMessageEvent
    extends TargetedEvent
    implements Cancellable
    Event called when a plugin message is sent to the client or server.
    • Method Detail

      • isCancelled

        public boolean isCancelled()
        Cancelled state.
        Specified by:
        isCancelled in interface Cancellable
        the cancelled state of this event
      • getTag

        public String getTag()
        Tag specified for this plugin message.
      • getData

        public byte[] getData()
        Data contained in this plugin message.
      • setCancelled

        public void setCancelled​(boolean cancelled)
        Cancelled state.
        Specified by:
        setCancelled in interface Cancellable
        cancelled - the state to set