Commit Graph

47 Commits

Author SHA1 Message Date
ME1312
545565512b
Restructure the Download packet group
The Download group of packets was in desperate need for a restructuring.

Now, instead of using `DownloadServerList` to list everything, different object types now are downloaded through their own seperate packets. (Improving network efficiency)
2018-08-09 14:54:56 -04:00
ME1312
38eec66a4b
Further define proxy status colors
The proxies section of the list command now functions like the rest. You can hover over proxies in-game to get more status information on them.

The colors shown are as follows:
Green (Optimal): Proxy is connected to both Redis and SubData
Blue (Available): Proxy is connected to SubData only
White (External): Proxy is connected to Redis only
Red (Disabled): Proxy is offline
2018-08-05 22:07:18 -04:00
ME1312
4aa943953f
Flesh out the Proxy API
- Proxies connected to Redis are downloaded on startup/reload
- Named proxies are no longer removed on disconnect
- Proxies now show up in `/sub list`
- Proxies now have Add/Remove events in the API
- Proxies are included in the response of the `DownloadServerList` packet
2018-08-05 17:41:17 -04:00
ME1312
d69840f439
Lock the start method for event usage 2018-07-29 19:01:36 -04:00
ME1312
97c73bf738
Implement a simalar namespaced key system in subdata
This was a change I made to the Lang API a while back, and now it has made it's way into SubData.

Packets are now tied to channels (`n`) and then handles (`h`) within those channels.
2018-07-29 14:39:42 -04:00
ME1312
319618fe71
Create a more straightforward way for interacting with unstable methods 2018-07-28 22:09:47 -04:00
ME1312
55f97338f8
Seperate Sponge from Forge
The sponge template now builds SpongeVanilla, and a new template called `Forge` will continue to build SpongeForge
2018-07-26 13:34:31 -04:00
ME1312
4813be645d
Add a Sponge version of SubServers.Client
This version of SubServers.Client has the same features as the Bukkit version, minus the chest interface.

This feature may be added in the future once the documentation surrounding chest interfaces becomes more thorough.
2018-07-22 23:44:20 -04:00
ME1312
35c2e43192
Quick fix to add SubData Connection ID to the new API 2018-07-05 23:01:38 -04:00
ME1312
27b1d6b51a
Extend SubAPI to wrap the SubData packet centered APIs
Simple requests like those used to list hosts or servers shouldn't require messing around trying to keep up with the SubData Direct protocol. It should be easy, right?

Now, SubAPI includes methods simalar to those seen in SubServers.Bungee for accessing data for Hosts, Servers, SubServers, Proxies, & Players easily. Requests the SubData Packet API is already capable of making will be included as methods in these variables.
2018-06-30 23:46:58 -04:00
ME1312
75b9b688cc Rewrite SubData API for JSON dependancy changes
This commit removes the org.JSON library where alternatives are already provided (Bungee & Bukkit provide Gson). This change was made to improve compatability with BungeeCord plugins and reduce file sizes.

This means big changes to the SubData API, which heavily relied on org.JSON. Now we submit our data through YAMLSection to be converted and sent over the network.
2018-04-14 21:53:51 -04:00
ME1312
bb7cfa9e57 Fix /sub delete permission error on windows 2018-03-14 03:01:44 -04:00
ME1312
eb18c01b22 Rewrite Launch & PluginLoader for SubServers.Host
This commit changes the way SubServers.Host launches itself and loads it's plugins. Overall loading plugins this way is more efficient, faster, and can cause less problems than before.

Plugins will still use the package.xml & @SubPlugin annotation system to be loaded.

Also, there are some changes to the logger that better support async logging.
2018-01-21 15:45:27 -05:00
ME1312
e5ad3f55d2 Allow PacketIn to accept multiple oncoming packet versions 2018-01-13 16:22:13 -05:00
ME1312
b72103c0f0 Make Server API use existing fields from BungeeServerInfo 2018-01-12 16:56:22 -05:00
ME1312
7a5eac83fd Update Libraries 2018-01-05 17:30:01 -05:00
ME1312
00d56c1167 Add the SubData Cipher API
This adds a simplistic API for the encryption/decryption of incoming/outgoing packets, replacing the old Encryption enum.
2018-01-05 15:37:23 -05:00
ME1312
562072df3f Lang API Rewrite // Add TabCompletes to Sync 2018-01-02 17:29:25 -05:00
ME1312
ada14c0889 Add reload packet for ExHosts and Servers using Client 2017-12-13 19:04:58 -05:00
ME1312
91ca559e4a Host & Server objects are now signed (prevents desyncs across apps) 2017-12-09 19:30:06 -05:00
ME1312
556d947981 Add Proper RedisBungee Support 2017-12-08 02:35:50 -05:00
ME1312
a019383bc3 Preserve YAML element order 2017-11-22 16:58:33 -05:00
ME1312
9a219a7d0f Queue packets until subdata connection is authorized 2017-09-23 23:19:22 -04:00
ME1312
44b838ee34 Indirectly overrides BungeeServerInfo methods 2017-08-26 23:56:15 -04:00
ME1312
41e77e124c SubServers, Host, Sync & Client v2.12.1d/2.12.1c/2.12.1a/2.12.1c 2017-08-22 09:02:23 -04:00
ME1312
ebe1ba0c4c SubServers v2.12.1b 2017-08-16 19:29:02 -04:00
ME1312
65002c767d Add broadcastPacket method to clients 2017-08-07 15:51:11 -04:00
ME1312
f6274317d6 Fix template nullpointer 2017-07-25 19:47:38 -04:00
ME1312
c34b097676 SubServers, Host, & Client v2.12c/2.12d/2.12c 2017-07-25 19:23:41 -04:00
ME1312
e766f7fa22 Minor Changes 2017-07-25 15:27:40 -04:00
ME1312
df9797496a SubServers, Host, & Client v2.12b/2.12c/2.12b 2017-07-23 14:21:05 -04:00
ME1312
09c5a8251a SubServers, Host, Client Beta v2.12b;3/2.12c;3/2.12b;3 2017-07-23 00:32:57 -04:00
ME1312
5bddfbed0b SubServers, Host, & Client Beta v2.12b;1/2.12c;1/2.12b;1 2017-07-18 19:28:59 -04:00
ME1312
56605aa3a2 SubServers, Host, & Client v2.12a 2017-06-30 09:36:16 -04:00
ME1312
9b5a2d59e3 SubServers, Host, & Client v2.11.2m/2.11.2c/2.11.2h 2017-05-30 15:38:51 -04:00
ME1312
4529501023 SubServers & Client v2.11.2m/2.11.2h Beta 1 2017-05-29 01:00:02 -04:00
ME1312
418d1a380e Update Javadoc 2017-04-16 13:02:14 -04:00
ME1312
467bb8adf3 SubServers 2 & SubServers.Host v2.11.2k/2.11.2b 2017-04-13 22:39:51 -04:00
ME1312
98187137c4 Make SubData Reconnections Async 2017-04-09 23:39:28 -04:00
ME1312
12f75b9de5 Clean up some log messages 2017-04-03 13:52:28 -04:00
ME1312
78cb8f9d39 Add Commands to SubServers.Host 2017-04-01 16:31:57 -04:00
ME1312
8e0172302e Various fixes to the last build 2017-04-01 12:50:09 -04:00
ME1312
7821c1f88e SubServers.Host Alpha 2
This update to SubServers.Host adds the core functions to the program.
It can now be used to host and create servers on other machines. API
while available is quite limited right now. This is also a very early
build, so it's probably not so stable just yet fyi.
2017-04-01 01:37:48 -04:00
ME1312
af398c48cc SubServers.Host Internal/API Changes
This update changes the internals and API methods for SubServers.Host.
Namely, the arguments for @SubPlugin and the Logger API.
2017-02-07 19:39:18 -05:00
ME1312
8458acb255 Auto-Update SubServers.Client 2017-01-30 22:04:37 -05:00
ME1312
b7a8fbc8b5 Changes to the Plugin Loader 2017-01-30 19:33:30 -05:00
ME1312
7b3e7ae9e8 Start SubServers.Host & SubAPI Null Checks
This marks the beginning of SubServers.Host. As of now it is just a
simple plugin loading API, but it is planned to become a way to host
servers on other machines.

Also, SubAPI now checks to make sure variables aren't null in many
places.
2017-01-30 15:22:36 -05:00