Updated SubData (markdown)

ME1312 2017-06-30 21:17:03 -04:00
parent 4899e3755d
commit 434bc7fb08

@ -4,6 +4,7 @@ SubData, in a similar fashion to the [Plugin Messaging Channel (PMC)](https://ww
This is the current edition of SubData. SubServers.Bungee opens a TCP port (default 4391) for other programs to communicate to each other with via JSON Packets. The packets look like this but they're minified:
```
{
"f": "127.0.0.1:54366",
"h": "ExamplePacket",
"v": "2.11.0a",
"c": {
@ -11,6 +12,7 @@ This is the current edition of SubData. SubServers.Bungee opens a TCP port (defa
}
}
```
`f` &mdash; Packet Forward Address (Server-side 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>
`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>