# Commands & Diagnostics

## /doors

Opens the in-game administrator panel.

Command name:

```lua
Config.AdminCommand = 'doors'
```

Default:

```text
/doors
```

The server validates administrator permission before opening the panel.

## doors_storage

Displays storage health.

Server console:

```text
doors_storage
```

Authorized administrators can also run it in game.

Example information:

```text
mode=json ready=true doors=12 error=none
```

Use this command when:

- Doors disappear after restart
- A save reports an error
- You are unsure which storage provider is active
- You have changed `Config.Storage`

## doors_dedupe

Scans the currently loaded door definitions and removes overlapping physical duplicates.

```text
doors_dedupe
```

This is useful after migrating from an older build where one physical door may have been registered multiple times.

The resource also performs duplicate cleanup while loading persisted doors.

## Debug Mode

Enable:

```lua
Config.Debug = true
```

Use it temporarily to get extra storage/persistence logging.

Disable it again after troubleshooting on production servers unless the extra logging is required.
