GlobalPlugins

GlobalPlugins

GlobalPlugins is a plugin made for server owners. But only the server owners running mutiple servers will benefit from this.

What does GlobalPlugins do?

GlobalPlugins loads plugins from a defined directory into the server. This means that you install this plugin on 5 servers, and link those to 1 directory. Then all 5 servers will use the plugins inside that directory. You can also select some plugins from the directory, based on the name of the plugin file (awesomepluginV1_3a.jar). Basically, this creates global plugins!

Why would you want this?

When a big update comes out from bukkit, or a plugin, and you use this plugin on every server.(examples like essentials, vault, permissions) You would normally need to update every plugin, on every server. Now all you have to do is drag the new plugin in the globalPlugins directory, and youre all set!

Features:

  • Loads plugins from a custom folder
  • Allows the possibility of global configurations, or server-side configs.

Usage:

Place the 'globalPlugins' jar file in the /plugins/ directory from your server(s). restart your server. This will create the config file, and will try to create a default Globalplugins location. Default: /minecraft/servers/serverA/ would use the directory: /minecraft/servers/globalplugins/ If you change this, restart the server for it to have effect on te plugins.

Commands:

/globalplugins

  • Alias: /gp, /globalplugin
  • This is the base command and shows a* n informative message.

/globalplugins reload

  • This will reload the globalplugins config

/globalplugins scan

  • This will rescan the globalplugins directory, and make sure every plugin is inside our config.yml This will also load and enable any new plugin found. This will normally happen only on first start. If you dont want every plugin enabled, you should not use this, or remove the unused plugins from the config and reload.

Permissions:

globalplugins.reload

  • Default: OP
  • Allows you tu use the reload command

globalplugins.scan

  • Default: OP
  • Allows you to use the scan command

Bugs:

  • If a plugin inside your /plugins/ directory needs a plugin from the globalplugins directory, if will cause an "UnknownDependecyException" in the very beginning. This is okay, and cannot harm your server. The plugin will be loaded after everything else, and will work as expected. I cannot fix this, because its a problem on bukkits end.
  • A plugin could create his configs inside the globalPlugins config, even when you have globalconfig: false. This is only from the outside, and will work as expected from the inside. It is caused by plugins using a config before we changed its locations.

Having another bug? Please leave a comment below!

Dont place these as global plugins:

  • PermissionsEx
  • BKCommonLib
  • Protocollib
  • Multiverse-Core

Incompatible with:

  • FactionsPlus

TODO:

  • Get rid of the "UnknownDependecyException error somehow :/
  • Global craftbukkit?
  • Allow /globalplugins reload to automatically load/unload the plugins
  • something else i forgot ATM

Still having errors?

If your plugin still causes errors, try opening the plugin.jar, and edit the plugin.yml. Add "depends: [GlobalPlugins]", if there is no "depends", otherwise add it to the end of the list like depends: [plugin1, plugin2, GlobalPlugins].

You could also try to edit the list of plugins in the config. The top/first plugin will be loaded first, and last will load last

Donate

Please! dont waste your money on me, this plugin is totally free, and i needed it myself. So i dont accept donations

Source code:

Sure! The source code can be found here: https://github.com/kwek20/GlobalPlugins


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    61230
  • Created
    Jul 9, 2013
  • Last Released File
    Sep 22, 2013
  • Total Downloads
    3,052
  • License

Categories

Members

Recent Files