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

# Administration

> Reset robbery state, manage access, and understand runtime-only cooldown behavior.

## Admin groups

Configure groups in `config/config.lua`.

```lua config/config.lua theme={null}
Config.AdminGroups = { 'admin', 'god', 'superadmin' }
```

The resource grants the matching command ACE permissions during startup. Keep the list aligned with your framework's real administrator groups.

## Commands

| Command                | Purpose                                              |
| ---------------------- | ---------------------------------------------------- |
| `/resetstore store_id` | Reset one configured store by its `Config.Stores` ID |
| `/resetstores`         | Reset every configured store                         |

```text theme={null}
/resetstore ltd_grove
```

Use a reset after a test robbery, a stuck live scenario, or an integration acceptance test. Check the console when a supplied store ID is not recognized.

## Runtime state

Cooldowns, target reservations, and robbery state remain in memory. They reset when `fa_shoprobbery` or the server restarts. The resource does not require a database.

<Warning>
  A resource restart is not a production cooldown strategy. Use the admin commands when you need a deliberate reset without restarting the resource.
</Warning>

## Debug output

Set `Config.Debug = true` during diagnosis. If your host restricts print convars, add:

```cfg server.cfg theme={null}
setr ox:printlevel:fa_shoprobbery debug
```

Disable debug output after resolving the issue.
