mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-25 03:35:26 +01:00
Updated SubData (markdown)
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` — Packet Forward Address (Server-side only, Optional): Connected address to forward packet to.<br>
|
||||
`h` — Packet Handle: Used on the receiving end to determine what code to run.<br>
|
||||
`v` — Packet Version: Used to determine if the incoming packet is compatible with the receiving code.<br>
|
||||
`c` — Packet Contents (Optional): This is the data that will be passed to the receiving code.<br>
|
||||
|
Loading…
Reference in New Issue
Block a user