-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.in
56 lines (46 loc) · 1.04 KB
/
config.in
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
%%%%
%%%% Global bot settings
%%%%
[
%%
%% Bot data, node@domain/resource
%%
{node, "echo"},
{domain, "localhost"},
{resource, random},
%%
%% Server data. The bot will attempt to auhtenticate at this server
%%
{server, "jabber.org"},
{port, 5222},
{password, ""},
%%
%% auth data
%%
{auth_type, auth_basic}, %% auth_basic or auth_basic_digest
{password, ""},
%%
%% plugins
%%
%% Plugin timeout in milliseconds
%% May be overriden by plugin config
%% Possible values:
%% int()>=0 | infinity
{plugin_timeout, 1000},
%% You may specify different plugins for different connections
%%
%% default plugins
%% {default, [echo]}
%% plugins for a chat with "node@domain/resource"
%% {"node@domain/resource", [plugin1, plugin2]}
%%
%% You may pass additional arguments to plugins:
%% {default, [
%% {some_plugin, [Arg1, Arg2, Arg3]},
%% {other_plugin, [Arg4, Arg5]},
%% plugin_without_arguments,
%% ]}
{plugins, [
{default, [echo, reverse]}
]}
].