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.
This is a great plugin :) However I have a suggestion.
I would like to update a plugin without restarting the server. This does not seem possible. Just as you have a /plugman load command I would like to se /plugman unload and I think /plugman reload should do that.
@deleted_7554077
In version 1.6.3, I have added support for plugins with spaces in them :) Sorry for the little delay though.
@Sanderb11
I will add this in soon!
Why is usage deleted?!
I love this plugin so much it really helped me a lot, without always reloading the server. But the usage command was so handy.
Heres a little error. I am running in CB 1938 R4 and i tried to disable My Worlds plugin. Can plugman disable plugins that have 2 words like My Worlds? I did /plugman disable My Worlds and got this error
2012-02-23 13:52:10 [SEVERE] null
org.bukkit.command.CommandException Unhandled exception executing command 'plugman' in plugin PlugMan v1.6.2
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:402)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:784)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:744)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:732)
at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:101)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:44)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.NullPointerException
at me.ryanclancy000.plugman.PlugManCommands.disablePlugin(PlugManCommands.java:191)
at me.ryanclancy000.plugman.PlugMan.doCommand(PlugMan.java:143)
at me.ryanclancy000.plugman.PlugMan.onCommand(PlugMan.java:37)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 14 more
@rylinaux
Thank you for the quick-fix, its working now :-)
Best regards.
@ThisUsernameIsMine
ChatTools was a class that was in the plugin before I took it over and as of v1.6 (my rewrite) it was unused. The error seems to be harmless as there is nothing really in that class that is harmful, seems as though I forgot to remove it from the jar after the v1.6 update. Just pushed a version now, v1.6.2, that has that class removed.
Sorry for the trouble, Ryan
Microsoft Security Essentials > Exploit:Java/CVE-2008-5353.WX Thread-level: High
Plugman.jar ->me/ryanclancy000/plugman/ChatTools.class
:S
@mantegudo
There isn't support for plugins with spaces in at atm, that will come soon. I'll try and get one up this weekend, but I'm not sure how much time I have, fairly busy for the next few days.
How can I disable or enable or do something if a plugin has a name like that: No Smoking v0.0.4 ???
Awesome plugin. Ive been using PluginReloader but its been depreciated/not working.
Downloading and installing now.
@Crayder
This could be added in the future, but I always like to move/rename a plugin's jar if I don't want it :P
@re4397
Version 1.6.1 has this added into it.
@atomicben
I'll add it back again in a future update :)
@Vinceguy1
I do have Skype, but it is never used.
Any way to disable plugins and have them remain disabled even upon a server reboot?
please remove acess to the /plugman command from normal players.
Dude do you have a skype?
@wtfwasithinking
np, hopefully I'll be able to keep it maintained and add new some new features :)
@ryanclancy000 you just made my morning with this update! Thank You!
@Sleelin
Version 1.5.2 has the caps issue fixed, just give Bukkit-Dev time to approve it :)
So far so good!
Excited to see a continuation of this, I was sticking to a very old version since the most recent one wouldn't let the console use the commands!
Feature request: use .equalsIgnoreCase instead of just .equals when checking the plugin name, so I don't have to worry about capitalisations!