Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

oragono.yaml 4.0KB

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