PlugMan
What is PlugMan?
PlugMan is a simple, easy to use plugin that lets server admins manage plugins from either in-game or console without the need to restart the server.
Features
- Enable, disable, restart, load, reload, and unload plugins from in-game or console.
- List plugins alphabetically, with version if specified.
- Get useful information on plugins such as commands, version, author(s), etc.
- Easily manage plugins without having to constantly restart your server.
- List commands a plugin has registered.
- Find which plugin a command is registered to.
- Tab completion for command names and plugin names.
- Dump plugin list with versions to a file.
- Check if a plugin is up-to-date with dev.bukkit.org
- Permissions Support - All commands default to OP.
Commands
Command | Description |
---|---|
/plugman help | Show help information. |
/plugman list [-v] | List plugins in alphabetical order. Use "-v" to include versions. |
/plugman info [plugin] | Displays information about a plugin. |
/plugman dump | Dumps plugin list and versions to a file. |
/plugman usage [plugin] | List commands that a plugin has registered. |
/plugman lookup [command] | Find which plugin a command is registered to. |
/plugman enable [plugin| all] |
Enable a plugin. |
/plugman disable [plugin| all] |
Disable a plugin. |
/plugman restart [plugin| all] |
Restart (disable/enable) a plugin. |
/plugman load [plugin] | Load a plugin. |
/plugman reload [plugin| all] |
Reload (unload/load) a plugin. |
/plugman unload [plugin] | Unload a plugin. |
/plugman check [plugin| all] [-f] |
Check if a plugin is up-to-date. |
Permissions
Permission Node | Default | Description |
---|---|---|
plugman.admin | OP | Allow use of all PlugMan commands. |
plugman.update | OP | Allow user to see update messages. |
plugman.help | OP | Allow use of the help command. |
plugman.list | OP | Allow use of the list command. |
plugman.info | OP | Allow use of the info command. |
plugman.dump | OP | Allow use of the dump command. |
plugman.usage | OP | Allow use of the usage command. |
plugman.lookup | OP | Allow use of the lookup command. |
plugman.enable | OP | Allow use of the enable command. |
plugman.enable.all | OP | Allow use of the enable all command. |
plugman.disable | OP | Allow use of the disable command. |
plugman.disable.all | OP | Allow use of the disable all command. |
plugman.restart | OP | Allow use of the restart command. |
plugman.restart.all | OP | Allow use of the restart all command. |
plugman.load | OP | Allow use of the load command. |
plugman.reload | OP | Allow use of the reload command. |
plugman.reload.all | OP | Allow use of the reload all command. |
plugman.unload | OP | Allow use of the unload command. |
plugman.check | OP | Allow use of the check command. |
plugman.check.all | OP | Allow use of the check all comamnd. |
Configuration
File | URL |
---|---|
config.yml | https://github.com/r-clancy/PlugMan/blob/master/src/main/resources/config.yml |
Source
PlugMan is open source and hosted on GitHub; feel free to fork, star, or contribute to PlugMan by making pull requests and opening issues.
Sponsors
To view those who enable this project to be developed, please refer to the GitHub page.
Tutorial
Samkio has made a tutorial showing the basic usage of the plugin.
User Content
- Logo: HariboPenguin
- Tutorials
- English (Samkio): http://www.youtube.com/watch?v=E_vQSEfYckA
- Spanish (cloud_strife_91spain): https://www.youtube.com/watch?v=euJH1XGunAk&feature=youtu.be
- German (ThePhantom123): https://www.youtube.com/watch?v=SYJfpGJQlvM&feature=youtu.be
- Portuguese (AbsintoJ): https://www.youtube.com/watch?v=VfoB6HlVeYQ
Notes
- PlugMan requires (at least) Java 7 to run.
- If you have an error, please use a paste service (such as http://hastebin.com/) instead of the comment box.
@rylinaux
nice, thanks for answering! This info would be nice under the "Recent files"-Section in future :)
julia :)
@o0Julia0o
It is 1.5.2 compatible.
does it work with 1.5.2?
thx
Julia :)
@Smiley43210
It does. Stuff still breaks
@dequis
If it's so, perhaps a better idea for the /plugman reload command handling would be to disable it, and THEN unload it, and load it and enable it. But I thought it used to do that. No?
Dude, what the hell? I was trying to figure out why people couldn't use your plugin to reload craftirc, when craftirc's own /ircreload works flawlessly and just does disable/enable with the plugin manager. So I checked your source code, and you effectively do that... in the /plugman restart command. So, restart does what people expect as a reload, and /plugman reload fucks shit up. Actually, it's not new that plugman fucks shit up but please put some warning labels and make it clear that restart is safer than reload (what each one does, and that "restart" is what people want when only configs changed). The names of both commands are terrible but I can't ask you to change that now
@diannetea
It looks as though it would be the way that PlotMe handles enabling and disabling, the only thing PlugMan is doing in the line specified by the error is attempting to enable the plugin again.
Some plugins have random errors like this when reloading, is it plugman or the plugins?
@Shvesley
No problem!
Next version will have the /pm alias remove, those who want it can re-add it into the plugin.yml themselves (too prone to conflict with private message plugins). If anyone has any feature suggestions or changes please feel free to leave a comment.
Thanks, mate!
Version 1.8.4 has been uploaded! It includes java 6 compatibility, an update to metrics lite, and the beginning of a code cleanup.
@Ordush
This is because the plugin was compiled with Java 7 and you are using Java 6, the next version will have a fix to be compatible with Java 6 again.
@MCTutorialist
You can't enable/disable plugins per world but you can disable certain commands via permission nodes per world.
@Matthew_Carter
You can go to the "Files" tab at the top of the page, but any version released after 1.4.7 should work with 1.4.7.
Running with the latest.
2013-04-24 09:33:56 [SEVERE] Could not load 'plugins/PlugMan.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/ryanclancy000/plugman/PlugMan : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_5_R2.PlayerList.<init>(PlayerList.java:55) at net.minecraft.server.v1_5_R2.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:105) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:381) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.UnsupportedClassVersionError: com/ryanclancy000/plugman/PlugMan : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:212) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 9 more
Is there a way to enable/disable plugins in defined worlds?
@jadyha
Maybe there's still a folder for that plugin.
When I Attempt To Load Different Plugins PlugMan Tells Me "file exists, but isnt a plugin file" What Does This Mean And How Can I Fix It??
Where can I download a version for Bukkit 1.4.7 R1.0?
@ArmEagle
Yes, I am. I was not aware that so many people still use an EOL'd Java version. I might have to look up the maven magic to make this 1.6 compatible again.
I get an "Unsupported major.minor version 51.0" error, running 1.8.3 of your plugin.
java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.6) (rhel-1.33.1.11.6.el5_9-x86_64) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
Are you compiling for Java 1.7?
Sorry if I'm missing something, but am I not supposed to be able to remove the plugin when it's unloaded? Windows still yells at me saying java is accessing the file.