Constructor and Description |
---|
PacketCommandServer(int response,
java.lang.String message,
java.lang.String id) |
PacketCommandServer(SubPlugin plugin) |
Modifier and Type | Method and Description |
---|---|
void |
execute(Client client,
org.json.JSONObject data)
Execute Incoming Packet
|
org.json.JSONObject |
generate()
Generate JSON Packet Contents
|
Version |
getVersion()
Get Packet Version
|
public PacketCommandServer(SubPlugin plugin)
public PacketCommandServer(int response, java.lang.String message, java.lang.String id)
public org.json.JSONObject generate()
PacketOut
public void execute(Client client, org.json.JSONObject data)
PacketIn
public Version getVersion()
PacketIn
getVersion
in interface PacketIn
getVersion
in interface PacketOut