Packet for sending custom plugin messages to the server
Packet
new C17PacketCustomPayload(channel, data, length): C17PacketCustomPayload
channel
data
length
C17PacketCustomPayload
Creates a new custom payload packet
Parameters
string
channel - The plugin message channel
data - The payload data as a string
boolean
length - Whether to include string length
Returns
Overrides
Packet.constructor
getPacketID(): string
Get the ID of the packet.
The ID of the packet.
Inherited from
Packet.getPacketID
getPacketID
Last updated 3 months ago