You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.json 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Ergonomadic IRC Server Config
  2. // -----------------------------
  3. // Passwords are generated by `ergonomadic -genpasswd "$plaintext"`.
  4. // Comments are not allowed in the actual config file.
  5. {
  6. // `name` is usually a hostname.
  7. "name": "irc.example.com",
  8. // The path to the MOTD is relative to this file's directory.
  9. "motd": "motd.txt",
  10. // PASS command password
  11. "password": "JDJhJDA0JHBBenUyV3Z5UU5iWUpiYmlNMlNLZC5VRDZDM21HUzFVbmxLUUI3NTVTLkZJOERLdUFaUWNt",
  12. // `listeners` are places to bind and listen for
  13. // connections. http://golang.org/pkg/net/#Dial demonstrates valid
  14. // values for `net` and `address`. `net` is optional and defaults
  15. // to `tcp`.
  16. "listeners": [ {
  17. "address": "localhost:7777"
  18. }, {
  19. "net": "tcp6",
  20. "address": "[::1]:7777"
  21. } ],
  22. // Operators for the OPER command
  23. "operators": [ {
  24. "name": "root",
  25. "password": "JDJhJDA0JHBBenUyV3Z5UU5iWUpiYmlNMlNLZC5VRDZDM21HUzFVbmxLUUI3NTVTLkZJOERLdUFaUWNt"
  26. } ],
  27. // Global debug flags. `net` generates a lot of output.
  28. "debug": {
  29. "net": true,
  30. "client": false,
  31. "channel": false,
  32. "server": false
  33. }
  34. }