Frank van der Heijden
a6ee92473d
explicit ServerUtils name
2021-11-25 23:50:33 +01:00
Frank van der Heijden
75c2fda749
Kotlinify + publish to repo.fvdh.dev
2021-10-05 16:44:22 +02:00
Frank van der Heijden
15e3ba306c
Fix the common module being relocated due to adventure
...
Making a single distributable jar with adventure is fun
2021-10-05 12:46:45 +02:00
Frank van der Heijden
44fb0e00b3
Factor out common versions in build files
2021-08-04 20:35:58 +02:00
Frank van der Heijden
870e2bcae5
Inline PluginManager#loadPlugins() call to catch load errors (bungee)
2021-08-04 18:14:01 +02:00
Frank van der Heijden
d2928b4a04
Refactor ServerUtilsConfig#set to delete existing objects at path
2021-08-04 16:25:30 +02:00
Frank van der Heijden
5200840296
Fix minimessage relocation
2021-08-04 02:32:51 +02:00
Frank van der Heijden
0478583c12
Fix -v flag on plugins command
2021-08-03 20:25:53 +02:00
Frank van der Heijden
dd99bad81c
Bungee can't differentiate between loaded and enabled
2021-08-03 20:07:50 +02:00
Frank van der Heijden
0f9c6f4041
Relocate common module for each platform
...
This is needed because velocity has adventure shaded. Velocity's common module does not need to shade adventure, while BungeeCord and Bukkit do have to shade the dependency in.
2021-08-03 18:28:37 +02:00
Frank van der Heijden
12b3aa5720
Avoid component newlines, instead send message per line
2021-08-03 16:41:09 +02:00
Frank van der Heijden
083012abfe
Add MiniMessage
2021-08-03 02:07:39 +02:00
Frank van der Heijden
1b4997869d
Add "depending plugin" warning
2021-07-31 00:45:48 +02:00
Frank van der Heijden
94664286e5
Fix BungeeCord multi plugin management
2021-07-30 14:19:23 +02:00
Frank van der Heijden
94e4693b5e
Add initial multi plugin management
2021-07-29 15:08:42 +02:00
Frank van der Heijden
cb78112cb3
Add Velocity Updater support
2021-07-25 00:08:56 +02:00
Frank van der Heijden
25fdec31b1
Add config migration feature
2021-07-24 18:21:30 +02:00
Frank van der Heijden
d96398f4a9
Implement velocity listeners / events
2021-07-24 14:31:45 +02:00
Frank van der Heijden
779f4785e0
Slow down on generic usage
2021-07-24 14:31:08 +02:00
Frank van der Heijden
6545d7ffac
Add initial cloud commands + refactors to common
2021-07-24 02:02:55 +02:00
Frank van der Heijden
02bee8c839
Yay code duplication for this PR, next PR implements cloud smh
2021-07-21 03:11:14 +02:00
Frank van der Heijden
4390dc2c56
Initial Velocity support
2021-07-15 17:55:44 +02:00
Frank van der Heijden
9871af44f2
Add support for latest BungeeCord/Waterfall, fixes #14
2021-05-02 11:56:45 +02:00
Phil Gibson
b51ff445dd
Fix watched plugins reloading without ensuring the file has fully uploaded first ( #8 )
...
* build: add Apache codec library
Utilise the Apache commons codec library, which has file hashing and checking functions. This will be useful for a fix on hotreloading plugins.
* feat: run tasks later on taskmanagers
Add the ability to run tasks at a later date on task managers.
This is expressed in ticks for bungeecord and bukkit, and is converted to milliseconds for bungeecord.
* feat: add method to get hash of file
Add a method to get the MD5 hash of a file.
* fix: watching plugins waits until the plugin has finished uploading
If a watched plugin is changed, it will no longer immediately reload the plugin. Instead, it will check every 10 ticks (500 milliseconds for BungeeCord) to see if the file MD5 checksum has changed.
If it hasn't, then we can presume the file upload has completed and reload the plugin.
* build: bump version to 2.5.1
* build: relocate apache codec
Relocate the Apache Codec to avoid dependency clashes
* perf: remove unnecessary task call
2021-02-03 20:36:31 +01:00
Frank van der Heijden
c787bcfe3c
Implement PluginEvent API
2021-01-30 16:40:43 +01:00
Frank van der Heijden
b46f6fbb1f
Refactor UpdaterCheckerTask
...
Update checking/downloading/installing can now be configured precisely and more intuitive in the config.
2021-01-30 14:41:37 +01:00
Frank van der Heijden
6ebe0073ea
Make PluginManagers independent from the main class
2021-01-16 15:34:58 +01:00
Frank van der Heijden
150a9ac86b
Fix BungeeCord's PluginClassLoader constructor reflection
2021-01-08 09:43:28 +01:00
Frank van der Heijden
8a855d6935
Refactor reflections and use MinecraftReflection
2020-12-21 00:11:31 +01:00
Frank van der Heijden
466e2659e8
Update dependencies
...
- Updated checkstyle
- Fixed new checkstyle issues
- Added staged feature: reloading server.properties partially
2020-12-19 15:19:23 +01:00
Frank van der Heijden
4a374c5f43
Feature: unload bukkit commands per config.yml
2020-10-12 17:37:07 +02:00
Frank van der Heijden
2c1c92fef6
Fix auto-updater failing
...
- Implemented a new self-reload system, which will boot up a separate plugin to load ServerUtils back up again.
2020-09-29 19:09:40 +02:00
Frank van der Heijden
f268b098a3
Add shorthand subcommand aliases
2020-07-31 01:56:17 +02:00
Frank van der Heijden
b47db98420
Close async tasks properly when shutting down
2020-07-27 01:02:50 +02:00
Frank van der Heijden
f604eaeb4d
Set permission for unwatching plugin the same as 'su watchplugin'
2020-07-22 00:11:51 +02:00
Frank van der Heijden
095cad4ed0
Unregister commands when disabling
2020-07-22 00:05:38 +02:00
Frank van der Heijden
07719cc1cc
Feature - plugin watcher, detect file changes & reload
2020-07-20 20:19:07 +02:00
Frank van der Heijden
d6b75e5c02
Close plugin class as well (BungeeCord)
2020-07-20 14:39:14 +02:00
Frank van der Heijden
a0bdaeb2fc
Bring back customisable messages for reloading ServerUtils using wacky methods
2020-07-20 14:14:23 +02:00
Frank van der Heijden
6c8a93dc1b
Update on sync thread where possible
2020-07-20 02:06:28 +02:00
Frank van der Heijden
71b6a5fa02
v2.0.5 - Fix for reloading ourselves
2020-07-20 00:37:16 +02:00
Frank van der Heijden
4b6008299b
Close plugins internally when reloading them instead of externally
2020-07-19 21:55:00 +02:00
Frank van der Heijden
0ed2b567c8
Add missing command completions for BungeeCord
2020-07-09 13:39:01 +02:00
Frank van der Heijden
e5038fce31
Cleanup reflection parameters
2020-07-06 12:05:18 +02:00
Frank van der Heijden
584ce8be4d
v2.0.2 - Improve reloading and cleaning up of BungeeCord plugins.
...
- Cleanup PluginClassLoader properly
- Cancel plugin tasks properly
- Fixed automatic updater on bungee
2020-07-05 21:59:26 +02:00
Frank van der Heijden
f728c3e6bb
v2.0.1 - Hex color support
2020-07-05 20:16:45 +02:00
Frank van der Heijden
af4c7ba214
Comply with checkstyle again
2020-07-05 16:59:07 +02:00
Frank van der Heijden
e67b20dee0
More abstractions
...
- Abstracted UpdateCheckerTask
- Merged PluginProvider into the PluginManagers
2020-07-05 16:07:36 +02:00
Frank van der Heijden
23e8e80191
Initial BungeeCord edition
2020-07-04 21:30:34 +02:00