plugins/README: Usage

This commit is contained in:
Daniel Brahneborg 2025-03-24 14:44:28 +01:00
parent 57652f1e51
commit cf753bbe2d

View file

@ -2,3 +2,20 @@
This directory contains various plugins for EMG. This directory contains various plugins for EMG.
## Usage
For most plugins, the configuration is simple.
Let's say the plugin *something* is in the file `something.pl`.
You will then create a section in your `server.cfg` file, like this:
PLUGIN something <
LIBRARY=something.pl
>
For the connectors that should use it, reference it like this:
CONNECTOR some_connector <
PLUGIN=something
...
>