Advertisement
amansx

Untitled

Jul 21st, 2017
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.21 KB | None | 0 0
  1. define {
  2. name = "services.host"
  3. value = "services.irc.***"
  4. }
  5.  
  6. uplink {
  7. host = "127.0.0.1"
  8. ipv6 = no
  9. ssl = no
  10. port = 7001
  11. password = "***"
  12. }
  13.  
  14. serverinfo {
  15. name = "services.irc.***"
  16. description = "Services for IRC Networks"
  17. #localhost = "nowhere."
  18. id = "00A"
  19. pid = "/var/run/anope/anope.pid"
  20. motd = "conf/services.motd"
  21. }
  22.  
  23. module {
  24. name = "inspircd20"
  25. use_server_side_mlock = yes
  26. use_server_side_topiclock = yes
  27. }
  28.  
  29. networkinfo {
  30. networkname = "Yoda-Dev"
  31. nicklen = 31
  32. userlen = 10
  33. hostlen = 64
  34. chanlen = 32
  35. modelistsize = 100
  36. #nick_chars = ""
  37. vhost_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-"
  38. allow_undotted_vhosts = false
  39. disallow_start_or_end = ".-"
  40. }
  41.  
  42. options {
  43. user = "irc"
  44. group = "irc"
  45. casemap = "rfc1459"
  46. #seed = 2756283
  47. strictpasswords = yes
  48. badpasslimit = 5
  49. badpasstimeout = 1h
  50. updatetimeout = 5m
  51. expiretimeout = 30m
  52. readtimeout = 5s
  53. warningtimeout = 4h
  54. timeoutcheck = 3s
  55. #useprivmsg = yes
  56. #usestrictprivmsg = yes
  57. # Only allow ops to run stats
  58. #hidestatso = yes
  59. #ulineservers = "stats.your.network"
  60. retrywait = 60s
  61. hideprivilegedcommands = yes
  62. hideregisteredcommands = yes
  63. #regexengine = "regex/pcre"
  64. languages = "ca_ES.UTF-8 de_DE.UTF-8 el_GR.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 hu_HU.UTF-8 it_IT.UTF-8 nl_NL.UTF-8 pl_PL.UTF-8 pt_PT.UTF-8 ru_RU.UTF-8 tr_TR.UTF-8"
  65. #defaultlanguage = "es_ES.UTF-8"
  66. }
  67.  
  68. # include
  69. {
  70. type = "file"
  71. name = "botserv.example.conf"
  72. }
  73.  
  74. # include
  75. {
  76. type = "file"
  77. name = "chanserv.example.conf"
  78. }
  79.  
  80. # include
  81. {
  82. type = "file"
  83. name = "global.example.conf"
  84. }
  85.  
  86. # include
  87. {
  88. type = "file"
  89. name = "hostserv.example.conf"
  90. }
  91.  
  92. # include
  93. {
  94. type = "file"
  95. name = "memoserv.example.conf"
  96. }
  97.  
  98. include
  99. {
  100. type = "file"
  101. name = "nickserv.example.conf"
  102. }
  103.  
  104. # include
  105. {
  106. type = "file"
  107. name = "operserv.example.conf"
  108. }
  109.  
  110.  
  111. log {
  112.  
  113. target = "services.log"
  114. #target = "services.log #services"
  115. #source = ""
  116. bot = "Global"
  117. logage = 0
  118.  
  119. /*
  120. * admin - Execution of admin commands (OperServ, etc).
  121. * override - A services operator using their powers to execute a command they couldn't normally.
  122. * commands - Execution of general commands.
  123. * servers - Server actions, linking, squitting, etc.
  124. * channels - Actions in channels such as joins, parts, kicks, etc.
  125. * users - User actions such as connecting, disconnecting, changing name, etc.
  126. * other - All other messages without a category.
  127. * rawio - Logs raw input and output from services
  128. * debug - Debug messages (log files can become VERY large from this).
  129. * These options determine what messages from the categories should be logged. Wildcards are accepted, and
  130. * you can also negate values with a ~. For example, "~operserv/akill operserv/*" would log all operserv
  131. * messages except for operserv/akill. Note that processing stops at the first matching option, which
  132. * means "* ~operserv/*" would log everything because * matches everything.
  133. * Valid admin, override, and command options are:
  134. * pesudo-serv/commandname (eg, operserv/akill, chanserv/set)
  135. * Valid server options are:
  136. * connect, quit, sync, squit
  137. * Valid channel options are:
  138. * create, destroy, join, part, kick, leave, mode
  139. * Valid user options are:
  140. * connect, disconnect, quit, nick, ident, host, mode, maxusers, oper, away
  141. * Rawio and debug are simple yes/no answers, there are no types for them.
  142. * Note that modules may add their own values to these options.
  143. */
  144.  
  145. admin = "*"
  146. override = "* chanserv/* nickserv/* memoserv/set ~botserv/set botserv/*"
  147. commands = "* ~operserv/* *"
  148. servers = "*"
  149. #channels = "~mode *"
  150. users = "* connect disconnect nick"
  151. other = "*"
  152. rawio = no
  153. debug = yes
  154. }
  155.  
  156. # log
  157. {
  158. target = "globops"
  159. admin = "global/* operserv/chankill operserv/mode operserv/kick operserv/akill operserv/s*line operserv/noop operserv/jupe operserv/oline operserv/set operserv/svsnick operserv/svsjoin operserv/svspart nickserv/getpass */drop"
  160. servers = "squit"
  161. users = "oper"
  162. other = "expire/* bados akill/*"
  163. }
  164.  
  165. /*
  166. * Available privileges:
  167. * botserv/administration - Can view and assign private BotServ bots
  168. * botserv/fantasy - Can use fantasy commands without the FANTASIA privilege
  169. * chanserv/administration - Can modify the settings of any channel (including changing of the owner!)
  170. * chanserv/access/list - Can view channel access and akick lists, but not modify them
  171. * chanserv/access/modify - Can modify channel access and akick lists, and use /chanserv enforce
  172. * chanserv/auspex - Can see any information with /chanserv info
  173. * chanserv/no-register-limit - May register an unlimited number of channels and nicknames
  174. * chanserv/kick - Can kick and ban users from channels through ChanServ
  175. * memoserv/info - Can see any information with /memoserv info
  176. * memoserv/set-limit - Can set the limit of max stored memos on any user and channel
  177. * memoserv/no-limit - Can send memos through limits and throttles
  178. * nickserv/access - Can modify other users access and certificate lists
  179. * nickserv/alist - Can see the channel access list of other users
  180. * nickserv/auspex - Can see any information with /nickserv info
  181. * nickserv/confirm - Can confirm other users nicknames
  182. * nickserv/drop - Can drop other users nicks
  183. * operserv/config - Can modify services's configuration
  184. * operserv/oper/modify - Can add and remove operators with at most the same privileges
  185. * protected - Can not be kicked from channels by Services
  186. *
  187. * Available commands:
  188. * botserv/bot/del botserv/bot/add botserv/bot/change botserv/set/private
  189. * botserv/set/nobot*
  190. * chanserv/drop chanserv/getkey chanserv/invite
  191. * chanserv/list chanserv/suspend chanserv/topic
  192. * chanserv/saset/noexpire
  193. * memoserv/sendall memoserv/staff
  194. * nickserv/getpass nickserv/getemail nickserv/suspend nickserv/ajoin
  195. * nickserv/list
  196. * nickserv/saset/autoop nickserv/saset/email nickserv/saset/greet nickserv/saset/password
  197. * nickserv/saset/display nickserv/saset/kill nickserv/saset/language nickserv/saset/message
  198. * nickserv/saset/private nickserv/saset/secure nickserv/saset/url nickserv/saset/noexpire
  199. * nickserv/saset/keepmodes
  200. * hostserv/set hostserv/del hostserv/list
  201. * global/global
  202. * operserv/news operserv/stats operserv/kick operserv/exception operserv/seen
  203. * operserv/mode operserv/session operserv/modinfo operserv/ignore operserv/chanlist
  204. * operserv/chankill operserv/akill operserv/sqline operserv/snline operserv/userlist
  205. * operserv/oper operserv/config operserv/umode operserv/logsearch
  206. * operserv/modload operserv/jupe operserv/set operserv/noop
  207. * operserv/quit operserv/update operserv/reload operserv/restart
  208. * operserv/shutdown operserv/svs operserv/oline operserv/kill
  209. */
  210.  
  211. # =============================================================
  212. # Operators and Types
  213. # =============================================================
  214. opertype
  215. {
  216. name = "Helper"
  217. commands = "hostserv/*"
  218. }
  219.  
  220. opertype
  221. {
  222. name = "Services Operator"
  223. inherits = "Helper, Another Helper"
  224. commands = "chanserv/list chanserv/suspend chanserv/topic memoserv/staff nickserv/list nickserv/suspend operserv/mode operserv/chankill operserv/akill operserv/session operserv/modinfo operserv/sqline operserv/oper operserv/kick operserv/ignore operserv/snline"
  225. privs = "chanserv/auspex chanserv/no-register-limit memoserv/* nickserv/auspex nickserv/confirm"
  226. #modes = "+o"
  227. }
  228.  
  229. opertype
  230. {
  231. name = "Services Administrator"
  232. inherits = "Services Operator"
  233. commands = "botserv/* chanserv/access/list chanserv/drop chanserv/getkey chanserv/saset/noexpire memoserv/sendall nickserv/saset/* nickserv/getemail operserv/news operserv/jupe operserv/svs operserv/stats operserv/oline operserv/noop operserv/forbid global/*"
  234. privs = "*"
  235. }
  236.  
  237. opertype
  238. {
  239. name = "Services Root"
  240. commands = "*"
  241. privs = "*"
  242. }
  243.  
  244. # oper
  245. {
  246. #name = "nick1"
  247. type = "Services Root"
  248. require_oper = yes
  249. #password = "secret"
  250. #certfp = "ed3383b3f7d74e89433ddaa4a6e5b2d7"
  251. #host = "*@*.anope.org ident@*"
  252. #vhost = "oper.mynet"
  253. }
  254.  
  255. # oper
  256. {
  257. name = "nick2"
  258. type = "Services Administrator"
  259. }
  260.  
  261. # oper
  262. {
  263. name = "nick3"
  264. type = "Helper"
  265. }
  266.  
  267. # =============================================================
  268. # Mail
  269. # =============================================================
  270. # mail
  271. {
  272. usemail = no
  273. sendmailpath = "/usr/sbin/sendmail -t"
  274. sendfrom = "no-reply@***.com"
  275. delay = 5m
  276. # Useful for qmail
  277. #dontquoteaddresses = yes
  278. registration_subject = "Nickname registration for %n"
  279. registration_message = "Hi,
  280. You have requested to register the nickname %n on %N.
  281. Please type \" /msg NickServ CONFIRM %c \" to complete registration.
  282. If you don't know why this mail was sent to you, please ignore it silently.
  283. %N administrators."
  284.  
  285. reset_subject = "Reset password request for %n"
  286. reset_message = "Hi,
  287. You have requested to have the password for %n reset.
  288. To reset your password, type \" /msg NickServ CONFIRM %n %c \"
  289. If you don't know why this mail was sent to you, please ignore it silently.
  290. %N administrators."
  291.  
  292. emailchange_subject = "Email confirmation"
  293. emailchange_message = "Hi,
  294. You have requested to change your email address from %e to %E.
  295. Please type \" /msg NickServ CONFIRM %c \" to confirm this change.
  296. If you don't know why this mail was sent to you, please ignore it silently.
  297. %N administrators."
  298.  
  299. memo_subject = "New memo"
  300. memo_message = "Hi %n,
  301. You've just received a new memo from %s. This is memo number %d.
  302. Memo text:
  303. %t"
  304. }
  305.  
  306. # module
  307. {
  308. name = "db_flatfile"
  309. database = "anope.db"
  310. keepbackups = 3
  311. #nobackupokay = yes
  312. fork = no
  313. }
  314.  
  315. module
  316. {
  317. name = "m_sqlite"
  318. sqlite{
  319. engine = "sqlite/main"
  320. prefix = "anope_db_"
  321. import = false
  322. database = "anope.db"
  323. fork = no
  324. }
  325. }
  326.  
  327. # Use redis as backend
  328. # module
  329. {
  330. name = "db_redis"
  331. engine = "redis/main"
  332. }
  333.  
  334. # module
  335. {
  336. name = "enc_none"
  337. }
  338. # module
  339. {
  340. name = "enc_bcrypt"
  341. }
  342. module
  343. {
  344. name = "enc_sha256"
  345. }
  346. irc@yoda-dev:/var/run/anope/conf$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement