Class ProxyPackListener

java.lang.Object
de.themoep.resourcepacksplugin.core.SubChannelHandler<org.bukkit.entity.Player>
de.themoep.resourcepacksplugin.bukkit.listeners.ProxyPackListener
All Implemented Interfaces:
org.bukkit.event.Listener, org.bukkit.plugin.messaging.PluginMessageListener

public class ProxyPackListener extends de.themoep.resourcepacksplugin.core.SubChannelHandler<org.bukkit.entity.Player> implements org.bukkit.plugin.messaging.PluginMessageListener, org.bukkit.event.Listener
Created by Phoenix616 on 02.02.2016.
  • Constructor Details

  • Method Details

    • onPluginMessageReceived

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

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

      protected void sendPluginMessage(org.bukkit.entity.Player target, byte[] data)
      Specified by:
      sendPluginMessage in class de.themoep.resourcepacksplugin.core.SubChannelHandler<org.bukkit.entity.Player>
    • saveKey

      protected void saveKey(String key)
      Specified by:
      saveKey in class de.themoep.resourcepacksplugin.core.SubChannelHandler<org.bukkit.entity.Player>
    • loadKey

      protected String loadKey()
      Specified by:
      loadKey in class de.themoep.resourcepacksplugin.core.SubChannelHandler<org.bukkit.entity.Player>
    • getTargetType

      protected String getTargetType()
      Specified by:
      getTargetType in class de.themoep.resourcepacksplugin.core.SubChannelHandler<org.bukkit.entity.Player>
    • trustsSender

      protected boolean trustsSender()
      Overrides:
      trustsSender in class de.themoep.resourcepacksplugin.core.SubChannelHandler<org.bukkit.entity.Player>