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.
22:13:36 [INFO] "PLAYERNAMEHERE" issued server command: /plugman load netLM 22:13:36 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'plugman' in plugin PlugMan v1.7.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.dispatchCommand(CraftServer.java:534) at iv.d(NetServerHandler.java:1390) at iv.chat(NetServerHandler.java:1258) at iv.a(NetServerHandler.java:1182) at cu.a(Packet3Chat.java:59) at cg.b(TcpConnection.java:467) at iv.d(NetServerHandler.java:220) at iw.b(NetworkListenThread.java:57) at ht.b(DedicatedServerListenThread.java:34) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:978) at ho.r(DedicatedServer.java:301) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:854) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:741) at fy.run(ThreadMinecraftServer.java:16) Caused by: java.lang.NullPointerException at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:373) at com.ryanclancy000.plugman.utilities.Utilities.loadPlugin(Unknown Source) at com.ryanclancy000.plugman.PlugManCommands.onCommand(Unknown Source) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
@firecopy
There may not be yet, but there are always changes and sometimes people find more efficient ways to do stuff.
@firecopy
You should add something to the page for the people asking for updates. ;)
@jmgr2007
The plugin isn't inactive. There is just no need to update :P
It works fine for me. > 1.4.6-R04
This plugin dosen't work any more. Is it possible to get a update. When i try to use Plugman commands, the server crashing.
@orkun1675
Try it and then cry about it. It works fine for me.
Update please..
Hey guys, I have been making a plugin a lot like this. http://dev.bukkit.org/server-mods/reloader/ I have added most of the features found here and a few extras. Please check it out because of this plugin's inactivity. There should be a new release called Reloaderv3.0.0 that includes more features like Plugman. I have updated it to the latest Recommended Build of bukkit and plan to continue updating as long as I am a bukkit developer,
@jinkstjb
Nice job on that one but :) its compatible with the new 1.4.5 recomended?
I tinkered around a bit with the code.
First, I added a "real" reload which basically now just calls unload an then load internally. I also made load a bit smarter, it can now search for plugins based on their description-name instead of just the file-name (so it also finds stuff like AwesomePlugin-2.3-SNAPSHOT.jar based on /plugman load awesomeplugin). The old reload command is renamed to restart.
Second, I fixed a small bug which basically cancelled the reloading as soon as one skipped plugin was encountered.
There are still a few kinks. Some plugins fail to (re)load properly because of ClassLoader mismatches which I don't really understand yet (gotta fresh up on reflection and bukkit internals I guess). So far that happened to me with Essentials and dynmap which I added to the default exception list. I suspect this will affect all plugins which have "internal" plugins/modules themselves.
My modified PlugMan is available here.
Lol, don't worry Carrot. Ryan is still alive:P
Oh dear... the developer hasn't been online for over a month... Not encouraging.
This plugin cannot die!!
My server would be totally impossible to run if I couldn't hot-swap plugins while it's running.
I'm finding this plugin still works fine with 1.4.4, so it doesn't need an update desperately, but please don't let it die.
I hope this plugin will be updated. It's probably the best at what it can.
I'm not saying it doesn't work, it still reloads, but what it is doing is reading the old plugin.jar file that it has in memory instead of loading the new one in the folder. The only way around it is to unload and load the plugin again.
Me too. We're having a ticket open on the ticket section. My server crashes often when I use that command to load plugins. Will there be any fixes?
Im having this issue when i try load a plugin ingame
>23:55:45 [INFO] PTsandro issued server command: /plugman load KitMe
23:55:45 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'plugman' in plugin PlugMan v1.7.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:492)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:880)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:826)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:808)
at net.minecraftserverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:124)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
at net.minecraft.server.ServerConnection.b(SourceFile:35)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:578)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
Caused by: java.lang.NullPointerException
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:373)
at com.ryanclancy000.plugman.utilities.Utilities.loadPlugin(Utilities.java:305)
at com.ryanclancy000.plugman.PlugManCommands.onCommand(PlugManCommands.java:66)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 16 more
**
Working fine for me on 1.3.1-R2.0. Please don't let this plugin die though. It's too sexy. :D
This seems to not be handling reloading as well as it used to. If I update a plugin instead of being able to reload to load the new configuration, I have to unload and reload it or it will just be the old file, same with updating configuration files
@breezeyboy
The entire list of commands is posted above this.