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
-
Field Summary
Fields inherited from class de.themoep.connectorplugin.connector.Connector
PLAYER_PREFIX, plugin, PROXY_ID_PREFIX, SERVER_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onPlayerJoin
(org.bukkit.event.player.PlayerJoinEvent event) void
onPluginMessageReceived
(String channel, org.bukkit.entity.Player player, byte[] data) void
sendDataImplementation
(String targetData, Message message) Methods inherited from class de.themoep.connectorplugin.bukkit.connector.BukkitConnector
getReceiverImplementation, handle, sendDataImplementation
Methods inherited from class de.themoep.connectorplugin.connector.Connector
close, getReceiver, handle, hasPrefix, isThis, registerHandler, registerMessageHandler, requiresPlayer, sendData, sendData, sendData, sendDataInternal, unregisterHandler, unregisterHandlers, unregisterMessageHandler, unregisterMessageHandlers
-
Constructor Details
-
PluginMessageConnector
-
-
Method Details
-
onPluginMessageReceived
- Specified by:
onPluginMessageReceived
in interfaceorg.bukkit.plugin.messaging.PluginMessageListener
-
sendDataImplementation
- Specified by:
sendDataImplementation
in classBukkitConnector
-
onPlayerJoin
public void onPlayerJoin(org.bukkit.event.player.PlayerJoinEvent event)
-