2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2025 by someone <someone@somenet.org>
10 * First, create the service.
15 * The name of the MemoServ client.
16 * If you change this value, you probably want to change the client directive in the configuration for the memoserv module too.
21 * The username of the MemoServ client.
26 * The hostname of the MemoServ client.
28 host = "services.host"
31 * The realname of the MemoServ client.
33 gecos = "Memo Service"
36 * The modes this client should use.
37 * Do not modify this unless you know what you are doing.
39 * These modes are very IRCd specific. If left commented, sane defaults
40 * are used based on what protocol module you have loaded.
42 * Note that setting this option incorrectly could potentially BREAK some, if
43 * not all, usefulness of the client. We will not support you if this client is
44 * unable to do certain things if this option is enabled.
49 * An optional comma separated list of channels this service should join. Outside
50 * of log channels this is not very useful, as the service will just idle in the
51 * specified channels, and will not accept any types of commands.
53 * Prefixes may be given to the channels in the form of mode characters or prefix symbols.
55 #channels = "@#services,#mychan"
59 * Core MemoServ module.
61 * Provides essential functionality for MemoServ.
67 * The name of the client that should be MemoServ. Clients are configured
68 * with the service blocks.
73 * The maximum number of memos a user is allowed to keep by default. Normal users may set the
74 * limit anywhere between 0 and this value. Services Admins can change it to any value or
77 * This directive is optional, but recommended. If not set, the limit is disabled
78 * by default, and normal users can set any limit they want.
83 * The delay between consecutive uses of the MemoServ SEND command. This can help prevent spam
84 * as well as denial-of-service attacks from sending large numbers of memos and filling up disk
85 * space (and memory). The default 3-second wait means a maximum average of 150 bytes of memo
86 * per second per user under the current IRC protocol.
88 * This directive is optional, but recommended.
94 * Core MemoServ commands.
96 * In Anope modules can provide (multiple) commands, each of which has a unique command name. Once these modules
97 * are loaded you can then configure the commands to be added to any client you like with any name you like.
99 * Additionally, you may provide a permission name that must be in the opertype of users executing the command.
101 * Sane defaults are provided below that do not need to be edited unless you wish to change the default behavior.
104 /* Give it a help command. */
105 command { service = "MemoServ"; name = "HELP"; command = "generic/help"; }
110 * Provides the command memoserv/cancel.
112 * Used to cancel memos already sent but not yet read.
114 module { name = "ms_cancel" }
115 command { service = "MemoServ"; name = "CANCEL"; command = "memoserv/cancel"; }
120 * Provides the command memoserv/check.
122 * Used to check if a sent memo has been read.
124 module { name = "ms_check" }
125 command { service = "MemoServ"; name = "CHECK"; command = "memoserv/check"; }
130 * Provides the command memoserv/del.
132 * Used to delete your memos.
134 module { name = "ms_del" }
135 command { service = "MemoServ"; name = "DEL"; command = "memoserv/del"; }
140 * Provides the command memoserv/ignore.
142 * Used to ignore memos from specific users.
149 * The maximum number of entries that may be on a memo ignore list.
151 * This directive is optional.
155 command { service = "MemoServ"; name = "IGNORE"; command = "memoserv/ignore"; }
160 * Provides the command memoserv/info.
162 * Used to show memo related information about an account or a channel.
164 module { name = "ms_info" }
165 command { service = "MemoServ"; name = "INFO"; command = "memoserv/info"; }
170 * Provides the command memoserv/list.
172 * Used to list your current memos.
174 module { name = "ms_list" }
175 command { service = "MemoServ"; name = "LIST"; command = "memoserv/list"; }
180 * Provides the command memoserv/read.
182 * Used to read your memos.
184 module { name = "ms_read" }
185 command { service = "MemoServ"; name = "READ"; command = "memoserv/read"; }
190 * Provides the command memoserv/rsend.
192 * Used to send a memo requiring a receipt be sent back once it is read.
194 * Requires configuring memoserv:memoreceipt.
201 * Only allow Services Operators to use ms_rsend.
203 * This directive is optional.
207 #command { service = "MemoServ"; name = "RSEND"; command = "memoserv/rsend"; }
212 * Provides the command memoserv/send.
214 * Used to send memos.
216 module { name = "ms_send" }
217 command { service = "MemoServ"; name = "SEND"; command = "memoserv/send"; }
222 * Provides the command memoserv/sendall.
224 * Used to send a mass memo to every registered user.
226 module { name = "ms_sendall" }
227 command { service = "MemoServ"; name = "SENDALL"; command = "memoserv/sendall"; permission = "memoserv/sendall"; }
232 * Provides the command memoserv/set.
234 * Used to set settings such as how you are notified of new memos, and your memo limit.
236 module { name = "ms_set" }
237 command { service = "MemoServ"; name = "SET"; command = "memoserv/set"; }
242 * Provides the command memoserv/staff.
244 * Used to send a memo to all registered staff members.
246 module { name = "ms_staff" }
247 command { service = "MemoServ"; name = "STAFF"; command = "memoserv/staff"; permission = "memoserv/staff"; }