InspIRCd v4 is still early in development!
If you use this branch you may experience crashes, weird behaviour, and unannounced breaking changes.
You probably want to use InspIRCd v3 instead.
The "globalload" Module (v4)
Description
This module adds the /GLOADMODULE
, /GRELOADMODULE
, and /GUNLOADMODULE
commands which allows server operators to load, reload, and unload modules on remote servers.
Configuration
To load this module use the following <module>
tag:
<module name="globalload">
This module requires no other configuration.
Commands
Name | Parameter Count | Syntax | Description |
---|---|---|---|
GLOADMODULE | 1-2 | <module> [<server>] | Loads <module> on servers matching the <server> glob pattern. If no pattern is given then it is loaded on all servers. |
GRELOADMODULE | 1-2 | <module> [<server>] | Reloads <module> on servers matching the <server> glob pattern. If no pattern is given then it is reloaded on all servers. |
GUNLOADMODULE | 1-2 | <module> [<server>] | Unloads <module> on servers matching the <server> glob pattern. If no pattern is given then it is unloaded on all servers. |
Example Usage
Loads the botmode module on all servers:
/GLOADMODULE botmode
Loads the botmode module on servers matching *.eu.example.com:
/GLOADMODULE botmode *.eu.example.com
Reloads the check module on all servers:
/GRELOADMODULE check
Reloads the check module on servers matching *.na.example.com:
/GRELOADMODULE check *.na.example.com
Unloads the samode module on all servers:
/GUNLOADMODULE samode
Unloads the samode module on servers matching *.sea.example.com:
/GUNLOADMODULE samode *.sea.example.com