PluginReloader
This plugin allows you to load, reload, and unload plugins straight from Minecraft or your console. With PluginReloader you can reload plugins for updating, unload plugins, or load new plugins.
Recommended Build | Support | Contribute | Feeds |
---|---|---|---|
Files | Create Issue | Source | Subscribe |
Information | Donate | Builds |
Features:
- Simple plugin loading, unloading, and reloading.
Information:
Development Builds:
Development builds of this project can be acquired on Bamboo.
These builds have not been approved by the BukkitDev staff. Use them at your own risk.
@lukecfairchild
I'll look into it when I finish moving our development tools to our newer servers. Thanks for using PluginReloader.
@laCourj
When i try to unload a plugin the file is still locked and i cant move it. My server info: Windows Server 2008 Enterprise Edition Service Pack 2 64-bit
@laCourj
How about this a folder inside of /plugins/reloader with a copy of all .jars. These .jars will be inactive until the player does /plugin load (name) then it will move the file to the /plugins folder and reload it. I'm sure that the java will be allowed to move the file no problem...
@jediwirm
What version of Windows are you using? This has been tested many times by many people, and it doesn't hold a file lock for plugins on Windows when you unload the plugin.
@laCourj
This doesnt work, file is still locked for me.
@mrchasez
An update will come soon.
This works, However do you mind updating?
Thanks so much for this! Finally a plugin that can update plugins without restarting or reloading the server!
@xxlostspiritxx
Nice idea, though this could cause some conflicts with plugins that are running. Though I'll check it out and see. Thanks for the feedback.
Is there anyway for you to make this plugin load plugins into another folder so then server owns don't need to /plugin unload (name) ? Like server/plugins/loadedplugins then we can update the .jar in server/plugins and do /plugin reload (name)... That would help allot of people, I would even donate if that was enabled into this..
@Andrew35133
To remove the Windows lock on a plugin, unload it - this runs the system's garbage collector which effectively removes the plugin's file lock. Thanks for using the plugin.
So what would it take to release the lock on the .jar file? Btw amazing plugin
Thanks , great plugin, just started using it but looking good
@Hangar
From what I've noticed it only is having issues with item plugins. I'll get it fixed soon. Thanks for using the plugin.
Oh nice, I was hoping for an update :)
One thing I had with the old version was that not every plugin would let you unload it. Some would throw this error and then just break (or maybe I misunderstand what the error means).
[INFO] Error with EasyEnchant: listeners (check console for more details)
I'm working on a few tiny plugins and I'm wondering is there something I should do or not do in the code to remain compatible with this.
Thanks.
Love this plugin, thank you so very much!
Oh crap, we were making a plugin that did exactly this. Might as well use what's available I guess :T
@WingedSpear
What I was saying is that it won't load if you have the wrong name, so of course it's going to fail. I'll push out more support for file names later so they do not need to be so exact. However, I will test it with that plugin and see what's wrong.
@laCourj
i know, also if u try to do /plugin reload WRONGFILENAME u get a error msg, so its obvius, anyway, the ''load'' its working fine, but ''unload'' and ''reload'' its not working, i unload a plugin and the unloaded plugin its still working so that mean dont work, also i reload the plugin and the change made dont work, its like the plugin its not doing nothing..., the Load work fine like i said, i just load a new plugin and it load fine...
PD: Here its ItemRepair http://dev.bukkit.org/server-mods/itemrepair/ , its in the first page of the dev search filter.
@WingedSpear
I'm not finding any plugin by the name "ItemRepair". One thing that you can check however is that the JAR file for the plugin you're trying to reload is only the name of the plugin. If you were trying to do '/plugin reload ItemRepair', the JAR for the ItemRepair plugin should be named either "itemrepair.jar" or "ItemRepair.jar". The file name for the plugin you're trying to reload should not have any version numbers in it.