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.

oragono.yaml 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. # oragono IRCd config
  2. # network configuration
  3. network:
  4. # name of the network
  5. name: OragonoTest
  6. # server configuration
  7. server:
  8. # server name
  9. name: oragono.test
  10. # addresses to listen on
  11. listen:
  12. - ":6667"
  13. - "127.0.0.1:6668"
  14. - "[::1]:6668"
  15. - ":6697" # ssl port
  16. # websocket listening port
  17. ws-listen: ":8080"
  18. # tls listeners
  19. tls-listeners:
  20. # listener on ":6697"
  21. ":6697":
  22. key: tls.key
  23. cert: tls.crt
  24. # use ident protocol to get usernames
  25. check-ident: true
  26. # password to login to the server
  27. # generated using "oragono genpasswd"
  28. #password: ""
  29. # log level, one of error, warn, info, debug
  30. log: debug
  31. # motd filename
  32. # if you change the motd, you should move it to ircd.motd
  33. motd: oragono.motd
  34. # maximum number of connections per subnet
  35. connection-limits:
  36. # how wide the cidr should be for IPv4
  37. cidr-len-ipv4: 24
  38. # how wide the cidr should be for IPv6
  39. cidr-len-ipv6: 120
  40. # maximum number of IPs per subnet (defined above by the cird length)
  41. ips-per-subnet: 16
  42. # IPs/networks which are exempted from connection limits
  43. exempted:
  44. - "127.0.0.1"
  45. - "127.0.0.1/8"
  46. - "::1/128"
  47. # account/channel registration
  48. registration:
  49. # account registration
  50. accounts:
  51. # can users register new accounts?
  52. enabled: true
  53. # length of time a user has to verify their account before it can be re-registered
  54. # default is 120 hours, or 5 days
  55. verify-timeout: "120h"
  56. # callbacks to allow
  57. enabled-callbacks:
  58. - none # no verification needed, will instantly register successfully
  59. # whether account authentication is enabled
  60. authentication-enabled: true
  61. # operator classes
  62. oper-classes:
  63. # local operator
  64. "local-oper":
  65. # title shown in WHOIS
  66. title: Local Operator
  67. # capability names
  68. capabilities:
  69. - "oper:local_kill"
  70. - "oper:local_ban"
  71. - "oper:local_unban"
  72. # network operator
  73. "network-oper":
  74. # title shown in WHOIS
  75. title: Network Operator
  76. # oper class this extends from
  77. extends: "local-oper"
  78. # capability names
  79. capabilities:
  80. - "oper:remote_kill"
  81. - "oper:remote_ban"
  82. - "oper:remote_unban"
  83. # server admin
  84. "server-admin":
  85. # title shown in WHOIS
  86. title: Server Admin
  87. # oper class this extends from
  88. extends: "local-oper"
  89. # capability names
  90. capabilities:
  91. - "oper:rehash"
  92. - "oper:die"
  93. # ircd operators
  94. opers:
  95. # operator named 'dan'
  96. dan:
  97. # which capabilities this oper has access to
  98. class: "server-admin"
  99. # custom whois line
  100. whois-line: is a cool dude
  101. # custom hostname
  102. vhost: "n"
  103. # password to login with /OPER command
  104. # generated using "oragono genpasswd"
  105. password: JDJhJDA0JE1vZmwxZC9YTXBhZ3RWT2xBbkNwZnV3R2N6VFUwQUI0RUJRVXRBRHliZVVoa0VYMnlIaGsu
  106. # datastore configuration
  107. datastore:
  108. # path to the datastore
  109. path: ircd.db
  110. # limits - these need to be the same across the network
  111. limits:
  112. # nicklen is the max nick length allowed
  113. nicklen: 32
  114. # channellen is the max channel length allowed
  115. channellen: 64
  116. # awaylen is the maximum length of an away message
  117. awaylen: 200
  118. # kicklen is the maximum length of a kick message
  119. kicklen: 390
  120. # topiclen is the maximum length of a channel topic
  121. topiclen: 390
  122. # maximum number of monitor entries a client can have
  123. monitor-entries: 100
  124. # whowas entries to store
  125. whowas-entries: 100
  126. # maximum length of channel lists (beI modes)
  127. chan-list-modes: 60