Update README.md

plugin/Readme: the plugin can be named something different than the file it's in
This commit is contained in:
Daniel Brahneborg 2025-04-04 07:58:17 +02:00 committed by GitHub
parent 0878c26ff3
commit 0b65cf3531
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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