# urbestack-plugin-set

First published 29 Oct 2026 (release 0.2.19) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-plugin-set --name NAME --enabled on|off
```

## Description

Enables or disables a registered plugin. --enabled off revokes all its API tokens, including its key and viewer tickets, removes its pages from the web interface navigation and nginx, and stops its hooks from running. --enabled on restores its pages and hooks and writes a new API key to its key file. The command refuses a request for the plugin's current state.

Enabling requires the manifest at its registered path. If it is missing, run the vendor's installer again or remove the registration with urbestack-plugin-del --name NAME. If enabling the plugin would serve the first active plugin pages and the port is unavailable, set plugins.port to a free port in Settings or run urbestack-setting-set --key plugins.port --value N.

## Same in the API

- [PATCH /plugins/{name}](https://urbestack.com/docs/api/patch-plugins-name.md): Enable or disable a registered plugin

## Command family: plugin

- [urbestack-plugin-add](https://urbestack.com/docs/commands/urbestack-plugin-add.md): Registers and enables a new plugin or updates an existing registration from its manifest.
- [urbestack-plugin-catalog](https://urbestack.com/docs/commands/urbestack-plugin-catalog.md): Prints this server's cached catalog of plugins published on the license server.
- [urbestack-plugin-del](https://urbestack.com/docs/commands/urbestack-plugin-del.md): Removes a plugin's registration from this server.
- [urbestack-plugin-get](https://urbestack.com/docs/commands/urbestack-plugin-get.md): Fetches and installs a plugin from the license server this UrbeStack installation uses.
- [urbestack-plugin-key](https://urbestack.com/docs/commands/urbestack-plugin-key.md): Rotates the plugin daemon's API key and revokes the previous key immediately.
- [urbestack-plugin-list](https://urbestack.com/docs/commands/urbestack-plugin-list.md): Lists every registered plugin and the port for plugin pages.
- [urbestack-plugin-ticket](https://urbestack.com/docs/commands/urbestack-plugin-ticket.md): Issues a one-hour ticket that the UrbeStack web interface passes to a plugin's page in a frame.
