Commit Graph

201 Commits

Author SHA1 Message Date
ME1312
30dd28547f
Add a post-start event 2019-06-25 17:13:27 -04:00
ME1312
3af2087f19
Add a post-connect subdata event 2019-06-17 20:20:46 -04:00
ME1312
be8f87d17c
Add the Update command
And several related UI changes to SubServers.Client
2019-06-16 23:13:48 -04:00
ME1312
071e0bceab
Update SubData 2019-05-27 15:33:52 -04:00
ME1312
b808a62fcb
Add support for GalaxiBungee 2019-05-16 18:36:41 -04:00
ME1312
185b6b84bb
Mirror changes in SubServers.Sync 2019-05-13 22:02:38 -04:00
ME1312
61ee89cfe3
Mirror changes in SubServers.Host 2019-05-12 23:28:27 -04:00
ME1312
9ef878ba12
Mirror changes in SubServers.Client.Sponge 2019-05-11 21:22:18 -04:00
ME1312
7059b5cad7
General Fixes & Module Updates 2019-05-11 17:23:31 -04:00
ME1312
2a939117ac
Fixes for Multi-Channel SubData 2019-05-10 00:04:10 -04:00
ME1312
504dc7bac4
Implement Multi-Channel SubData 2019-05-09 22:43:34 -04:00
ME1312
1952e7b940
Implement several new packet types 2019-05-09 16:17:15 -04:00
ME1312
776183510e
Config Updater & Smart Fallback Update 2019-04-29 11:05:06 -04:00
ME1312
472c83f975
Add proper 1.14 support 2019-04-26 14:03:00 -04:00
ME1312
3dab84c0eb
Begin rewrite for SubData 2 2019-04-18 10:02:09 -04:00
ME1312
463861744c
Stop Ingame-Access from disallowing console access 2019-04-01 22:13:43 -04:00
ME1312
6131790245
Add an option to space out auto-starting servers 2019-01-29 22:05:59 -05:00
ME1312
024dde444c
Update client auto-linking 2019-01-26 21:04:53 -05:00
ME1312
7158e0a3da
Fix SubData's log stream 2019-01-22 12:48:47 -05:00
ME1312
361acf7b17
Add a dedicated restart packet
I don't reccommend using this packet over the start & stop combination because of the lack of feedback you get in comparision.

However, if the server sending the packet is requesting to restart itself then this is your only option, so that's why it's here.
2019-01-20 17:49:12 -05:00
ME1312
fcde0bc845
Add Version support to YAMLConfig 2019-01-17 12:44:47 -05:00
ME1312
75a872252f
#35 Add command line variables to SubServers
Also, a fix for #34
2019-01-17 10:39:15 -05:00
ME1312
118ac28e4c
Don't follow symlinks for directory copies 2019-01-14 18:47:43 -05:00
ME1312
622ef32b4e
#32 Update the utility class 2019-01-14 18:28:18 -05:00
ME1312
9b01aebd87
#31 Add environment variables to SubCreator scripts 2019-01-13 19:52:44 -05:00
ME1312
6218b873ca
Expand on the API for restricted servers 2019-01-10 15:52:38 -05:00
ME1312
0d46c5b604
Add a restart command 2019-01-07 16:09:20 -05:00
ME1312
3635fea2f5
Update SubServers.Console 2019-01-06 15:58:15 -05:00
ME1312
4792e5f8b1
Make Log-Creator a per-host option 2019-01-05 16:04:45 -05:00
ME1312
52ebd6b903
Reverse EventPriority for user input 2018-11-22 10:36:10 -05:00
ME1312
4ca476c1fa
Correct LinkServer packets & server autodetection 2018-11-19 12:27:06 -05:00
ME1312
32cd201697
Allow null to be passed to YAMLValue 2018-11-17 12:39:37 -05:00
ME1312
114f4f2209
Add support for unicode escapes outside of the char limit 2018-10-30 15:12:53 -04:00
ME1312
f4a78fc7b0
Update SubServers.Console 2018-10-24 01:37:55 -04:00
ME1312
3b9b4ac566
Fix for saving unicode characters in YAML 2018-10-18 15:38:00 -04:00
ME1312
a9f5c387cc
Fix consistency issues in /sub version
The version command looks a little different in SubServers.Host. Let's fix that.
2018-10-17 23:17:23 -04:00
ME1312
ba2a69a568
Make the port argument optional
Not sure what port to use? Now SubServers can decide on a port number on it's own.
2018-10-08 17:07:44 -04:00
ME1312
bc5acab41d
Replace Auto-Restart and Temporary Flags with Stop Actions
Stop Actions will is the replacement for both the Auto Restart and Temporary flags. To define that the server should restart on stop, use the RESTART keyword. To get the same result that you would get using the temporary flag, use the REMOVE_SERVER keyword.

Additionally, there is now a DELETE_SERVER keyword. This keyword does the same thing as the REMOVE_SERVER keyword, except it deletes the directory on the server ran from.

If you would like nothing special to happen when the server stops, use the NONE keyword.
2018-08-29 21:55:59 -04:00
ME1312
a781370fbb
Allow raw binary to be sent over SubData
This allows files to be transfered faster over the new system.
2018-08-23 23:35:22 -04:00
ME1312
7cd9c9bc4c
Switch SubData Packets from JSON to MessagePack encoding
This is a change to how packets are transferred; the API has not been changed.

While the difference may be unnoticable when using unencrypted packets, because of MessagePack's compact size and better handling of byte values encrypted packets should transfer faster.
2018-08-23 22:32:49 -04:00
ME1312
811cc891a0
Make the Client UI API naming scheme a little less confusing 2018-08-12 17:23:21 -04:00
ME1312
cb7b3964f2
Send off reload packet only when api.ready 2018-08-10 15:58:17 -04:00
ME1312
215097976c
Rewrite the info command
The info command can now display information about proxies, hosts and servers (not just SubServers)
2018-08-10 00:50:10 -04:00
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
86fbb2c2b6
Update error messages 2018-08-07 17:54:57 -04:00
ME1312
ed1b45fccb
Make UI elements consistant 2018-08-06 22:39:29 -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
65b29e666d
Move Bungee Chat API methods to seperate class 2018-08-03 23:22:53 -04:00
ME1312
7f94e2115e
Use old Gson location if needed 2018-08-03 20:43:02 -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
98ac26750f
Fix changes from the last commit 2018-07-28 23:02:47 -04:00
ME1312
319618fe71
Create a more straightforward way for interacting with unstable methods 2018-07-28 22:09:47 -04:00
ME1312
ae1a9b990d
Finalize v2.13a 2018-07-28 13:01:28 -04:00
ME1312
47a9ae4ced
Fix the update notification 2018-07-27 15:36:51 -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
716875f999
Fix version detection for older BungeeCord builds 2018-07-22 01:35:04 -04:00
ME1312
08a7d6d176
Misc changes 2018-07-19 15:34:58 -04:00
ME1312
6eb82f27bc
Update SubServers.Client Auto-Updater
SubServers.Bungee & SubServers.Host now use the more standardised build signature system when deciding on if it should update SubServers.Client. This means it can also differentiate two snapshot builds of the same version from eachother.
2018-07-17 03:10:17 -04:00
ME1312
0ade35f544
Allow old Material names using bukkit:name
Spigot 1.13 has a compatabilty layer for old bukkit names, this will allow you to take advantage of that.

1.12: `bukkit:grass` -> `minecraft:grass`
1.13: `bukkit:grass` -> `minecraft:grass_block`
1.13: `grass` -> `minecraft:grass`
2018-07-15 14:07:22 -04:00
ME1312
8f6d3e5527
Quick fixes 2018-07-15 02:07:15 -04:00
ME1312
c1a35ff266
Finalize Pre-Release 4 2018-07-15 01:23:11 -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
15713d58b4
Use the VanillaCord repo for vanilla builds 2018-06-19 21:24:16 -04:00
ME1312
2cabdf85ab
Print the fuller version list for debugging in /sub version 2018-06-09 12:19:25 -04:00
ME1312
9f2618778f
Sign all builds with a Snapshot ID
All builds of commonly updated SubServers apps are now auto-signed with a unique Snapshot ID simalar to the ones Mojang uses. This will replace the beta version number for unreleased builds.
2018-06-02 15:02:03 -04:00
ME1312
705660980c
Finalize Pre-Release 3 2018-05-24 16:24:58 -04:00
ME1312
82b5cd6aae
Keep BungeeCord versioning intact when patched 2018-05-24 14:52:47 -04:00
ME1312
c35a31f803
Add direct support for newer waterfall versions 2018-05-24 01:05:54 -04:00
ME1312
5f69459e62
Add more ways to detect minecraft version 2018-05-23 22:27:20 -04:00
ME1312
1ff9a5cf41
Add placeholders/warnings for when minecraft versions cannot be detected 2018-05-23 00:26:03 -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
6c29bc4885 Update vanilla patch tool for Java 9 and above 2018-04-09 23:19:59 -04:00
ME1312
ce84fd2216 Finalize Pre-Release 2 2018-04-07 20:38:57 -04:00
ME1312
69bb3d299a Fix cache bug when spaces are in the file path 2018-04-07 16:42:09 -04:00
ME1312
f4011f419c SubCreator now caches finished jars 2018-04-07 15:04:55 -04:00
ME1312
a5847b9219 Use updated patch locations
The last three commits were changes to the way Vanilla-Patch.jar is downloaded. For compatability reasons, the old system will remain in place for now.
2018-04-07 00:59:22 -04:00
ME1312
573184ff91 Add bungee.yml for installation instruction 2018-04-06 20:10:25 -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
12a74b3474 Rewrite what compares layered versions 2018-03-14 17:50:15 -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
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
c9afe48674 Correct config loading issue
This solves a 'file in use' error on windows
2017-12-14 19:50:39 -05:00
ME1312
ada14c0889 Add reload packet for ExHosts and Servers using Client 2017-12-13 19:04:58 -05:00