Plugin Tweaks
Plugin Tweaks
Version: 1.0
PluginTweaks: A plugin that will help you with your daily server administration. Ever got stuck updating a plugin, yet not being able to restart your server because there's players online? Well search no more! This plugin does just that.
Pages: MCStats (Coming Soon)
Features
- Disable/Enable a plugin
- Reload a plugin
- Load/Unload a plugin.
- Get the plugin list
- API for developers.
Commands
| Command | Permission | Description |
| /PluginTweaks Plugins | PluginTweaks.Plugins | Get a list of all plugins. Enabled or Disabled. |
| /PluginTweaks Reload | PluginTweaks.Reload | Reload the PluginTweaks Configuration |
| /PluginTweaks Disable <Plugin> | PluginTweaks.Plugin.Disable | Disable a plugin. |
| /PluginTweaks Enable <Plugin> | PluginTweaks.Plugin.Enable | Enable a disabled plugin |
| /PluginTweaks Reload <Plugin> | PluginTweaks.Plugin.Reload | Reload a plugin complete. |
| /PluginTweaks Load <Plugin> | PluginTweaks.Plugin.Load | Load a plugin from scratch. Requires the file name, followed by .jar |
| /PluginTweaks Unload <Plugin> | PluginTweaks.Plugin.Unload | Unload a plugin for removal... (Java 7 only) |
For Developers:
PluginTweaks has a nice and easy API for you to use. You can create a "virtual" plugin, this will help you with manipulating it.
- Guide:
Plugin testPlugin = pt.getServer().getPluginManager().getPlugin("TestPlugin"); PTPlugin ptpl = new PTPlugin(testPlugin);
Methods available:
- getName()
- getPlugin()
- getState() <- Enabled or disabled
- getVersion()
- getcoloredState() <- Green = enabled | red = disabled
- getJar()
- setEnabled()
- setDisabled()
- setReload()
- setLoad()
- setLoad(String name) <- Load a null plugin
- setUnload()
- setName() <- Changes plugin name
- restoreName() <- Resets its name to the original one in plugin.yml...
These methods all throw a "NotLoadedException". This will be thrown if the plugin is unloaded, and you attempt to modify/get info. You need to load the plugin first. You can additionally create a PTPlugin ptpl = new PTPlugin(null); then call the setLoad(Name); method.
Download
- Like every single plugin out there, download the latest jar here: (Click)
- Put it right into your plugins folder!
- Reload/Restart your server!
- You're set to go!
Coming Soon
Green = Done | Red = Cancelled | Orange = Planned
- Unload a plugin for removal.
- Load a plugin for addition.
- Better developer API
- Crashes are now handled by PluginTweaks instead f the plugin itself.
- Suggestions? Open up a ticket or write it as a comment!
My plugins:
The Tweaks suite: ChatTweaks | LWCTweaks | PluginTweaks | BanTweaks
Please submit a ticket if you found a bug or an error. Never paste full errors in the comments. Use pastebin instead
-
View User Profile
-
Send Message
Posted Oct 6, 2013Please add Enabling and disabling plugins for some worlds
That would be great and I would donate!
-
View User Profile
-
Send Message
Posted Jul 27, 2013@Mauchan
Upcoming update will fix this using underscores...
@MikyoM
What do you mean by priorities?
@MrEkinoxx
This works with Bukkit for MC 1.6.2 :)
-
View User Profile
-
Send Message
Posted Jul 24, 2013Please update ! :)
-
View User Profile
-
Send Message
Posted Jul 19, 2013Is it posible for this plugin to set priorities of commands?
-
View User Profile
-
Send Message
Posted Jun 20, 2013There is a plugins with shitespace in name like http://dev.bukkit.org/bukkit-plugins/sign-edit/ Your plugin can't handle them.
-
View User Profile
-
Send Message
Posted Jun 9, 2013@ColonelJdog
There is nothing being added/removed/changed... so there's no point really... but you can submit features here :)
-
View User Profile
-
Send Message
Posted Jun 8, 2013Will this plugin have a new update anytime soon?
-
View User Profile
-
Send Message
Posted May 19, 2013This looks like a cool plugin. I'll test it out on my server!
-
View User Profile
-
Send Message
Posted Mar 28, 2013@SonarBeserk
Oups :/ Forgot to change the template :S Sorry about that
-
View User Profile
-
Send Message
Posted Mar 28, 2013the help message for the plugins subcommand seems to be off. it says "Clears the chat from spam or other" shouldn't it be different?
-
View User Profile
-
Send Message
Posted Mar 25, 2013@xWallou
This plugin should support all plugins, as for Factions showing the tag, that's because of the way Factions is coded... the onDisable method of Factions doesn't remove the tag... I'll release a new build in the next week or so to fix a few of these problems :) Thanks for the heads up.
-
View User Profile
-
Send Message
Posted Mar 25, 2013Does this plugin support Factions and PermissionsEx? I just loaded it on my server and it's only showing the Faction tag but anything PermissionsEx tries to load (prefixes, suffixes), they don't show.
Other than that, I love the customization this plugin allows. Great work!
-
View User Profile
-
Send Message
Posted Mar 24, 2013@Hoot215
Thanks for that heads up :)
@Decimator714
File is being reviewed by Bukkit Dev :S
-
View User Profile
-
Send Message
Posted Mar 24, 2013No download
-
View User Profile
-
Send Message
Posted Mar 24, 2013@tryy3 @Zacky1
Actually, it depends on how the plugin is coded. Objects referenced by static fields will not be removed from memory, which is the main cause of memory leaks when unloading plugins. If the plugin is coded properly, however, there won't be any memory leaks.
-
View User Profile
-
Send Message
Posted Mar 24, 2013@tryy3
No, the reload causes no memory leaks, and it will reload the specific plugin only... It's the equivalent of restarting your server...
@AConsolePeasant
Yay! :DD
-
View User Profile
-
Send Message
Posted Mar 24, 2013Looks like a good idea, i'll download and use it for sure!
-
View User Profile
-
Send Message
Posted Mar 24, 2013is the reload using the regular reload so that it creates memory leaks and bad stuff?