Sueta

BungeeReload

1.0

Reload BungeeCord plugins without restarting or even kicking players!

·Plugin

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

Plugin updates
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)

Command
/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:

mv updates/* plugins/ 2>/dev/null

or your start.bat:

MOVE /Y updates\* plugins 2> NUL

Source Code

Similar projects

Plugin →