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
-
Constructor Summary
ConstructorDescriptionGSAuthIncomingPluginMessageListener
(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 TypeMethodDescriptionvoid
void
onPluginMessageReceived
(String channel, org.bukkit.entity.Player player, byte[] message)
-
Field Details
-
CHANNEL
The namespaced plugin channel name used for both incoming and going communications- See Also:
-
-
Constructor Details
-
Method Details
-
onPluginMessageReceived
public void onPluginMessageReceived(String channel, org.bukkit.entity.Player player, byte[] message) - Specified by:
onPluginMessageReceived
in interfaceorg.bukkit.plugin.messaging.PluginMessageListener
-
disableChecks
public void disableChecks()
-