Class PluginMessageConnector

java.lang.Object
de.themoep.connectorplugin.connector.Connector<BukkitConnectorPlugin,org.bukkit.entity.Player>
de.themoep.connectorplugin.bukkit.connector.BukkitConnector
de.themoep.connectorplugin.bukkit.connector.PluginMessageConnector
All Implemented Interfaces:
org.bukkit.event.Listener, org.bukkit.plugin.messaging.PluginMessageListener

public class PluginMessageConnector extends BukkitConnector implements org.bukkit.plugin.messaging.PluginMessageListener, org.bukkit.event.Listener
  • Constructor Details

  • Method Details

    • onPluginMessageReceived

      public void onPluginMessageReceived(String channel, org.bukkit.entity.Player player, byte[] data)
      Specified by:
      onPluginMessageReceived in interface org.bukkit.plugin.messaging.PluginMessageListener
    • sendDataImplementation

      public void sendDataImplementation(String targetData, Message message)
      Specified by:
      sendDataImplementation in class BukkitConnector
    • onPlayerJoin

      public void onPlayerJoin(org.bukkit.event.player.PlayerJoinEvent event)