forked from public/public
Update README.md
plugin/Readme: the plugin can be named something different than the file it's in
This commit is contained in:
parent
0878c26ff3
commit
0b65cf3531
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
...
|
...
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue