public class VelocityPluginMessageUtils
extends org.geysermc.floodgate.platform.pluginmessage.PluginMessageUtils
| Constructor and Description |
|---|
VelocityPluginMessageUtils(org.geysermc.floodgate.pluginmessage.PluginMessageManager pluginMessageManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(com.velocitypowered.api.proxy.ProxyServer proxy,
org.geysermc.floodgate.api.logger.FloodgateLogger logger) |
void |
onPluginMessage(com.velocitypowered.api.event.connection.PluginMessageEvent event) |
boolean |
sendMessage(UUID player,
boolean toServer,
com.velocitypowered.api.proxy.messages.ChannelIdentifier identifier,
byte[] data) |
boolean |
sendMessage(UUID player,
boolean toServer,
String channel,
byte[] data) |
public VelocityPluginMessageUtils(org.geysermc.floodgate.pluginmessage.PluginMessageManager pluginMessageManager)
@Inject
public void init(com.velocitypowered.api.proxy.ProxyServer proxy,
org.geysermc.floodgate.api.logger.FloodgateLogger logger)
public void onPluginMessage(com.velocitypowered.api.event.connection.PluginMessageEvent event)
public boolean sendMessage(UUID player, boolean toServer, com.velocitypowered.api.proxy.messages.ChannelIdentifier identifier, byte[] data)