]> git.somenet.org - root/pub/somesible.git/blob - roles/server/irc-services/files/default/hostserv.conf
[roles/util/letsencrypt-cert] request letsencrypt-cert helper role
[root/pub/somesible.git] / roles / server / irc-services / files / default / hostserv.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 = "HostServ"
16         user = "hostserv"
17         host = "services.host"
18         gecos = "vHost Service"
19         #modes = "+o"
20 }
21
22 /*
23  * Core HostServ module.
24  *
25  * Provides essential functionality for HostServ.
26  */
27 module
28 {
29         name = "hostserv"
30         client = "HostServ"
31         activate_on_set = true
32 }
33
34 /*
35  * Core HostServ commands.
36  *
37  * In Anope modules can provide (multiple) commands, each of which has a unique command name. Once these modules
38  * are loaded you can then configure the commands to be added to any client you like with any name you like.
39  *
40  * Additionally, you may provide a permission name that must be in the opertype of users executing the command.
41  *
42  * Sane defaults are provided below that do not need to be edited unless you wish to change the default behavior.
43  */
44
45 /* Give it a help command. */
46 command { service = "HostServ"; name = "HELP"; command = "generic/help"; }
47
48 /*
49  * hs_del
50  *
51  * Provides the commands hostserv/del and hostserv/delall.
52  *
53  * Used for removing users' vHosts.
54  */
55 module { name = "hs_del" }
56 command { service = "HostServ"; name = "DEL"; command = "hostserv/del"; permission = "hostserv/del"; }
57 command { service = "HostServ"; name = "DELALL"; command = "hostserv/delall"; permission = "hostserv/del"; }
58
59 /*
60  * hs_group
61  *
62  * Provides the command hostserv/group.
63  *
64  * Used for grouping one vHost to many nicks.
65  */
66 module
67 {
68         name = "hs_group"
69
70         /*
71          * Upon nickserv/group, this option syncs the nick's main vHost to the grouped nick.
72          */
73         syncongroup = false
74
75         /*
76          * This makes vhosts act as if they are per account.
77          */
78         synconset = false
79 }
80 command { service = "HostServ"; name = "GROUP"; command = "hostserv/group"; }
81
82 /*
83  * hs_list
84  *
85  * Provides the command hostserv/list.
86  *
87  * Used for listing actively set vHosts.
88  */
89 module { name = "hs_list" }
90 command { service = "HostServ"; name = "LIST"; command = "hostserv/list"; permission = "hostserv/list"; }
91
92 /*
93  * hs_off
94  *
95  * Provides the command hostserv/off.
96  *
97  * Used for turning off your vHost.
98  */
99 module { name = "hs_off" }
100 command { service = "HostServ"; name = "OFF"; command = "hostserv/off"; }
101
102 /*
103  * hs_on
104  *
105  * Provides the command hostserv/on.
106  *
107  * Used for turning on your vHost.
108  */
109 module { name = "hs_on" }
110 command { service = "HostServ"; name = "ON"; command = "hostserv/on"; }
111
112 /*
113  * hs_request
114  *
115  * Provides the commands hostserv/request, hostserv/active, hostserv/reject, and hostserv/waiting.
116  *
117  * Used to manage vHosts requested by users.
118  */
119 module
120 {
121         name = "hs_request"
122
123         /*
124          * If set, Services will send a memo to the user requesting a vHost when it's been
125          * approved or rejected.
126          */
127         memouser = yes
128
129         /*
130          * If set, Services will send a memo to all Services staff when a new vHost is requested.
131          */
132         memooper = yes
133 }
134 command { service = "HostServ"; name = "REQUEST"; command = "hostserv/request"; }
135 command { service = "HostServ"; name = "ACTIVATE"; command = "hostserv/activate"; permission = "hostserv/set"; }
136 command { service = "HostServ"; name = "REJECT"; command = "hostserv/reject"; permission = "hostserv/set"; }
137 command { service = "HostServ"; name = "WAITING"; command = "hostserv/waiting"; permission = "hostserv/set"; }
138
139 /*
140  * hs_set
141  *
142  * Provides the commands hostserv/set and hostserv/setall.
143  *
144  * Used for setting users' vHosts.
145  */
146 module { name = "hs_set" }
147 command { service = "HostServ"; name = "SET"; command = "hostserv/set"; permission = "hostserv/set"; }
148 command { service = "HostServ"; name = "SETALL"; command = "hostserv/setall"; permission = "hostserv/set"; }