Added protected-plugins to the config, which allows you to specify plugins which cannot be disabled, unloaded, or reloaded through ServerUtils' command system. Using the API they may still be disabled/unloaded/reloaded.
Fix disabled plugins not showing up with their respective format in the plugins command.
Subcommand aliases should now be highlighted again
Warning!ServerUtils no longer ships a universal jar. The jar published on spigot will only work on Spigot/Paper servers. The BungeeCord / Velocity platforms can be downloaded from https://serverutils.fvdh.dev/. Automatic upgrading from 3.1.x to 3.2.0 using ServerUtilsUpdater is unfortunately not possible for the BungeeCord / Velocity platforms, future versions will work as expected again. New:
Added ability to load plugins with whitespaces in their filenames. They may now be escaped by wrapping them in double quotes ("ex ample.jar").
Added support for latest Velocity 3.0.x
ServerUtils no longer ships a universal jar. The universal jar causes issues with shading in the adventure library for velocity, since it already contains the velocity library in contrast to spigot / bungee.
Added support for multiple plugin un/re-loading at the same time
Added a warning when you try to unload a plugin which plugins have listed in their dependencies (you may force override it if you want using the --force/-f flag)
Moved from ACF to the cloud command framework
Commands are now fully configurable! You can change the base commands, subcommands & flags
Messages are now using the Adventure API and MiniMessage
Messages can now be better translated to your own language
Fixed an issue where watchplugin would not reload plugins in case they were immediately written to the disk
Removed a commons dependency, reducing the file size of ServerUtils
unregistered-commands will now lookup commands from the commandmap directly in case the plugin isn't specified, allowing reloads of commands exactly as they are typed in the chat.
Fixed an empty locale for serverutils.plugins.prefix causing 'null' to be displayed when left empty.
Fixed an issue where ServerUtils tried to reload a watched plugin while it is being uploaded, causing many reloads of the specified plugin (Thanks @PhilTheSkid !)
You can now check for various plugin load/enable/disable/unload events using the events API (both bungee / spigot implementations).
Refactored UpdateCheckerTask, it is now possible to precisely configure what ServerUtils should do when checking for updates. Please note: this will override any previously configured settings for ServerUtils -- automatic downloads/installs are off by default after updating to this version.
Update Checks are now only done each 30 minutes to prevent GitHub rate limits.
Refactored the /help command internally, which will fix the duplicated subcommands issue.
Improved Spigot/Paper plugin (un)loading by syncing their commands with the brigadier implementation. This fixes an issue with commandcompletions not being visible.
ServerUtils will now be updated in a runnable when updating. This will resolve further issues with the updater. Please note: this will only affect the next automatic updates. Please update manually (this should be the last........).
Bukkit's /pl command is now restored when ServerUtils is unloaded
Asynchronous tasks are now properly closed when unloading ServerUtils
Fixed an error on 1.16.2+ which occurred when reloading the bukkit.yml config
Fixed auto-updater. When ServerUtils fetches a new update, it will spawn a new helper plugin called "ServerUtilsUpdater", which will help ServerUtils when updating. This plugin is automatically unloaded when the update finished.
New:
Added shorthand notations, e.g. /su reloadplugin -> /su rp
Please update this version manually, as the plugin updater from ServerUtils 2.1.0 and below is unreliable.
Added the plugin-watcher feature! Watch plugin jar files, and automatically reload the plugin when the file changed! /su watchplugin is the command with serverutils.watchplugin. Stop watching a plugin at any time with /su unwatchplugin.
Fixed an error on 1.8 with the help command
Possible fix related to ACF not 'unregistering' properly, will need to check this out with the next development round.
ServerUtils will now behave better when reloading itself after automatically upgrading from github, at the cost of not being able to configure the message you get when reloading ServerUtils itself. It will now either print "Successfully reloaded ServerUtils." or "Something went wrong reloading ServerUtils.".
Please note that the automatic updater over this update will be broken, please install this version manually!
Fixed an issue regarding non existing methods on the 'bukkit' config when reloading them on 1.16 servers.
When ServerUtils is configured to automatically update, it will now write the jar files with the format ServerUtils-<version>.jar, and delete the old file automatically.
You may now use hex in the following format in the messages: <#FFFFFF>
Previous 2.0.0 Update:
The jar will now work on both Spigot/Paper and BungeeCord/Waterfall servers!
BungeeCord commands:
/bpl- Displays a list of plugins from BungeeCord!
-v- Displays the plugins with their versions
-m- Displays plugins + modules from the modules/ folder (e.g. cmd_send.jar, cmd_server.jar, etc.)
/bsu- The main command for loading / unloading / reloading plugins and showing commandinfo or plugininfo on a BungeeCord instance.
API Changes:
The structure of the project has completely been revamped, with abstractions made in place to easily extent this project to other projects as well in the future, e.g. a planned project for the future is providing support for Velocity as well.
The jar will now work on both Spigot/Paper and BungeeCord/Waterfall servers!
BungeeCord commands:
/bpl - Displays a list of plugins from BungeeCord!
-v - Displays the plugins with their versions
-m - Displays plugins + modules from the modules/ folder (e.g. cmd_send.jar, cmd_server.jar, etc.)
/bsu - The main command for loading / unloading / reloading plugins and showing commandinfo or plugininfo on a BungeeCord instance.
API Changes:
The structure of the project has completely been revamped, with abstractions made in place to easily extent this project to other projects as well in the future, e.g. a planned project for the future is providing support for Velocity as well.
ServerUtils will now also cleanup recipes from plugins it (re/un)loads! This only works 1.12+, as below those versions a plugin is not associated with a recipe, so there's no way ServerUtils can know a recipe belongs to a plugin.
If you tried to unload the same plugin you unloaded earlier, ServerUtils would say that it has successfully unloaded the plugin (while it was already unloaded). This has been fixed
Added a config.yml which lets you disable the /pl and /plugins hijacking. You can reload the config with /su reload, and ServerUtils will re-add the bukkit command.