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.
Just uploaded version 1.7.2 which contains a fix for the load command, sorry for the issues!
@Swords761
@omgitsmit
@nsordk
@AcidSikeO
Hmm, I see the bug and I'll play around with it. Strange though, as I didn't touch the load command when I cleaned up a lot of the code. As Acid said however, if you do /plugman enable blah after you have loaded it and got the error, it works fine, will try and find a fix soon.
Plugman throws some errors on the console, but seems to do what it's supposed to.
@Swords761 - I get the same error when I load a plugin wiith Plugman, and it does load but it's disabled. I do /plugman enable and it seems to work fine. I've done that a couple of times and then run a command from the plugin in question with good results. It hasn't caused any hitches, so far.
@nsordk
Oh man.. :O Do you think it will work again soon ? Or will i have to degrade to 1.7.0 or is that version to bugged?
Regards Unplugged
@Unpluggeddk
Before 1.7.1 it could do this, but for some reason it produces an error now.
LOOOOVE THE PLUGIN...
I know its mayby a stupid question...
But is/will it possible to make your server reckognize a plugin that hasnt been loaded..
Like i put a new plugin to my plugins folder, but do not restart or reload.. Would it be possible some day for plugman to load this plugin when the server doesnt even know its there... This would be extremely of use for me..
Regards Unplugged
@Swords761
I get that error sometimes also, but only with certain plugins. I think it has something to do with what the plugin is actually hooking into.
Getting this message when attempting to use /plugman load on a plugin from the console:
[WARNING] Unexpected exception while parsing console command
org.bukkit.command.CommandException: Unhandled exception executing command 'plugman' in plugin PlugMan v1.7.1
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479)
at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:475)
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:612)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:581)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.NullPointerException
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:373)
at com.ryanclancy000.plugman.utilities.Utilities.loadPlugin(Utilities.java:304)
at com.ryanclancy000.plugman.PlugManCommands.onCommand(PlugManCommands.java:66)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 7 more
Also from all appearances it seems it loads the plugin fine but doesn't enable it?
Nice update thanks :)
haha that was a major code cleanup 30 kb to 17 kb :D good job!
Version 1.7.1 uploaded with the following changes:
Update going to be coming out soon with a new command, some new options, removal of the purge command and a ton of code cleanup
@dan2wik
The implementation of the unload command is less than ideal, Bukkit doesn't have a nice way to unload plugins, therefore it is prone to break, as you found out :P
@Kevin57493
That would have to do with the way that MagicalSpells is coded, not with PlugMan.
Hi, whenever I try to reload the plugin MagicalSpells, it just reloads the plugin and not the entire plugin folder with it. Could you help me fix this?
i just tried to unload a plugin with /plugman unload citizens and i got this: http://pastebin.com/Tj1Pxt0L Its something about a stack overflow and then there is a ton of spam afterwards, This server is running CraftBukkit version git-Bukkit-jenkins-CraftBukkit-98 (MC: 1.2.5) (Implementing API version 1.2.5-R1.3-MCPC-SNAPSHOT) This is a tekkit server btw
@escortkeel
My code is available, there is a GitHub link at the bottom of the post :P
Awesome plugin! Using this for about a year now. Too bad that plugin-updating is not fully supported yet.
@rylinaux
Hi ryanclancy000!
As your license states your under the GPLv3, would it be possible for you to release your code?
Thanks,
Keeley :D
There's something I've been looking to see, not sure if it's possible: Organization of plugins into folders? having to sift through the entire plugins folder is unwieldy sometimes, as I'm accumulating a lot of plugins trying to create a smooth and interesting server :/ can be annoying trying to find one out of 20+ plugins, but if it were possible to stick plugins into subfolders, that'd be awesome.
@Mayhem777
Yep.