Reloader
Reloader
Hate using the '/reload' command?
Then this is the plugin for YOU! You can reload one plugin or all of them. you can enable or disable plugins one by one. Note: I am currently taking suggestions on features for the plugin
Permissions have changed, please add reloader.* to the permissions configuration to access all permissions post 3.5.0.
There have been many changes to the configuration file, please back up your old one and delete the original to allow it to be updated.
Introducing localization, anyone willing to translate the locale.yml file, to different languages, please submit your translation to me via github or private message on bukkitdev. This feature will also allow you to customize the color scheme of the whole plugin if you feel like it!
Permissions
- reloader.*
- reloader.reload
- reloader.load
- reloader.unload
- reloader.enable
- reloader.disable
- reloader.check
- reloader.info
- reloader.use
- reloader.perm
- reloader.config
- reloader.list
Commands
- /reloader - - help command
- /reloader reload <plugin|all|*> - - reload plugin(s)
- /reloader disable <plugin|all|*> - - disable plugin(s)
- /reloader enable <plugin|all|*> - - enable plugin(s)
- /reloader load <plugin> - - loads the plugin <plugin> from the plugins folder, use plugin name not filename
- /reloader unload <plugin> - - unload <plugin>
- /reloader check <Plugin> - - check whether or not <Plugin> is enabled
- /reloader info <Plugin> - - Gives info on <Plugin>
- /reloader use <Plugin> - - Gives info on how to use <plugin>
- /reloader perm [Player] <Permission> - - Tells you if you or [Player] has <Permission>
- /reloader list - - List plugins in alphabetical order and sorts them by enabled or disabled
- /reloader list -v - - List plugins in alphabetical order and sorts them by enabled or disabled and lists plugin version
- /reloader config [Plugin] - - Reloads [plugin]'s config or Reloader's config if left blank
Extras
- Timed reloads
- Exemption list
- Choose which plugins can be auto reloaded
- Custom messages for reloading all and timed reloads
ToDo list
- Take suggestions from users
WARNING
- We use plugin metrics to keep track of how many servers use our plugin. Please do not disable it because we like to know how many people use our Plugin!
@sandal25
I plan on adding a config reload in the next update. Just thought I'd let you know ;)
Hey jmgr2007!
Thank you for continuing an awesome plugin.
I assume that most people, myself included, other than loading new plugins on a live server, the other primary use is to update the "local" config of an already installed plugin. Reloader accomplishes this wonderfully, except that you have to first 'unload' the plugin then 'load' it again.. as doing 'reload' will overwrite the changes you've made on local config files.
So I wanted to see if you could shorten this 2-step process by having the 'load' command do two things, unloads the targeted plugin then reloads it so that the local configs will be updated with the server. If i simply do 'load' by itself, this also works except that the plugin list will show multiples of the same plugin.
@LeeTheENTP
Try this out?
@jmgr2007
The thing is, I can't find the permission node for CB's /plugins... :P
@LeeTheENTP
When you do /plugins or /pl in the latest version(Beta v3.0.1) it shows the list of /reloader list if you enable it in the config, but I am planning on adding permissions in the next update
Could you please add a permission node for listing the plugins? I'd like to let my users see what plugins we're running so we don't seem so secretive.
@BurkeDonnelly214
1.4.5-R1.0 is the same build as the 1.4.6 until a Reccomended Build come.
Reloader is set to not let Reloader be disabled because there is no way to turn anything back on, but it can be unloaded for when you are updating it.
Questions/Suggestion
Is 1.4.5-R1.0 stable for 1.4.6? When using /reloader disable all, does it disable the Reloader plugin?
Suggestion: Make /reloader disable all not disable reloader, but still able to disable it if needed.
@DanielMuhlig
It actually unloads the file gracefully if the server says so, this is a Java for Windows only bug. You can safely overwrite/remove the plugin by using a Windows program like "Unlocker" or something similar.
@DanielMuhlig
If you are using a file manager program(like the FTP most server owners use to connect to their files on the machine it would overwrite it. maybe see if you could find a different file manager program to use then the default windows file manager?
Hello,
I was expecting to use this plugin to update other plugins while the server is running. I.e.: 1. Unload a plugin 2. Copy a new version to the server 3. Load the plugin
But it seems that java still has a handle on the file. I can't delete/rename/overwrite it (running under windows 7, 64 bit)
Anyone knows if that can be fixed? Is it the (other) plugin that doesn't 'unload' gracefully? If so, what should the other plugin do to unload correctly?
@Luzitano
The 1.4.5 update works with 1.4.6, I will update on the next RB
thanks this is great it works for 1.4.6 :)
Update for 1.4.6 :) please
@jmgr2007
Update Released
Notice: update postponed for maybe 24hours.
@Grichecth
Reloaderv3.0.0 is newer then my current GitHub, The update hasn't been approved yet on BukkitDev.
@jmgr2007
I've noticed your github has been updated, but not here. Are you planning on uploading an updated build?
@DrNefzgowitsch
Will be ready on next update
@DreadThunder
I am going to make it reload set amount of time after the server starts and reload every of said set amount of time.