BungeeReload - Reload BungeeCord and it's plugins
BungeeReload gives you the possibility to reload your BungeeCord including it's plugins. BungeeCord doesn't natively offers that possibility for a good reason: it is not really supported by java to reload classes. It is possible, yes, but no one can ensure its functionality all the time. This plugin is mainly designed for developers, who don't want to be kicked every time they change something. As BungeeCord doesn't supports plugin-reload natively, developers have to deal with the players that are already on the server in their onEnable method. (without that, some plugins might not work until the player leaves and joins again)
What is reloaded?
- The config (servers, permissions, etc.)
- The plugins
Like my JarUpdater plugin, this plugin also generates an updates directory. If you update your plugin (for example as a developer), you may place your update there instead of in your plugins directory. (Prevents exceptions on reload because of bad loaded/not found classes)
/breload - To reload your BungeeCord (Permission needed: network.reload)
If you want the updates also to occur on server start, add this lines to your start.sh:
or your start.bat:Code (Text):mv updates/* plugins/ 2>/dev/null
Source CodeCode (Text):MOVE /Y updates\* plugins 2> NUL
Reload BungeeCord plugins without restarting or even kicking players!