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>
10 * First, create the service.
11 * Note that an easy way to rename this service is to define{} the client name to something else.
17 host = "services.host"
18 gecos = "vHost Service"
23 * Core HostServ module.
25 * Provides essential functionality for HostServ.
31 activate_on_set = true
35 * Core HostServ commands.
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.
40 * Additionally, you may provide a permission name that must be in the opertype of users executing the command.
42 * Sane defaults are provided below that do not need to be edited unless you wish to change the default behavior.
45 /* Give it a help command. */
46 command { service = "HostServ"; name = "HELP"; command = "generic/help"; }
51 * Provides the commands hostserv/del and hostserv/delall.
53 * Used for removing users' vHosts.
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"; }
62 * Provides the command hostserv/group.
64 * Used for grouping one vHost to many nicks.
71 * Upon nickserv/group, this option syncs the nick's main vHost to the grouped nick.
76 * This makes vhosts act as if they are per account.
80 command { service = "HostServ"; name = "GROUP"; command = "hostserv/group"; }
85 * Provides the command hostserv/list.
87 * Used for listing actively set vHosts.
89 module { name = "hs_list" }
90 command { service = "HostServ"; name = "LIST"; command = "hostserv/list"; permission = "hostserv/list"; }
95 * Provides the command hostserv/off.
97 * Used for turning off your vHost.
99 module { name = "hs_off" }
100 command { service = "HostServ"; name = "OFF"; command = "hostserv/off"; }
105 * Provides the command hostserv/on.
107 * Used for turning on your vHost.
109 module { name = "hs_on" }
110 command { service = "HostServ"; name = "ON"; command = "hostserv/on"; }
115 * Provides the commands hostserv/request, hostserv/active, hostserv/reject, and hostserv/waiting.
117 * Used to manage vHosts requested by users.
124 * If set, Services will send a memo to the user requesting a vHost when it's been
125 * approved or rejected.
130 * If set, Services will send a memo to all Services staff when a new vHost is requested.
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"; }
142 * Provides the commands hostserv/set and hostserv/setall.
144 * Used for setting users' vHosts.
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"; }