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