-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.js
More file actions
86 lines (72 loc) · 2.13 KB
/
config.example.js
File metadata and controls
86 lines (72 loc) · 2.13 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
const config = {
/* Show debug */
debug: true,
/* UnrealIRCd RPC configuration */
rpc: {
address: "wss://ApiUSER:api-password@127.0.0.1:8003/"
},
/* MySQL/MariaDB configuration */
mysql: {
host: '127.0.0.1',
user: '',
password: '',
database: '',
table_prefix: 'unrealrpc_',
/*
* Refresh by periodically importing all user list and channel list data in order
* to update reputations, vhosts, idents, etc.
* Please note that joins/parts/quits/nick changes/num_users are handled immediately.
* Default interval: 3 minutes (180 seconds).
*/
saveInterval: 180
},
/* Configuring the IRC Framework bot */
ircbot: {
nick: 'JustHere',
username: 'unrealrpc',
gecos: 'UnrealIRCd RPC SQL Live',
host: 'irc.example.com',
port: '6697',
tls: true,
version: 'UnrealIRCd RPC SQL Live',
/* Log in to OPER to get the JSON logging data */
oper: {
login: '',
password: '',
snomasks: '+RjnN'
},
auto_reconnect: true,
/*
* Channels to join on connection.
* For multiple channels, separated by ','
*/
channels: '#opers',
// encoding: 'utf8',
// enable_chghost: false,
// enable_echomessage: false,
// sasl_disconnect_on_fail: false,
/* Identification in SASL */
// account: {
// account: 'username',
// password: 'account_password',
// },
// webirc: {
// password: '',
// username: '*',
// hostname: 'users.host.isp.net',
// ip: '1.1.1.1',
// options: {
// secure: true,
// 'local-port': 6697,
// 'remote-port': 21726,
// },
// },
},
/* Activate the quiz. Don't forget to add this channel to ircbot.channels */
trivia: {
enable: false,
channel: '#quiz',
welcome_message_on_join: true
}
}
module.exports = config;