]> git.somenet.org - root/pub/somesible.git/blob - roles/server/irc-services/files/default/memoserv.conf
[roles/server/irc-services] install anope
[root/pub/somesible.git] / roles / server / irc-services / files / default / memoserv.conf
1 #
2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
7 #
8
9 /*
10  * First, create the service.
11  * Note that an easy way to rename this service is to define{} the client name to something else.
12  */
13 service
14 {
15         nick = "MemoServ"
16         user = "memoserv"
17         host = "services.host"
18         gecos = "Memo Service"
19         #modes = "+o"
20 }
21
22 /*
23  * Core MemoServ module.
24  *
25  * Provides essential functionality for MemoServ.
26  */
27 module
28 {
29         name = "memoserv"
30         client = "MemoServ"
31         maxmemos = 128
32         senddelay = 5s
33 }
34
35 /*
36  * Core MemoServ commands.
37  *
38  * In Anope modules can provide (multiple) commands, each of which has a unique command name. Once these modules
39  * are loaded you can then configure the commands to be added to any client you like with any name you like.
40  *
41  * Additionally, you may provide a permission name that must be in the opertype of users executing the command.
42  *
43  * Sane defaults are provided below that do not need to be edited unless you wish to change the default behavior.
44  */
45
46 /* Give it a help command. */
47 command { service = "MemoServ"; name = "HELP"; command = "generic/help"; }
48
49 /*
50  * ms_cancel
51  *
52  * Provides the command memoserv/cancel.
53  *
54  * Used to cancel memos already sent but not yet read.
55  */
56 module { name = "ms_cancel" }
57 command { service = "MemoServ"; name = "CANCEL"; command = "memoserv/cancel"; }
58
59 /*
60  * ms_check
61  *
62  * Provides the command memoserv/check.
63  *
64  * Used to check if a sent memo has been read.
65  */
66 module { name = "ms_check" }
67 command { service = "MemoServ"; name = "CHECK"; command = "memoserv/check"; }
68
69 /*
70  * ms_del
71  *
72  * Provides the command memoserv/del.
73  *
74  * Used to delete your memos.
75  */
76 module { name = "ms_del" }
77 command { service = "MemoServ"; name = "DEL"; command = "memoserv/del"; }
78
79 /*
80  * ms_ignore
81  *
82  * Provides the command memoserv/ignore.
83  *
84  * Used to ignore memos from specific users.
85  */
86 module { name = "ms_ignore" }
87 command { service = "MemoServ"; name = "IGNORE"; command = "memoserv/ignore"; }
88
89 /*
90  * ms_info
91  *
92  * Provides the command memoserv/info.
93  *
94  * Used to show memo related information about an account or a channel.
95  */
96 module { name = "ms_info" }
97 command { service = "MemoServ"; name = "INFO"; command = "memoserv/info"; }
98
99 /*
100  * ms_list
101  *
102  * Provides the command memoserv/list.
103  *
104  * Used to list your current memos.
105  */
106 module { name = "ms_list" }
107 command { service = "MemoServ"; name = "LIST"; command = "memoserv/list"; }
108
109 /*
110  * ms_read
111  *
112  * Provides the command memoserv/read.
113  *
114  * Used to read your memos.
115  */
116 module { name = "ms_read" }
117 command { service = "MemoServ"; name = "READ"; command = "memoserv/read"; }
118
119 /*
120  * ms_rsend
121  *
122  * Provides the command memoserv/rsend.
123  *
124  * Used to send a memo requiring a receipt be sent back once it is read.
125  *
126  * Requires configuring memoserv:memoreceipt.
127  */
128 #module
129 {
130         name = "ms_rsend"
131
132         /*
133          * Only allow Services Operators to use ms_rsend.
134          *
135          * This directive is optional.
136          */
137         operonly = false
138 }
139 #command { service = "MemoServ"; name = "RSEND"; command = "memoserv/rsend"; }
140
141 /*
142  * ms_send
143  *
144  * Provides the command memoserv/send.
145  *
146  * Used to send memos.
147  */
148 module { name = "ms_send" }
149 command { service = "MemoServ"; name = "SEND"; command = "memoserv/send"; }
150
151 /*
152  * ms_sendall
153  *
154  * Provides the command memoserv/sendall.
155  *
156  * Used to send a mass memo to every registered user.
157  */
158 module { name = "ms_sendall" }
159 command { service = "MemoServ"; name = "SENDALL"; command = "memoserv/sendall"; permission = "memoserv/sendall"; }
160
161 /*
162  * ms_set
163  *
164  * Provides the command memoserv/set.
165  *
166  * Used to set settings such as how you are notified of new memos, and your memo limit.
167  */
168 module { name = "ms_set" }
169 command { service = "MemoServ"; name = "SET"; command = "memoserv/set"; }
170
171 /*
172  * ms_staff
173  *
174  * Provides the command memoserv/staff.
175  *
176  * Used to send a memo to all registered staff members.
177  */
178 module { name = "ms_staff" }
179 command { service = "MemoServ"; name = "STAFF"; command = "memoserv/staff"; permission = "memoserv/staff"; }