2.0/Modules/os config

From AnopeWiki
Jump to: navigation, search
Language

English

Service OperServ
Module os_config
Author Anope

Description

Allows you to change and view configuration settings. Settings changed by this command are temporary and will not be reflected back into the configuration file, and will be lost if Anope is shut down, restarted, or the configuration is reloaded.

NOTE: Access to this command requires the permission operserv/config to be present in your opertype.

Commands

config {MODIFY|VIEW} [block name item name item value]

Examples

/msg OperServ CONFIG VIEW

/msg OperServ CONFIG MODIFY nickserv forcemail no

Default Configuration

/*
 * os_config
 *
 * Provides the command operserv/config.
 *
 * Used to view and set configuration options while services are running.
 */
module { name = "os_config" }
command { service = "OperServ"; name = "CONFIG"; command = "operserv/config"; permission = "operserv/config"; }