Commit Graph

47 Commits

Author SHA1 Message Date
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
ce84fd2216 Finalize Pre-Release 2 2018-04-07 20:38:57 -04:00
ME1312
265ac4b253 Host/Client now send Metrics data
https://bstats.org/plugin/bungeecord/SubServers%202
https://bstats.org/plugin/other/SubServers%20Host
https://bstats.org/plugin/bungeecord/SubServers%20Sync
https://bstats.org/plugin/bukkit/SubServers%20Client
2018-03-27 00:31:38 -04:00
ME1312
56070001a6 Minor changes 2018-03-21 16:45:59 -04:00
ME1312
ce51a991a0 Add more VersionTypes 2018-03-16 18:25:02 -04:00
ME1312
eb9bf034b4 Add a way to parse (non-extended) layered versions 2018-03-15 22:45:54 -04:00
ME1312
bb7cfa9e57 Fix /sub delete permission error on windows 2018-03-14 03:01:44 -04:00
ME1312
bddbb692cd Make the version system layered
The versioning system just got more complex (on the backend of course)
2018-03-13 23:38:26 -04:00
ME1312
56f8d3dfba Remove package.xml requirement for SubServers.Host 2018-02-19 17:59:51 -05:00
ME1312
92c649eabe Make Name field optional for SubServers.Client
SubServers.Bungee can now link servers to subdata clients via connection address and port number.

Since this still has the chance to fail, the `Name` field will appear if no servers were found this way, and will be used the same as before. SubCreator made servers will still have the `Name` value present and filled out for assurance.
2018-01-29 01:04:36 -05:00
ME1312
cc1f86c4d1 Update Dependancies 2018-01-21 21:49:18 -05: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
b3a40311a1 Simplify YAMLSection methods 2017-12-21 18:37:39 -05:00
ME1312
6bb7b1ef17 Allow YAMLSection to be converted to Map<String, ?> 2017-12-21 11:02:47 -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
0bf5f16e09 /sub reload can now perform soft reloads
/sub reload - can now perform soft reloads
/greload - still performs hard resets

Soft Reloads mean that SubServers will load new data from the config and attempt to merge it with what is already in memory.

This is good if you need to make some quick changes, since it will only stop servers if a major change has been made to them.

However, this has the potential to cause issues, which is why the Hard Reset will continue to be tied to bungeecord command.
2017-12-09 03:43:29 -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
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
837331a542 SubServers, Host & Client v2.12.1c/2.12.1b/2.12.1b 2017-08-18 05:58:06 -04:00
ME1312
ebe1ba0c4c SubServers v2.12.1b 2017-08-16 19:29:02 -04:00
ME1312
ac1df7a30a SubServers, Host, & Client v2.12.1a 2017-08-15 05:58:48 -04:00
ME1312
3ac1c8dec3 Swap EventPriority for EventOrder
EventPriority is a fixed enum, where EventOrder is a short value (with predefined settings for ease of use) allowing for more fine tuning on when your events should be run
2017-08-09 02:25:56 -04:00
ME1312
65002c767d Add broadcastPacket method to clients 2017-08-07 15:51:11 -04:00
ME1312
e766f7fa22 Minor Changes 2017-07-25 15:27:40 -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
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
3dcbd8252e SubServers.Host API Additions 2017-02-05 17:03:17 -05:00
ME1312
b7a8fbc8b5 Changes to the Plugin Loader 2017-01-30 19:33:30 -05:00
ME1312
df837bf1cb Remove YAML from JavaDoc 2017-01-30 15:37:21 -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