Class PluginMessageConnector

java.lang.Object
de.themoep.connectorplugin.connector.Connector<LimboConnectorPlugin,com.loohp.limbo.player.Player>
de.themoep.connectorplugin.limbo.connector.LimboConnector
de.themoep.connectorplugin.limbo.connector.PluginMessageConnector
All Implemented Interfaces:
com.loohp.limbo.events.Listener

public class PluginMessageConnector extends LimboConnector implements com.loohp.limbo.events.Listener
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.kyori.adventure.key.Key
     
    static final String
     

    Fields inherited from class de.themoep.connectorplugin.connector.Connector

    PLAYER_PREFIX, plugin, PROXY_ID_PREFIX, SERVER_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onPlayerJoin(com.loohp.limbo.events.player.PlayerJoinEvent event)
     
    void
    onPluginMessage(com.loohp.limbo.events.player.PluginMessageEvent event)
     
    protected void
    sendDataImplementation(String targetData, de.themoep.connectorplugin.connector.Message message)
     

    Methods inherited from class de.themoep.connectorplugin.limbo.connector.LimboConnector

    getReceiverImplementation, handle, sendDataImplementation

    Methods inherited from class de.themoep.connectorplugin.connector.Connector

    close, getReceiver, handle, hasPrefix, isThis, registerHandler, registerMessageHandler, requiresPlayer, sendData, sendData, sendData, sendDataInternal, unregisterHandler, unregisterHandlers, unregisterMessageHandler, unregisterMessageHandlers

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CHANNEL_NAME

      public static final String CHANNEL_NAME
      See Also:
    • CHANNEL_KEY

      public static final net.kyori.adventure.key.Key CHANNEL_KEY
  • Constructor Details

  • Method Details

    • onPluginMessage

      @EventHandler public void onPluginMessage(com.loohp.limbo.events.player.PluginMessageEvent event)
    • sendDataImplementation

      protected void sendDataImplementation(String targetData, de.themoep.connectorplugin.connector.Message message)
      Specified by:
      sendDataImplementation in class LimboConnector
    • onPlayerJoin

      @EventHandler public void onPlayerJoin(com.loohp.limbo.events.player.PlayerJoinEvent event)