-
-
Save gu3st/4441126 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// xi4n | |
// expected/support xi4n versions | |
"xi4n": ">=0.0.2", | |
// logger options | |
"logger": { | |
// log level | |
"level": "crit", | |
// may be any writable stream, object that implements a write function. | |
// if neither it's assumed you meant a file name and it writes to that | |
"stream": "stdout" | |
}, | |
// an object of available plugins for clients and their options | |
// they are then referenced by key(name) in the client options | |
// the key can be arbitrary, permitting the same plugin with different | |
// options, but may not duplicate an existing one | |
// | |
// path should be relative to the plugins directory | |
// options are dictated by the plugin | |
"plugins": { | |
"pong": { | |
"path": "pong", | |
"options": { } | |
}, | |
//"state": { | |
// "path": "state", | |
// "options": {} | |
//}, | |
//"livemap2": { | |
// "path": "livemap2", | |
// "options": {} | |
//}, | |
}, | |
// an array of "clients", or insim connections | |
"clients": [ | |
// Example client configuration | |
{ | |
// talk outgauge instead | |
// can be replaced by 'insim', 'outgauge', 'outsim', or 'relay' | |
// may not all be working | |
protocol: 'outgauge', | |
// port number to bind to | |
port: 123456, | |
// if no id is specified, a value is auto-generated | |
// for a persistent id, it is recommended to set a value | |
"id": "1", | |
// a friendly name for configuration purposes only | |
"name": "localhost", | |
// an array of plugins we want to load for this client | |
// since outgauge doesn't 'timeout' we don't need to register the pong, state, etc. plugins, just any outgauge ones | |
"plugins": [ "youroutgaugeplugin" ] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment