BetterReload
A plugin which overrides Bukkit's default reload command, switching to something more like Sponge's
- Загрузки
- 3K
- Подписчики
- 8
- Обновлён
- 10 сентября 2024 г.
- Лицензия
- GPL-3.0-only
Опубликован 22 декабря 2023 г.
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
/reloadcommand 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
/BetterReloadin 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/reloadand 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.
Центр версий
5 версийЧенджлог
1.4.0Релиз1.21.9, 1.21.10, 1.21.11 · 10 сентября 2024 г.
This release includes a rewrite of the ReloadManager and the addition of external reloads.
External reloads allow any plugin to be supported by associating plugin names with commands to execute in the config.yml file. You can read more about it here.
Documentation has been updated accordingly.
1.3.2Релиз1.20.6, 1.21, 1.21.1 · 6 августа 2024 г.
This is a hotfix that improves bStats data collection to be more useful. There are no functional changes in this release.
This release also includes the creation of BetterReload documentation available here: https://github.com/amnoah/BetterReload/wiki
1.3.1Релиз1.20.5, 1.20.6, 1.21 · 24 июля 2024 г.
Changes:
- Update Spigot API dependency to 1.21.
1.3.0Релиз1.20.5, 1.20.6, 1.21 · 23 июля 2024 г.
Changes:
- Centralized the reloading system to allow other plugins to issue reloads.
- Added custom error logging if a throwable is thrown during a ReloadEvent.
- Improved plugin tab completion.
- Added /BetterReload as an alias for the command so legacy tab completion can be more easily performed.
- Added more info to bStats metrics.
Комментарии
Загружаем…