# Commands

### Overview

The `minigames-menu` command opens the developer menu for the TGG Minigames resource, allowing administrators to test and preview all available minigames.

### Command Usage

```
/minigames-menu
```

### Permissions

This command is **restricted to administrators only**. By default, it requires the `group.admin` permission.

#### Configuring Permissions

You can modify which groups have access to this command by editing `config/config.lua`:

```lua
Config.AdminGroup = { 'group.admin' } -- Default: admin group only
```

You can add multiple groups:

```lua
Config.AdminGroup = { 'group.admin', 'group.moderator', 'group.developer' }
```

### What It Does

When executed, the command:

1. **Opens the Developer Menu** - A UI interface that displays all 30+ available minigames
2. **Allows Game Testing** - Click on any game to launch it in test mode
3. **Shows Game Information** - Each game tile displays:
   * Game name
   * Preview image
   * Brief description
