Updated SubData (markdown)

ME1312 2018-07-29 16:02:03 -04:00
parent b3b62ed88e
commit 56944504a8

@ -5,15 +5,17 @@ This is the current edition of SubData. SubServers.Bungee opens a TCP port (defa
```
{
"f": "/127.0.0.1:54366",
"h": "examplepacket",
"n": "exampleplugin",
"h": "ExamplePacket",
"v": "2.11.0a",
"c": {
"data": "This is a test packet"
}
}
```
`f` &mdash; Packet Forward Address (Server-bound packets only, Optional): Connected address to forward packet to.<br>
`h` &mdash; Packet Handle: Used on the receiving end to determine what code to run.<br>
`f` &mdash; Packet Forward Address (Server-bound only, Optional): Connected address to forward packet to.<br>
`n` &mdash; Packet Channel: Used on the receiving end to decide which set of decoders to select from.<br>
`h` &mdash; Packet Handle: Used on the receiving end to decide which decoder to use from the set selected.<br>
`v` &mdash; Packet Version: Used to determine if the incoming packet is compatible with the receiving code.<br>
`c` &mdash; Packet Contents (Optional): This is the data that will be passed to the receiving code.<br>