Package-level declarations

Annotations for ServerPackCreator plugins. If you plan on adding additional entrypoints for plugins, make sure to extend from de.griefed.serverpackcreator.api.plugins.BaseInformation and put your new annotation into a sub-package corresponding to the part of ServerPackCreator where it will hook into.

Annotations for ServerPackCreator plugins. If you plan on adding additional entrypoints for plugins, make sure to extend from de.griefed.serverpackcreator.api.plugins.BaseInformation and put your new annotation into a sub-package corresponding to the part of ServerPackCreator where it will hook into.

Types

Link copied to clipboard
interface BaseInformation

Base information to be provided by every extension.

Link copied to clipboard
class CustomPluginFactory : DefaultPluginFactory

Custom plugin factory to enforce plugins having a context in which they run.

Link copied to clipboard

Thrown when any of the available extensions throw an error. *

Link copied to clipboard

Force every extension to provide its ID.

Link copied to clipboard
expect interface ExtensionPoint

The extension point interface should provide an entry point from which to expand plugins from. See the implementation in the JVM backend for an example with the pf4j-library.

actual typealias ExtensionPoint = org.pf4j.ExtensionPoint

Type alias to link the ExtensionPoint to org.pf4j.ExtensionPoint

Link copied to clipboard
class PluginContext(runtimeMode: RuntimeMode)

Plugin context which provides a runtimeMode to plugins.

Link copied to clipboard
abstract class ServerPackCreatorPlugin(val context: PluginContext) : Plugin, BaseInformation

A ServerPackCreator plugin provides additional functionality to ServerPackCreator via any of