> For the complete documentation index, see [llms.txt](https://realisticnode.gitbook.io/rnsetups/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://realisticnode.gitbook.io/rnsetups/es/rnchatgames/reference/commands.md).

# Comandos y permisos

Comando principal: `/rnchatgames` — alias `/rncg` y `/chatgames`.

<figure><img src="https://1485480385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQaixEy8lxLssO2tL4Sxc%2Fuploads%2F73XVEVfwYq5I2XoKLLwf%2Frncg-real-24.png?alt=media" alt="/rncg help"><figcaption><p>/rncg help</p></figcaption></figure>

## Jugadores

| Comando                      | Permiso                                              | Qué hace                                   |
| ---------------------------- | ---------------------------------------------------- | ------------------------------------------ |
| `/rncg help`                 | `rnchatgames.help`                                   | Lista de comandos                          |
| `/rncg next`                 | `rnchatgames.next`                                   | Cuándo empieza el próximo juego automático |
| `/rncg toggle`               | `rnchatgames.toggle`                                 | Ocultar o mostrar los juegos para ti       |
| `/rncg stats [jugador]`      | `rnchatgames.stats` (`.others` para otros jugadores) | Menú de estadísticas                       |
| `/rncg top [juego] [página]` | `rnchatgames.top`                                    | Menú de clasificación (Total o un juego)   |
| `/rncg list`                 | `rnchatgames.list`                                   | Los juegos y si están activados            |

Todos los da `rnchatgames.player` (por defecto: todos).

## Admins

| Comando                                          | Permiso                                                  | Qué hace                                                                                                                                         |
| ------------------------------------------------ | -------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| `/rncg start [juego\|random] [dificultad]`       | `rnchatgames.start.<juego>` / `rnchatgames.start.random` | Empieza un juego ya. Matemáticas acepta una dificultad: `/rncg start math hard`                                                                  |
| `/rncg stop`                                     | `rnchatgames.stop`                                       | Detiene el juego en curso                                                                                                                        |
| `/rncg reload`                                   | `rnchatgames.reload`                                     | Vuelve a leer todos los archivos (detiene el juego en curso)                                                                                     |
| `/rncg editor`                                   | `rnchatgames.editor`                                     | [Editor en el juego](/rnsetups/es/rnchatgames/configuration/editor.md)                                                                           |
| `/rncg preview <juego> [ganadores] [dificultad]` | `rnchatgames.preview`                                    | Muestra cómo se ve un juego, solo a ti. No se empieza, guarda ni premia nada                                                                     |
| `/rncg logs [jugador\|*] [juego\|all] [página]`  | `rnchatgames.logs`                                       | Las últimas victorias, con tiempo y fecha                                                                                                        |
| `/rncg import sqlite [confirm]`                  | `rnchatgames.import`                                     | Copia las estadísticas de SQLite a MySQL (ver [Base de datos](/rnsetups/es/rnchatgames/reference/database.md))                                   |
| `/rncg simulate <jugador> <mensaje>`             | `rnchatgames.simulate`                                   | Para pruebas: procesa un mensaje como si lo hubiera escrito ese jugador. `/rncg simulate <jugador> click right\|wrong` para el juego de Clic     |
| `/rncg version`                                  | `rnchatgames.update`                                     | Tu versión y la más reciente (ver [Avisos de nuevas versiones](/rnsetups/es/rnchatgames/getting-started/updating.md#avisos-de-nuevas-versiones)) |

Todos los da `rnchatgames.admin` (por defecto: operadores).

## Todos los permisos

| Permiso                     | Por defecto |                                                                                   |
| --------------------------- | ----------- | --------------------------------------------------------------------------------- |
| `rnchatgames.admin`         | op          | Todos los permisos                                                                |
| `rnchatgames.player`        | todos       | Todos los permisos de jugador                                                     |
| `rnchatgames.play`          | todos       | Ver y jugar los juegos (solo se comprueba con `players.require-permission: true`) |
| `rnchatgames.help`          | todos       | `/rncg help`                                                                      |
| `rnchatgames.next`          | todos       | `/rncg next`                                                                      |
| `rnchatgames.toggle`        | todos       | `/rncg toggle`                                                                    |
| `rnchatgames.top`           | todos       | `/rncg top`                                                                       |
| `rnchatgames.stats`         | todos       | Estadísticas propias                                                              |
| `rnchatgames.stats.others`  | todos       | Estadísticas de otros jugadores                                                   |
| `rnchatgames.list`          | todos       | `/rncg list`                                                                      |
| `rnchatgames.start.*`       | op          | Empezar cualquier juego                                                           |
| `rnchatgames.start.random`  | op          | Empezar un juego al azar                                                          |
| `rnchatgames.start.<juego>` | op          | Empezar ese juego, ej. `rnchatgames.start.math`                                   |
| `rnchatgames.stop`          | op          | `/rncg stop`                                                                      |
| `rnchatgames.reload`        | op          | `/rncg reload`                                                                    |
| `rnchatgames.editor`        | op          | `/rncg editor`                                                                    |
| `rnchatgames.preview`       | op          | `/rncg preview`                                                                   |
| `rnchatgames.logs`          | op          | `/rncg logs`                                                                      |
| `rnchatgames.import`        | op          | `/rncg import`                                                                    |
| `rnchatgames.simulate`      | op          | `/rncg simulate`                                                                  |
| `rnchatgames.bypass.world`  | op          | Empezar juegos estando en un mundo desactivado                                    |
| `rnchatgames.update`        | op          | Aviso de versiones nuevas al entrar, y `/rncg version`                            |

Ids de los juegos: `unscramble`, `unreverse`, `reaction`, `fillout`, `random-text`, `math`, `variable`, `trivia`, `multiplechoice`, `click`, `hover`, `guess-number`, `completion`, `hangman`, `memory`, `color`.
