> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rpgmobs.frotty27.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Commands

> Admin command reference and permissions.

## Admin Commands

All commands require operator permissions by default.

| Command                                 | Description                                                                                                                                                                                                        |
| :-------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `/rpgmobs reload`                       | Reloads all YAML configuration files from disk. Spawn logic updates immediately. Existing elites are reconciled on their next tick.                                                                                |
| `/rpgmobs config`                       | Opens the in-game Admin UI for visual configuration. See the [Admin UI guide](/config/admin-ui) for details.                                                                                                       |
| `/rpgmobs spawn <role> <tier> [weapon]` | Spawns an elite NPC with the specified role and tier at your location. Optional weapon category override (sword, longsword, dagger, axe, battleaxe, mace, club, spear). Only available when debug mode is enabled. |
| `/npc clean --confirm`                  | Removes all Elite entities from the world. This is a destructive action and requires the `--confirm` flag. Useful for debugging or when uninstalling the mod.                                                      |

## Permissions

| Permission       | What it allows                                          |
| :--------------- | :------------------------------------------------------ |
| `rpgmobs.reload` | Use the `/rpgmobs reload` command.                      |
| `rpgmobs.config` | Use the `/rpgmobs config` command to open the Admin UI. |
| `rpgmobs.spawn`  | Use the `/rpgmobs spawn` command (debug mode only).     |

Currently, all commands default to OP-only. A full permission node system for mod-compatible permission managers is planned for a future update.
