Skip to content

plugin_enable

Turn on a plugin that was disabled, and load it. Its slash commands become available again.

{
"cmd": "plugin_enable",
"name": "hello"
}
Field Type Required Description
name string Yes Name of an installed plugin.
{
"cmd": "plugin_enable",
"val": true
}

The server sets enabled: true in the plugin’s plugin.json, then loads it. If it declares slash commands, every authenticated connection receives slash_add with them. The change is recorded in the audit log.

Requires manage_server. It is blocked while you are timed out.

val When
Invalid plugin name name has characters other than letters, digits, _, and -.
Plugin '<name>' is not installed There is no readable plugin.json for that name.
Unable to save plugin manifest The server couldn’t write plugin.json.
Manifest or source error The plugin failed to load. The messages are listed on plugin_install.
Validation message name is missing, blank, or longer than 64 characters.