RePlug
The RePlug plugin-manager was originally created for the 'Tenebrae-Gaming' gaming community.
RePlug will allow you to manually load plugins out of the 'RePlugs' subdirectory in the 'plugins' directory of your plugin.
It will also allow you to unload plugins in that directory completely from memory, or restart (disable, unload, load, enable) them.
Furthermore RePlug allows you to enable, disable and reload all plugins in your server, just like any other plugin-manager.
RePlug also offers the option to automatically load plugins from the 'RePlugs' subdirectory. In this case they will load in the order as they are defined in the config file.
Finally, you can list basic info about plugins and list their commands.
Commands and Permissions
Configuration
In the config.yml, located in /plugins/RePlug, you can define the following things:
- A list of plugin-files to load on startup.
- If used, the plugins will load in the order in which they are defined in the config.yml
- Whether to enable or disable the use of the startup list.
- Customize most of the messages in the plugin
Example Configuration
# RePlug Configuration file # Startup List: # If enabled, all files in these list will be loaded on server startup. # You can enable the startup list by setting the option under Lists > Enable > Startup to true.To disable it again, set it back to false. Lists: Startup: - ExamplePlugin - DerpProject Enable: Startup: true # Definable messages # Messages: loadsucces: 'Succesfully loaded the plugin'
What would happen if RePlug was loaded into your server with this configuration:
- Server starts and load RePlug
- RePlug loads and enables the 'ExamplePlugin.jar' located in /plugins/RePlugs
- As soon as that is done, RePlug loads and enables 'DerpProject.jar', also located in /plugins/RePlugs
DONT's
What definitely doesn't work with RePlug:
- Loading a permissions-plugin with RePlug (AKA, after full server startup)
- It will simply not work. Permissions-plugins must be loaded with the native Bukkit startup. Usually they load the very first of all plugins.
- It will simply not work. Permissions-plugins must be loaded with the native Bukkit startup. Usually they load the very first of all plugins.
Other Information
Source
Source is available at the BitBucket Page
Issues / bugs
Have you found bugs, got any suggestions, etc:
Please report to the Issue Tracker
Wiki
A Wiki will soon be available at the BitBucket Page
Special thanks / credits
- A_Hawkin - For finding and fixing several NPE's during alpha-phase
- rylinaux - Credits to this rylinaux for a method that allows me to unload and remove a plugin from memory.
Inactive for the time being.
I am lacking time and motivation to continue right at this moment. Also having a couple of issues with the code of the next update (I recoded a couple of things) which I can not completely solve, right now.
This is probably not a final end for this plugin, but for now, it's inactive.
Little status update:
- Uploaded v0.5a,
awaiting approval. This build is mainly a fix for a couple of small bugs.- Source has been released on the BitBucket page.
- Full changelog also available on BitBucket.
- (Added donation info)
Edit - 05/12/2014: v0.5a has been approved.
What will I work on in the future:
- listing and properly sorting all currently loaded plugins.
- perhaps a command to dump plugin-permissions to a file (not sure about this yet)
- adding PluginMetrics
- something else I might think of. Are there any suggestions, by the way?