Commit Graph

40 Commits

Author SHA1 Message Date
ME1312
4d081f6e4f
Don't fire edit events for temporary modifications 2021-06-06 01:28:22 -04:00
ME1312
76e11f0a0d
Keep the console reader alive during shutdown 2021-02-07 03:09:39 -05:00
ME1312
3dea3b67d0
Rework SubServers.Bungee's app lifecycle
SubServers.Bungee now puts code in 2 new places to better load/unload it's data.

When supported, this should give it better compatabilty with ordanary plugins. Also, it no longer has to 'shutdown' to handle /greload. Isn't that neat?
2021-02-06 23:53:03 -05:00
ME1312
4ea69298a3
Optimize imports 2020-11-16 15:34:59 -05:00
ME1312
4cfe1b4285
Standardize RemotePlayer
This is the RemotePlayer API, not the GlobalPlayer API.
2020-11-14 13:12:08 -05:00
ME1312
b68fa0fec1
Remove some implementation redundancies 2020-08-16 14:30:36 -04:00
ME1312
bb0dd55c95
#50 #46 Selecting Multiple Servers
This commit includes the following major changes and additions:
-> New Command & Permission Formatting
-> RemotePlayer API
-> SubData with Blocks
2020-06-12 01:45:49 -04:00
ME1312
bccbfb39c9
Add a grace period on rogue SubServer detection
Async subdata shenanigans made rogue SubServer detection a little inacurrate. Specifically in regards to the last commit.

This is the fix to that
2019-08-30 15:44:54 -04:00
ME1312
81d37b8b1e
Reduce dependance on SubServers.Bungee
SubServers.Host can now seamlessly reconnect to SubServers.Bungee, even if it's been restarted, without restarting uneffected servers.

Also, you can now shutdown SubServers.Bungee without turning off remote servers. Isn't that neat?
2019-08-29 20:01:52 -04:00
ME1312
185b6b84bb
Mirror changes in SubServers.Sync 2019-05-13 22:02:38 -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
3dab84c0eb
Begin rewrite for SubData 2 2019-04-18 10:02:09 -04:00
ME1312
4792e5f8b1
Make Log-Creator a per-host option 2019-01-05 16:04:45 -05:00
ME1312
1845e9d8f9
Remove the archaic Executable type
Since it was virually no different from one, this has been replaced by a String.

Additionally, the interpreter for start scripts can now be changed from cmd.exe to git bash on windows systems by using the `bash` or `sh` commands.
2019-01-04 16:51:58 -05: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
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
56070001a6 Minor changes 2018-03-21 16:45:59 -04: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
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
562072df3f Lang API Rewrite // Add TabCompletes to Sync 2018-01-02 17:29:25 -05:00
ME1312
36ee42a1ab Implement the proposed TabValidator API
This is how SubServers will implement the Validator API that I suggested. I had to make some assumptions though (like how I don't expect BungeeCord's api to have a setTabValidator() method).
2017-12-13 12:29:50 -05:00
ME1312
91ca559e4a Host & Server objects are now signed (prevents desyncs across apps) 2017-12-09 19:30:06 -05:00
ME1312
ce895cdecd Prepare UI Elements for 1.13 // Add SubData Whitelist Wildcards 2017-12-07 12:22:36 -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
e058b3f655 SubServers, Host, & Client Beta v2.12b;2/2.12c;2/2.12b;2
Servers can now be incompatable with each other.
2017-07-21 16:45:41 -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
357ef0c874 Merge recent changes 2017-04-24 12:28:16 -04:00
ME1312
98187137c4 Make SubData Reconnections Async 2017-04-09 23:39:28 -04:00
ME1312
8e0172302e Various fixes to the last build 2017-04-01 12:50:09 -04: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
ME1312
dcd2ad8aa6 SubServers Release v2.11.2h 2017-01-26 17:19:48 -05:00
ME1312
6010edb868 API Additions & Launch Changes 2017-01-07 21:30:03 -05:00
ME1312
bdb11b1ea6 Better Document SubServers.Bungee 2017-01-07 14:06:54 -05:00
ME1312
83415cb873 SubServers 2 Beta 5 2016-12-27 11:03:19 -05:00
ME1312
b50452b93a SubServers 2 Beta 4 2016-12-23 23:55:23 -05:00