Skip to content

Plugin.yml

Lars Bärtschi edited this page Jan 11, 2018 · 1 revision

Plugin.yml

Each plugin should have a plugin.yml in the resources root. The plugin.yml is used by Twasi-Core to determine which class to load and which commands to handle.

Minimal example

name: unique-plugin-name
main: com.mydomain.mypluginname
author: My name
description: This is the description of my plugin.
version: 1.0

# This defines if the onMessage event should be called on incoming messages.
messageHandler: true

# Register e.g. the command !hello
commands:
- hello