Commit Graph

100 Commits

Author SHA1 Message Date
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
b88facf7f3
#33 Use non-player check instead of console-only one 2019-01-15 14:53:44 -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
651c61312e
Make JNA dependency optional 2019-01-09 16:41:37 -05:00
ME1312
0d46c5b604
Add a restart command 2019-01-07 16:09:20 -05:00
ME1312
94a95de495
Name SubServers threads
This change does not apply to SubServers.Client because those apps use the platform's native scheduler instead of threads
2019-01-06 01:58:13 -05:00
ME1312
4792e5f8b1
Make Log-Creator a per-host option 2019-01-05 16:04:45 -05:00
ME1312
4d1d266807
Attempt to free up ram usage after every ~4000 log lines 2019-01-03 00:48:15 -05:00
ME1312
82dcc68023
Fix an IllegalStateException related to restricted servers 2018-12-02 12:58:56 -05:00
ME1312
d877e80b9f
Correct default access rules for restricted servers 2018-11-21 16:52:03 -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
b2bbff0692
Add autocompletes to Galaxi commands
Commands here use cached data, in a simalar fasion to SubServers.Sync.
2018-10-25 16:47:44 -04:00
ME1312
6925a7bccb
Fix version inconsistency 2018-10-22 20:06:39 -04:00
ME1312
648adeb1c2
Update GalaxiEngine 2018-10-21 00:18:40 -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
52c6da2517
Choose fallback based on confidence score
The fallback server chosen when a server goes down is now chosen based on SubServers' confidence that the server can recieve the player in question.

If there is a tie, the first server to achieve a high score is chosen. Servers meeting these requirements will get the highest score currently possible:
-> Fallback servers should not be white-listed (`Restricted: false`)
-> Fallback servers should be visible (`Hidden: false`)
-> Fallback subservers should be running
-> SubServers trusts that fallback servers connected to SubData are online
2018-10-14 03:26: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
3911b6e867
Add UPnP Forwarding Option 2018-10-07 19:25:08 -04:00
ME1312
e5ba821754
Re-Add fallback functionality 2018-10-03 19:18:16 -04:00
ME1312
82849ef3c7
Add compatability for another revision of the WaterfallConsole 2018-09-16 15:43:27 -04:00
ME1312
a687a2d1cb
Seperate SubServers.Host from the GalaxiEngine (Step 2) 2018-09-08 18:06:21 -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
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
ed1b45fccb
Make UI elements consistant 2018-08-06 22:39:29 -04:00
ME1312
e74178e21c
Slight configuration change 2018-08-06 02:08:55 -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
b8ee251011
Add options to sync commonly altered BungeeCord values 2018-08-04 23:29:52 -04:00
ME1312
65b29e666d
Move Bungee Chat API methods to seperate class 2018-08-03 23:22:53 -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