Frank van der Heijden
1b4997869d
Add "depending plugin" warning
2021-07-31 00:45:48 +02:00
Frank van der Heijden
ff1bfc2514
Also clean commands and recipes when unloading
2021-07-30 13:36:17 +02:00
Frank van der Heijden
94e4693b5e
Add initial multi plugin management
2021-07-29 15:08:42 +02:00
Frank van der Heijden
df55162d73
Unregister commands before trying to override them (bukkit)
2021-07-25 12:22:42 +02:00
Frank van der Heijden
168b7e23d7
Fix wrong context lookup for bukkit specific commands
2021-07-25 12:14:24 +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
5aeef212dc
Refactor help menu
2021-07-24 17:23:42 +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
f21306021d
Merge pull request #22 from FrankHeijden/feature/velocity
...
Initial Velocity support
2021-07-21 20:29:35 +02:00
Frank van der Heijden
4390dc2c56
Initial Velocity support
2021-07-15 17:55:44 +02:00
Frank van der Heijden
4fe02a84a1
Sync commands after unload
2021-06-27 16:43:42 +02:00
Frank van der Heijden
2ac0ec0a9f
Only support commands.yml for reloading on 1.17
2021-06-22 00:11:53 +02:00
Frank van der Heijden
89e7498ef2
Initial 1.17 update
2021-06-21 22:19:32 +02:00
Frank van der Heijden
09f69bb380
Fix NoSuchFieldException on JavaPluginLoader#classes
2021-05-19 23:45:23 +02:00
Frank van der Heijden
82ee0d5772
Fix 'disabled-commands' unknown plugin startup warning
2021-05-02 12:27:04 +02:00
Frank van der Heijden
b83da96cac
Allow non-PluginCommand's to be unloaded
2021-03-25 16:29:38 +01: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
f3846d7c81
Sync commands after unloading them (via config)
2021-01-29 23:53:14 +01:00
Frank van der Heijden
ab12728063
Fix partial server.properties reloading on MC <= 13
2021-01-29 23:16:17 +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
844e03f70c
Unregister commands in BukkitPluginManager#unregisterCommands
2021-01-02 17:00:49 +01:00
Frank van der Heijden
fd990ce66d
Unregister commands when reloading commands.yml
2021-01-02 17:00:12 +01:00
Frank van der Heijden
02905a84f9
Delete unused method
2020-12-21 16:55:02 +01:00
Frank van der Heijden
398f5ec1bb
Small fix for future versions of minecraft
2020-12-21 16:54:46 +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
bd213b273a
Fix MC <= 1.12.2 error at startup
2020-10-10 01:29:32 +02:00
Frank van der Heijden
99b5aadefe
Download ServerUtilsUpdater on the fly instead of shading it in
2020-10-04 16:16:54 +02:00
Frank van der Heijden
7d6d360908
Improve Bukkit (un)loading once more
...
- Call CraftServer#synCommands after (un)loading plugin
- Force command registrations of ServerUtils
2020-10-01 19:32:53 +02:00
Frank van der Heijden
1723a9564f
Fix help command duplication
2020-10-01 19:29:25 +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
e2a9fb1dc3
Fix 1_16_R2 bukkit config reload error
...
- Refactored VersionParam to include patch version specification
- Added ConstructorParam to cache constructors & get the default constructor.
2020-09-29 13:38:16 +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
62ec9c99ef
Restore bukkit pl-command after unregistering commands
2020-07-23 15:20: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
86e8c3a9e6
Call forEach on values instead of SetMultimap
2020-07-21 23:53:18 +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
719163c579
v2.0.7 - REEE debug
2020-07-20 14:48:47 +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