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.
Video Tutorial on the Plugin
https://www.youtube.com/watch?v=VfoB6HlVeYQ
Credits Video: (AbsintoJ/PlugMan)
@TWSSYesterday
What does spigot's updater mean?! where is that?:O
Edit.: I found this api: https://github.com/Maximvdw/SpigotSite-API/wiki
can u do something with this?:D
@HSIkMy
I'm not having this issue.
@foxi69
Would be good if it worked with Spigot's updater too :)
How I can disable the plugins from the "/plugman check [plugin|all] [-f]" command?
So if I wont update some plugins I wanna disable it from this command, so dont show for me
And should be updated for spigotmc.org
Spigot 1.8 plugins cannot be loaded ;-;
@TWSSYesterday
Thanks! Always nice to get positive feedback.
@F64_Rx
The problem with this is that the resources section on Spigot doesn't have an API (that I know of) to get plugin information (such as the BukGet API for Bukkit Dev).
can you make it so that it checks for spigot plugins too as i have loads from spigot :)
@rylinaux
I love the -f flag, thanks for that :) Yet another good update!
@Bryan_Ponce
This doesn't appear to be an issue with PlugMan, it looks like the plugin "PrisonGems" on your server failed when updating itself.
13.07 07:02:25 [Server] WARN at java.lang.Thread.run(Unknown Source) 13.07 07:02:25 [Server] WARN at me.mrCookieSlime.CSCoreLibPlugin.updater.Updater$UpdaterTask.run(Updater.java:58) 13.07 07:02:25 [Server] WARN at me.mrCookieSlime.CSCoreLibPlugin.updater.Updater$UpdaterTask.connect(Updater.java:68) 13.07 07:02:25 [Server] WARN at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) 13.07 07:02:25 [Server] WARN at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) 13.07 07:02:25 [Server] WARN java.io.IOException: Server returned HTTP response code: 504 for URL: https://api.curseforge.com/servermods/files?projectIds=89468 13.07 07:02:25 [Server] WARN
#
#
#
#
- FATAL ERROR -#
#
#
#
13.07 07:02:25 [Server] WARN Could not connect to BukkitDev, is it down? 13.07 07:02:25 [Server] WARN#
#
#
#
- FATAL ERROR -#
#
#
#
@TWSSYesterday
I've had some time recently and have implemented the check all feature in this development build.
You can do "/plugman check all" or "/plugman check *" to have it check which plugins are up-to-date and out-of-date. Additionally, you can pass the "-f" option to that command to have it dump the information to a file instead of the chat in the case of having many plugins (the file is plugins/PlugMan/updates.txt).
Feel free to test it out and let me know if you find any issues, I've only just done the initial implementation and haven't been able to test it too in-depth.
@fromgate
No particular reason, I was just used to using the other JSON library in other projects.
This dev build has the old library removed and the one Bukkit supplies is used in place, no reason to not use it I suppose.
@rylinaux
Why you don't use bukkit dev built-in JSON libs?
what about plugin deletion/removal command, especially for when your not at the console and install a new plugin that causes problems.
@TWSSYesterday
This is something that can be added, sure.
@CloudeLecaw
@ThisUsernameIsMine
Correct. It's mainly because of the added Apache HTTP library that is used to simplify the interactions between PlugMan and dev.bukkit.org for the "check" command and the upcoming commands that will bring some additional interaction with dev.bukkit.org.
@CloudeLecaw
Because of the added Apache/json libraries
This plugin stands for all that is holy in the minecraft CraftBukkit/Spigot community! LONG LIVE PLUGMAN
Version 2.0.4 has been uploaded and is awaiting approval - it can be downloaded early from here: http://dev.bukkit.org/media/files/877/143/PlugMan.jar
This release feature the addition of the "check" command which allows you to check if a certain plugin is up-to-date with the latest version available on DBO - check the description for details.
The next versions will feature pagination of the help documents as well as more integration with DBO for the searching, listing, and downloading of plugins - stay tuned over the coming months.