BetterReload

Plugin

A plugin which overrides Bukkit's default reload command, switching to something more like Sponge's

Server LibraryManagementOptimizationUtility

378 downloads
4 followers
Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

BetterReload

Let's be honest, Bukkit's reload command is based on a flawed idea which often ends up causing more problems than benefits. It's to the point where forks like Spigot and Paper have added messages warning users against the use of the command, telling them to rather restart the server. So, what if the reload command was replaced entirely by a better system?

Inspired by the SpongePowered project, BetterReload swaps Bukkit's attempt at literally reloading all plugins to an event that is passed along to plugins instead. Upon issuing the /reload command with BetterReload installed, plugins that depend on BetterReload can receive an event that leaves the reloading process up to the plugins.

As of update 1.4.0, the plugin also includes a configurable system allowing any plugin to be supported via the external section of the config.yml file. Please read more about this here. Ideally plugins should support the event, but this ensures universal support.

Features

  • Overloads the /reload command and accessible through /BetterReload.
  • Sends a reload event to all plugins if no argument is passed into the command.
  • Sends a reload event to specific plugins if arguments are passed into the command.
  • Custom error logging that will keep console nice and log as much information as possible.
  • Smart tab completion (only on /BetterReload in legacy versions, on both commands in modern).
  • Bukkit's reload command is still accessible through /bukkit:reload.
  • Ability to add other plugin reload commands to the reload process.

Limitations

  • BlockCommandSenders (typically command blocks) cannot use the /reload and must rather use /BetterReload.

Documentation

For information on how to use BetterReload's commands, please check the Command wiki.

For information on how to configure BetterReload, please check the Config wiki.

For information on how to support the ReloadEvent, please check the ReloadEvent Support wiki.

For information on how to support the ReloadManager, please check the ReloadManager Support wiki.

For a list of known supported plugins, please check the Supported Plugins wiki.

Support

For general support, please join my Discord server.

For issues with the project, please open an issue in the issues tab.


Project members

amnoah

Owner

Details

Licensed GPL-3.0-only
Published 9 months ago
Updated a month ago