mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-28 21:26:01 +01:00
Updated SubData (markdown)
parent
75f6e66980
commit
de9899b3c9
@ -17,5 +17,11 @@ This is the current edition of SubData. SubServers.Bungee opens a TCP port (defa
|
||||
|
||||
Of course, SubAPI handles this all for you, but if you are looking to create a custom application this information may be useful to you. The SubAPI way to create a packet is to create a new class and implement `PacketIn` and/or `PacketOut` and register it via `SubData.registerPacket()`.
|
||||
|
||||
### AES Encryption
|
||||
SubData supports AES 128, 192, and 256 bit password-based encryption if you need to turn up the security. It does this by encrypting the previously mentioned json protocol with AES and converting the output to Base64 for compatibility reasons. Here is an example of what this type of encryption can do for you:
|
||||
`{"v":"2.11.0a","h":"SubDownloadLang"}`
|
||||
This simple language file request now becomes:
|
||||
`IKT1NyjogzyN4NipY2S5QPBHs1yHisCTtSeYsKlRGua//JaBuL6JGDQX+YlllY6TgO8FuwplFVwr/L821rdNLhAHNO7F2plutLZ7/+L+sXYNQjEd+fvPHio=`
|
||||
|
||||
## SubData WebDirect
|
||||
This edition of SubData uses the same JSON protocols as SubData Direct, however the connection is handled by WebSockets instead of raw TCP connections. This effectively makes SubData compatible with things like web browsers. This edition is not included in SubServers and is [available for download here](https://github.com/ME1312/SubServers-2/tree/master/Artifacts).
|
Loading…
Reference in New Issue
Block a user