promotional bannermobile promotional banner

Plugin Tweaks

Plugin Tweaks
<p>default</p>

default

Description

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 PermissionDescription
/PluginTweaks PluginsPluginTweaks.PluginsGet a list of all plugins. Enabled or Disabled.
/PluginTweaks ReloadPluginTweaks.ReloadReload the PluginTweaks Configuration
/PluginTweaks Disable <Plugin>PluginTweaks.Plugin.DisableDisable a plugin.
/PluginTweaks Enable <Plugin>PluginTweaks.Plugin.EnableEnable a disabled plugin
/PluginTweaks Reload <Plugin>PluginTweaks.Plugin.ReloadReload a plugin complete.
/PluginTweaks Load <Plugin>PluginTweaks.Plugin.LoadLoad a plugin from scratch. Requires the file name, followed by .jar
/PluginTweaks Unload <Plugin>PluginTweaks.Plugin.UnloadUnload 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

  1. Like every single plugin out there, download the latest jar here: (Click)
  2. Put it right into your plugins folder!
  3. Reload/Restart your server!
  4. 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

The Plugin Tweaks Team

profile avatar
  • 5
    Projects
  • 44.9K
    Downloads
Donate

More from _ForgeUser7209961View all

  • Chat Tweaks project image

    Chat Tweaks

    • 21.3K
    • Bukkit Plugins

    Ever wanted Hashtags(#) and At Signs(@) in chat? Both metered to see how many times that particular sign has been used!

    • 21.3K
    • May 5, 2014
    • Bukkit Plugins
    • +4
  • LWC Tweaks project image

    LWC Tweaks

    • 5.7K
    • Bukkit Plugins

    LWC Tweaks

    • 5.7K
    • April 17, 2013
    • Bukkit Plugins
    • +2
  • Ban Tweaks project image

    Ban Tweaks

    • 2.4K
    • Bukkit Plugins

    Ban Tweaks

    • 2.4K
    • March 24, 2013
    • Bukkit Plugins
    • +3
  • LWC Unlock project image

    LWC Unlock

    • 11.8K
    • Bukkit Plugins

    Remove LWC protections (all) after X days that user did not login!

    • 11.8K
    • March 21, 2013
    • Bukkit Plugins
    • +3
  • Chat Tweaks project image

    Chat Tweaks

    • 21.3K
    • Bukkit Plugins

    Ever wanted Hashtags(#) and At Signs(@) in chat? Both metered to see how many times that particular sign has been used!

    • 21.3K
    • May 5, 2014
    • Bukkit Plugins
    • +4
  • LWC Tweaks project image

    LWC Tweaks

    • 5.7K
    • Bukkit Plugins

    LWC Tweaks

    • 5.7K
    • April 17, 2013
    • Bukkit Plugins
    • +2
  • Ban Tweaks project image

    Ban Tweaks

    • 2.4K
    • Bukkit Plugins

    Ban Tweaks

    • 2.4K
    • March 24, 2013
    • Bukkit Plugins
    • +3
  • LWC Unlock project image

    LWC Unlock

    • 11.8K
    • Bukkit Plugins

    Remove LWC protections (all) after X days that user did not login!

    • 11.8K
    • March 21, 2013
    • Bukkit Plugins
    • +3