Class PluginMessageListener

java.lang.Object
de.themoep.resourcepacksplugin.core.SubChannelHandler<net.md_5.bungee.api.connection.Server>
de.themoep.resourcepacksplugin.bungee.listeners.PluginMessageListener
All Implemented Interfaces:
net.md_5.bungee.api.plugin.Listener

public class PluginMessageListener extends de.themoep.resourcepacksplugin.core.SubChannelHandler<net.md_5.bungee.api.connection.Server> implements net.md_5.bungee.api.plugin.Listener
  • Constructor Details

  • Method Details

    • pluginMessageReceived

      public void pluginMessageReceived(net.md_5.bungee.api.event.PluginMessageEvent event)
    • onServerSwitch

      public void onServerSwitch(net.md_5.bungee.api.event.ServerConnectedEvent event)
    • sendPluginMessage

      protected void sendPluginMessage(net.md_5.bungee.api.connection.Server target, byte[] data)
      Specified by:
      sendPluginMessage in class de.themoep.resourcepacksplugin.core.SubChannelHandler<net.md_5.bungee.api.connection.Server>
    • saveKey

      protected void saveKey(String key)
      Specified by:
      saveKey in class de.themoep.resourcepacksplugin.core.SubChannelHandler<net.md_5.bungee.api.connection.Server>
    • loadKey

      protected String loadKey()
      Specified by:
      loadKey in class de.themoep.resourcepacksplugin.core.SubChannelHandler<net.md_5.bungee.api.connection.Server>
    • getTargetType

      protected String getTargetType()
      Specified by:
      getTargetType in class de.themoep.resourcepacksplugin.core.SubChannelHandler<net.md_5.bungee.api.connection.Server>