From 434bc7fb086ac93d76e175981075f6a0b9082041 Mon Sep 17 00:00:00 2001 From: ME1312 Date: Fri, 30 Jun 2017 21:17:03 -0400 Subject: [PATCH] Updated SubData (markdown) --- SubData.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SubData.md b/SubData.md index 21e6e2b..8743215 100644 --- a/SubData.md +++ b/SubData.md @@ -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` — Packet Forward Address (Server-side only, Optional): Connected address to forward packet to.
`h` — Packet Handle: Used on the receiving end to determine what code to run.
`v` — Packet Version: Used to determine if the incoming packet is compatible with the receiving code.
`c` — Packet Contents (Optional): This is the data that will be passed to the receiving code.