Class VelocityPluginMessageUtils
java.lang.Object
org.geysermc.floodgate.core.platform.pluginmessage.PluginMessageUtils
org.geysermc.floodgate.velocity.pluginmessage.VelocityPluginMessageUtils
- All Implemented Interfaces:
org.geysermc.floodgate.core.listener.McListener
@Singleton
public class VelocityPluginMessageUtils
extends org.geysermc.floodgate.core.platform.pluginmessage.PluginMessageUtils
implements org.geysermc.floodgate.core.listener.McListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPluginMessage(com.velocitypowered.api.event.connection.PluginMessageEvent event) booleansendMessage(UUID player, boolean toServer, com.velocitypowered.api.proxy.messages.ChannelIdentifier identifier, byte[] data) booleansendMessage(UUID player, boolean toServer, String channel, byte[] data) Methods inherited from class org.geysermc.floodgate.core.platform.pluginmessage.PluginMessageUtils
sendMessage
-
Constructor Details
-
VelocityPluginMessageUtils
public VelocityPluginMessageUtils()
-
-
Method Details
-
onPluginMessage
public void onPluginMessage(com.velocitypowered.api.event.connection.PluginMessageEvent event) -
sendMessage
public boolean sendMessage(UUID player, boolean toServer, com.velocitypowered.api.proxy.messages.ChannelIdentifier identifier, byte[] data) -
sendMessage
- Overrides:
sendMessagein classorg.geysermc.floodgate.core.platform.pluginmessage.PluginMessageUtils
-