Skip to content
This repository was archived by the owner on Mar 5, 2020. It is now read-only.

PluginManager

Tim Neumann edited this page Aug 11, 2018 · 2 revisions

The plugin manager is responsible for loading the plugins with the help of the PluginLoader.

Config

The plugin manager uses the config file plugin.config.properties. This config file has the following fields: mode. plugins and pluginDir.

There are the following modes.

dev

In this mode both plugins and pluginDir are used. plugins is a comma seperated list of plugin names. The plugin manager looks in the folder <pluginDir>/<pluginName> for every Plugin in plugins and then loads the jar located in the target folder of that plugin.

docker

In this mode only pluginDir is used. The plugin manager loads all jars that are directly in the plugin directory.

manual

In this mode only plugins is used. Here plugins is a comma seperated list of paths to jars. The plugin manager loads all jars specified by plugins.

Clone this wiki locally