Class GSAuthIncomingPluginMessageListener

java.lang.Object
com.gamersafer.minecraft.auth.paper.listener.GSAuthIncomingPluginMessageListener
All Implemented Interfaces:
org.bukkit.plugin.messaging.PluginMessageListener

public class GSAuthIncomingPluginMessageListener extends Object implements org.bukkit.plugin.messaging.PluginMessageListener
The plugin message listener to messages from the proxy server. This is only used in not-standalone mode.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The namespaced plugin channel name
  • Constructor Summary

    Constructors
    Constructor
    Description
    GSAuthIncomingPluginMessageListener(GSAuthPaper plugin, com.gamersafer.minecraft.auth.common.GSAuthPlugin core, com.gamersafer.minecraft.auth.common.service.impl.profile.PluginMessagingProfileService profileService, com.gamersafer.minecraft.auth.common.shared.event.GSAuthEventManager eventManager, com.gamersafer.minecraft.auth.common.listener.IGSAuthRequiredCache requiredCache)
    Creates a new GSAuthIncomingPluginMessageListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onPluginMessageReceived(String channel, org.bukkit.entity.Player player, byte[] message)
     

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • GSAuthIncomingPluginMessageListener

      public GSAuthIncomingPluginMessageListener(GSAuthPaper plugin, com.gamersafer.minecraft.auth.common.GSAuthPlugin core, com.gamersafer.minecraft.auth.common.service.impl.profile.PluginMessagingProfileService profileService, com.gamersafer.minecraft.auth.common.shared.event.GSAuthEventManager eventManager, com.gamersafer.minecraft.auth.common.listener.IGSAuthRequiredCache requiredCache)
      Creates a new GSAuthIncomingPluginMessageListener
      Parameters:
      plugin - the plugin
      core - the core
      profileService - the profileService
      eventManager - the eventManager
      requiredCache - the requiredCache
  • Method Details

    • onPluginMessageReceived

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