config.json.example 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "nick": "gitinfo",
  3. "altnick_prefix": "gitinfo_", // temp nick used when primary nick is taken
  4. "altnick_length": 3, // length of temp nick suffix
  5. "nick_pwd": "hackme", // for identifying with nickserv (required)
  6. "channel": "#git", // channel(s) to join after things have been initialized; may be an array
  7. "replies_public": true, // optional; echo command status to channel it was performed in?
  8. "username": "gitinfo",
  9. "realname": "#git info bot, run by jast",
  10. "local_addr": "", // optional
  11. "server": "chat.freenode.net",
  12. "server_port": 6697, // optional
  13. "server_password": null, // optional; password to use when connecting to restricted servers (or bouncers)
  14. "server_ssl": true, // optional; use SSL/TLS? (defaults to true)
  15. "ipv6": false, // optional
  16. "superadmin": "jast", // magically authorized to do everything
  17. "use_masks": false, // optional; authorize users by known hostmasks (only needed on networks that don't support the ACCOUNT-TAG protocol extension)
  18. "superadmin_mask": "*!*@invalid", // optional; magically author to do everything (only needed on networks that don't support the ACCOUNT-TAG protocol extension)
  19. "db_file": "gitinfo.sqlite", // created automatically
  20. "control_enabled": true, // remote control server
  21. "control_addr": "", // optional
  22. "control_port": 11111,
  23. "control_ipv6": false, // optional
  24. "control_pwd": "hackme", // used by control clients to authenticate
  25. "http_loginurl": "http://example.org/login.php?id=", // Login URL for users (code is appended automatically). Web part is not included!
  26. "http_sessionexpire": 900, // after which time to notify web users that their session expired (and remove the session)
  27. "http_sessionpurge": 3600, // after which time to forget that a web session existed at all
  28. "autoload_plugins": [],
  29. "hardcore_ignore": false, // completely ignore people who have the no_react priv
  30. "templink_baseurl": "http://example.org/", // base URL for links generated by the templink plugin (required if that plugin is used)
  31. "voice_channel": "#git", // channel which the "voice" command targets (required if the voice plugin is used)
  32. "version_channel": "#git", // channel in which the "version" command can update the git version number in the topic
  33. "git_repo": "gitsrc/.git" // dir containing a local up-to-date clone of git (to get version info from)
  34. }