2.0/Modules/hs request

From AnopeWiki
Jump to: navigation, search
Language

English

Service HostServ
Module hs_request
Author Anope

Description

REQUEST 
Request the given vHost to be actived for your nick by the network administrators. Please be patient while your request is being considered.
ACTIVATE 
Activate the requested vHost for the given nick. NOTE: Access to this command requires the permission hostserv/set to be present in your opertype.
REJECT 
Reject the requested vHost for the given nick. NOTE: Access to this command requires the permission hostserv/set to be present in your opertype.
WAITING 
This command retrieves the vhost requests. NOTE: Access to this command requires the permission hostserv/set to be present in your opertype.

Commands

request vhost
activate nick
reject nick [reason]
waiting

Examples

/msg HostServ REQUEST I.am.Fred

/msg HostServ WAITING

/msg HostServ REJECT Fred We do not allow vhosts of that nature.

/msg HostServ ACTIVATE Fred

Default Configuration

/*
 * hs_request
 *
 * Provides the commands hostserv/request, hostserv/activate, hostserv/reject, and hostserv/waiting.
 *
 * Used to manage vHosts requested by users.
 */
module
{
        name = "hs_request"
 
        /*
         * If set, Services will send a memo to the user requesting a vHost when it's been
         * approved or rejected.
         */
        #memouser = yes
 
        /*
         * If set, Services will send a memo to all Services staff when a new vHost is requested.
         */
        #memooper = yes
}
command { service = "HostServ"; name = "REQUEST"; command = "hostserv/request"; }
command { service = "HostServ"; name = "ACTIVATE"; command = "hostserv/activate"; permission = "hostserv/set"; }
command { service = "HostServ"; name = "REJECT"; command = "hostserv/reject"; permission = "hostserv/set"; }
command { service = "HostServ"; name = "WAITING"; command = "hostserv/waiting"; permission = "hostserv/set"; }