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 HostServ client.
16 * If you change this value, you probably want to change the client directive in the configuration for the hostserv module too.
21 * The username of the HostServ client.
26 * The hostname of the HostServ client.
28 host = "services.host"
31 * The realname of the HostServ client.
33 gecos = "vHost 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 HostServ module.
61 * Provides essential functionality for HostServ.
68 * The name of the client that should be HostServ.
73 * If enabled, vhosts are activated on users immediately when they are set.
75 activate_on_set = true
79 * Core HostServ commands.
81 * In Anope modules can provide (multiple) commands, each of which has a unique command name. Once these modules
82 * are loaded you can then configure the commands to be added to any client you like with any name you like.
84 * Additionally, you may provide a permission name that must be in the opertype of users executing the command.
86 * Sane defaults are provided below that do not need to be edited unless you wish to change the default behavior.
89 /* Give it a help command. */
90 command { service = "HostServ"; name = "HELP"; command = "generic/help"; }
95 * Provides the commands hostserv/del and hostserv/delall.
97 * Used for removing users' vHosts.
99 module { name = "hs_del" }
100 command { service = "HostServ"; name = "DEL"; command = "hostserv/del"; permission = "hostserv/del"; }
101 command { service = "HostServ"; name = "DELALL"; command = "hostserv/delall"; permission = "hostserv/del"; }
106 * Provides the command hostserv/group.
108 * Used for grouping one vHost to many nicks.
115 * Upon nickserv/group, this option syncs the nick's main vHost to the grouped nick.
120 * This makes vhosts act as if they are per account.
124 command { service = "HostServ"; name = "GROUP"; command = "hostserv/group"; }
129 * Provides the command hostserv/list.
131 * Used for listing actively set vHosts.
133 module { name = "hs_list" }
134 command { service = "HostServ"; name = "LIST"; command = "hostserv/list"; permission = "hostserv/list"; }
139 * Provides the command hostserv/off.
141 * Used for turning off your vHost.
143 module { name = "hs_off" }
144 command { service = "HostServ"; name = "OFF"; command = "hostserv/off"; }
149 * Provides the command hostserv/on.
151 * Used for turning on your vHost.
153 module { name = "hs_on" }
154 command { service = "HostServ"; name = "ON"; command = "hostserv/on"; }
159 * Provides the commands hostserv/request, hostserv/activate, hostserv/reject, and hostserv/waiting.
161 * Used to manage vHosts requested by users.
168 * If set, Services will send a memo to the user requesting a vHost when it's been
169 * approved or rejected.
174 * If set, Services will send a memo to all Services staff when a new vHost is requested.
178 command { service = "HostServ"; name = "REQUEST"; command = "hostserv/request"; }
179 command { service = "HostServ"; name = "ACTIVATE"; command = "hostserv/activate"; permission = "hostserv/set"; }
180 command { service = "HostServ"; name = "REJECT"; command = "hostserv/reject"; permission = "hostserv/set"; }
181 command { service = "HostServ"; name = "WAITING"; command = "hostserv/waiting"; permission = "hostserv/set"; }
186 * Provides the commands hostserv/set and hostserv/setall.
188 * Used for setting users' vHosts.
190 module { name = "hs_set" }
191 command { service = "HostServ"; name = "SET"; command = "hostserv/set"; permission = "hostserv/set"; }
192 command { service = "HostServ"; name = "SETALL"; command = "hostserv/setall"; permission = "hostserv/set"; }