Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- define {
- name = "services.host"
- value = "services.irc.***"
- }
- uplink {
- host = "127.0.0.1"
- ipv6 = no
- ssl = no
- port = 7001
- password = "***"
- }
- serverinfo {
- name = "services.irc.***"
- description = "Services for IRC Networks"
- #localhost = "nowhere."
- id = "00A"
- pid = "/var/run/anope/anope.pid"
- motd = "conf/services.motd"
- }
- module {
- name = "inspircd20"
- use_server_side_mlock = yes
- use_server_side_topiclock = yes
- }
- networkinfo {
- networkname = "Yoda-Dev"
- nicklen = 31
- userlen = 10
- hostlen = 64
- chanlen = 32
- modelistsize = 100
- #nick_chars = ""
- vhost_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-"
- allow_undotted_vhosts = false
- disallow_start_or_end = ".-"
- }
- options {
- user = "irc"
- group = "irc"
- casemap = "rfc1459"
- #seed = 2756283
- strictpasswords = yes
- badpasslimit = 5
- badpasstimeout = 1h
- updatetimeout = 5m
- expiretimeout = 30m
- readtimeout = 5s
- warningtimeout = 4h
- timeoutcheck = 3s
- #useprivmsg = yes
- #usestrictprivmsg = yes
- # Only allow ops to run stats
- #hidestatso = yes
- #ulineservers = "stats.your.network"
- retrywait = 60s
- hideprivilegedcommands = yes
- hideregisteredcommands = yes
- #regexengine = "regex/pcre"
- 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"
- #defaultlanguage = "es_ES.UTF-8"
- }
- # include
- {
- type = "file"
- name = "botserv.example.conf"
- }
- # include
- {
- type = "file"
- name = "chanserv.example.conf"
- }
- # include
- {
- type = "file"
- name = "global.example.conf"
- }
- # include
- {
- type = "file"
- name = "hostserv.example.conf"
- }
- # include
- {
- type = "file"
- name = "memoserv.example.conf"
- }
- include
- {
- type = "file"
- name = "nickserv.example.conf"
- }
- # include
- {
- type = "file"
- name = "operserv.example.conf"
- }
- log {
- target = "services.log"
- #target = "services.log #services"
- #source = ""
- bot = "Global"
- logage = 0
- /*
- * admin - Execution of admin commands (OperServ, etc).
- * override - A services operator using their powers to execute a command they couldn't normally.
- * commands - Execution of general commands.
- * servers - Server actions, linking, squitting, etc.
- * channels - Actions in channels such as joins, parts, kicks, etc.
- * users - User actions such as connecting, disconnecting, changing name, etc.
- * other - All other messages without a category.
- * rawio - Logs raw input and output from services
- * debug - Debug messages (log files can become VERY large from this).
- * These options determine what messages from the categories should be logged. Wildcards are accepted, and
- * you can also negate values with a ~. For example, "~operserv/akill operserv/*" would log all operserv
- * messages except for operserv/akill. Note that processing stops at the first matching option, which
- * means "* ~operserv/*" would log everything because * matches everything.
- * Valid admin, override, and command options are:
- * pesudo-serv/commandname (eg, operserv/akill, chanserv/set)
- * Valid server options are:
- * connect, quit, sync, squit
- * Valid channel options are:
- * create, destroy, join, part, kick, leave, mode
- * Valid user options are:
- * connect, disconnect, quit, nick, ident, host, mode, maxusers, oper, away
- * Rawio and debug are simple yes/no answers, there are no types for them.
- * Note that modules may add their own values to these options.
- */
- admin = "*"
- override = "* chanserv/* nickserv/* memoserv/set ~botserv/set botserv/*"
- commands = "* ~operserv/* *"
- servers = "*"
- #channels = "~mode *"
- users = "* connect disconnect nick"
- other = "*"
- rawio = no
- debug = yes
- }
- # log
- {
- target = "globops"
- 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"
- servers = "squit"
- users = "oper"
- other = "expire/* bados akill/*"
- }
- /*
- * Available privileges:
- * botserv/administration - Can view and assign private BotServ bots
- * botserv/fantasy - Can use fantasy commands without the FANTASIA privilege
- * chanserv/administration - Can modify the settings of any channel (including changing of the owner!)
- * chanserv/access/list - Can view channel access and akick lists, but not modify them
- * chanserv/access/modify - Can modify channel access and akick lists, and use /chanserv enforce
- * chanserv/auspex - Can see any information with /chanserv info
- * chanserv/no-register-limit - May register an unlimited number of channels and nicknames
- * chanserv/kick - Can kick and ban users from channels through ChanServ
- * memoserv/info - Can see any information with /memoserv info
- * memoserv/set-limit - Can set the limit of max stored memos on any user and channel
- * memoserv/no-limit - Can send memos through limits and throttles
- * nickserv/access - Can modify other users access and certificate lists
- * nickserv/alist - Can see the channel access list of other users
- * nickserv/auspex - Can see any information with /nickserv info
- * nickserv/confirm - Can confirm other users nicknames
- * nickserv/drop - Can drop other users nicks
- * operserv/config - Can modify services's configuration
- * operserv/oper/modify - Can add and remove operators with at most the same privileges
- * protected - Can not be kicked from channels by Services
- *
- * Available commands:
- * botserv/bot/del botserv/bot/add botserv/bot/change botserv/set/private
- * botserv/set/nobot*
- * chanserv/drop chanserv/getkey chanserv/invite
- * chanserv/list chanserv/suspend chanserv/topic
- * chanserv/saset/noexpire
- * memoserv/sendall memoserv/staff
- * nickserv/getpass nickserv/getemail nickserv/suspend nickserv/ajoin
- * nickserv/list
- * nickserv/saset/autoop nickserv/saset/email nickserv/saset/greet nickserv/saset/password
- * nickserv/saset/display nickserv/saset/kill nickserv/saset/language nickserv/saset/message
- * nickserv/saset/private nickserv/saset/secure nickserv/saset/url nickserv/saset/noexpire
- * nickserv/saset/keepmodes
- * hostserv/set hostserv/del hostserv/list
- * global/global
- * operserv/news operserv/stats operserv/kick operserv/exception operserv/seen
- * operserv/mode operserv/session operserv/modinfo operserv/ignore operserv/chanlist
- * operserv/chankill operserv/akill operserv/sqline operserv/snline operserv/userlist
- * operserv/oper operserv/config operserv/umode operserv/logsearch
- * operserv/modload operserv/jupe operserv/set operserv/noop
- * operserv/quit operserv/update operserv/reload operserv/restart
- * operserv/shutdown operserv/svs operserv/oline operserv/kill
- */
- # =============================================================
- # Operators and Types
- # =============================================================
- opertype
- {
- name = "Helper"
- commands = "hostserv/*"
- }
- opertype
- {
- name = "Services Operator"
- inherits = "Helper, Another Helper"
- 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"
- privs = "chanserv/auspex chanserv/no-register-limit memoserv/* nickserv/auspex nickserv/confirm"
- #modes = "+o"
- }
- opertype
- {
- name = "Services Administrator"
- inherits = "Services Operator"
- 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/*"
- privs = "*"
- }
- opertype
- {
- name = "Services Root"
- commands = "*"
- privs = "*"
- }
- # oper
- {
- #name = "nick1"
- type = "Services Root"
- require_oper = yes
- #password = "secret"
- #certfp = "ed3383b3f7d74e89433ddaa4a6e5b2d7"
- #host = "*@*.anope.org ident@*"
- #vhost = "oper.mynet"
- }
- # oper
- {
- name = "nick2"
- type = "Services Administrator"
- }
- # oper
- {
- name = "nick3"
- type = "Helper"
- }
- # =============================================================
- # Mail
- # =============================================================
- # mail
- {
- usemail = no
- sendmailpath = "/usr/sbin/sendmail -t"
- sendfrom = "no-reply@***.com"
- delay = 5m
- # Useful for qmail
- #dontquoteaddresses = yes
- registration_subject = "Nickname registration for %n"
- registration_message = "Hi,
- You have requested to register the nickname %n on %N.
- Please type \" /msg NickServ CONFIRM %c \" to complete registration.
- If you don't know why this mail was sent to you, please ignore it silently.
- %N administrators."
- reset_subject = "Reset password request for %n"
- reset_message = "Hi,
- You have requested to have the password for %n reset.
- To reset your password, type \" /msg NickServ CONFIRM %n %c \"
- If you don't know why this mail was sent to you, please ignore it silently.
- %N administrators."
- emailchange_subject = "Email confirmation"
- emailchange_message = "Hi,
- You have requested to change your email address from %e to %E.
- Please type \" /msg NickServ CONFIRM %c \" to confirm this change.
- If you don't know why this mail was sent to you, please ignore it silently.
- %N administrators."
- memo_subject = "New memo"
- memo_message = "Hi %n,
- You've just received a new memo from %s. This is memo number %d.
- Memo text:
- %t"
- }
- # module
- {
- name = "db_flatfile"
- database = "anope.db"
- keepbackups = 3
- #nobackupokay = yes
- fork = no
- }
- module
- {
- name = "m_sqlite"
- sqlite{
- engine = "sqlite/main"
- prefix = "anope_db_"
- import = false
- database = "anope.db"
- fork = no
- }
- }
- # Use redis as backend
- # module
- {
- name = "db_redis"
- engine = "redis/main"
- }
- # module
- {
- name = "enc_none"
- }
- # module
- {
- name = "enc_bcrypt"
- }
- module
- {
- name = "enc_sha256"
- }
- irc@yoda-dev:/var/run/anope/conf$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement