Repository navigation
Expand file tree
/
Copy pathconfig.json
More file actions
68 lines (57 loc) · 1.61 KB
/
Copy pathconfig.json
File metadata and controls
68 lines (57 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
// 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
//{
// 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",
// address of insim instance to connect to
//"host": "127.0.0.1",
// port number
//"port": 29999,
// maxbacklog of insim packets, don't change if you dont need to
//"maxbacklog": 2048,
// maximum number of reconnection attempts
//"reconnect": 4,
// cooldown between reconnection attempts
//"reconnectcooldown": 5,
// an array of plugins we want to load for this client
//"plugins": [ "pong", "state", "livemap2" ]
//}
]
}