mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 18:52:41 +01:00
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
// Ergonomadic IRC Server Config
|
|
// -----------------------------
|
|
// Passwords are generated by `ergonomadic -genpasswd "$plaintext"`.
|
|
// Comments are not allowed in the actual config file.
|
|
{
|
|
// `name` is usually a hostname.
|
|
"name": "irc.example.com",
|
|
|
|
// The path to the MOTD is relative to this file's directory.
|
|
"motd": "motd.txt",
|
|
|
|
// PASS command password
|
|
"password": "JDJhJDA0JHBBenUyV3Z5UU5iWUpiYmlNMlNLZC5VRDZDM21HUzFVbmxLUUI3NTVTLkZJOERLdUFaUWNt",
|
|
|
|
// `listeners` are places to bind and listen for
|
|
// connections. http://golang.org/pkg/net/#Dial demonstrates valid
|
|
// values for `net` and `address`. `net` is optional and defaults
|
|
// to `tcp`.
|
|
"listeners": [ {
|
|
"address": "localhost:7777"
|
|
}, {
|
|
"net": "tcp6",
|
|
"address": "[::1]:7777"
|
|
} ],
|
|
|
|
// Operators for the OPER command
|
|
"operators": [ {
|
|
"name": "root",
|
|
"password": "JDJhJDA0JHBBenUyV3Z5UU5iWUpiYmlNMlNLZC5VRDZDM21HUzFVbmxLUUI3NTVTLkZJOERLdUFaUWNt"
|
|
} ],
|
|
|
|
// Global debug flags. `net` generates a lot of output.
|
|
"debug": {
|
|
"net": true,
|
|
"client": false,
|
|
"channel": false,
|
|
"server": false
|
|
}
|
|
}
|