2.0/Modules/os module

From AnopeWiki
Jump to: navigation, search
Language

English

Service OperServ
Module os_module
Author Anope

Description

MODLOAD 
This command loads the module named modname from the modules directory.
MODRELOAD 
This command reloads the module named modname.
MODUNLOAD 
This command unloads the module named modname.
  • NOTE: Access to these commands require the permission operserv/modload to be present in your opertype.

Commands

modload modname
modreload modname
modunload modname

Examples

/msg OperServ MODLOAD m_dns

/msg OperServ MODRELOAD m_dns

/msg OperServ MODUNLOAD m_dns

Default Configuration

/*
 * os_module
 *
 * Provides the commands operserv/modload, operserv/modreload, and operserv/modunload.
 *
 * Used to load, reload, and unload modules.
 */
module { name = "os_module" }
command { service = "OperServ"; name = "MODLOAD"; command = "operserv/modload"; permission = "operserv/modload"; }
command { service = "OperServ"; name = "MODRELOAD"; command = "operserv/modreload"; permission = "operserv/modload"; }
command { service = "OperServ"; name = "MODUNLOAD"; command = "operserv/modunload"; permission = "operserv/modload"; }