Class PluginMessageConnector
java.lang.Object
de.themoep.connectorplugin.connector.Connector<VelocityConnectorPlugin,com.velocitypowered.api.proxy.Player>
de.themoep.connectorplugin.velocity.connector.VelocityConnector
de.themoep.connectorplugin.velocity.connector.PluginMessageConnector
-
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
onPlayerServerConnected
(com.velocitypowered.api.event.player.ServerPostConnectEvent event) void
onPluginMessage
(com.velocitypowered.api.event.connection.PluginMessageEvent event) void
sendDataImplementation
(String targetData, Message message) Methods inherited from class de.themoep.connectorplugin.velocity.connector.VelocityConnector
getReceiverImplementation, getTargetServer, sendDataImplementation
Methods inherited from class de.themoep.connectorplugin.connector.Connector
close, getReceiver, handle, handle, hasPrefix, isThis, registerHandler, registerMessageHandler, requiresPlayer, sendData, sendData, sendData, sendDataInternal, unregisterHandler, unregisterHandlers, unregisterMessageHandler, unregisterMessageHandlers
-
Constructor Details
-
PluginMessageConnector
-
-
Method Details
-
onPluginMessage
public void onPluginMessage(com.velocitypowered.api.event.connection.PluginMessageEvent event) -
onPlayerServerConnected
public void onPlayerServerConnected(com.velocitypowered.api.event.player.ServerPostConnectEvent event) -
sendDataImplementation
- Specified by:
sendDataImplementation
in classVelocityConnector
-