> For the complete documentation index, see [llms.txt](https://docs.cuxial.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cuxial.com/scripts/es/nucleo/cuxial-license/commands.md).

# Comandos y permisos

Comandos y teclas de Cuxial License, y quién puede diseñar, emitir, verificar y revocar documentos.

Cuxial License tiene tres comandos: uno para el staff y dos para los trabajos que autorices. Los jugadores no necesitan ninguno; usan el NPC de la oficina y sus objetos.

## Comandos

| Comando              | Quién                | Qué hace                                                                                                                          |
| -------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `/license`           | Staff                | Abre el panel de gestión: crear una tarjeta, gestionar los diseños existentes y ver todas las licencias emitidas.                 |
| `/jobissue`          | Trabajos autorizados | Abre el panel de emisión del trabajo: emitir una tarjeta a un jugador cercano, ver quién tiene cada tarjeta, revocar y restaurar. |
| `/checklicense <id>` | Trabajos autorizados | Abre el panel de verificación y escanea al jugador con ese id de servidor.                                                        |

{% hint style="info" %}
`<id>` es obligatorio. Dentro del panel de verificación también puedes buscar por identificador de personaje, que sirve para jugadores desconectados.
{% endhint %}

### Emitir una tarjeta

1. El agente abre `/jobissue`, elige un jugador cercano y una tarjeta, y si quiere una fecha de vencimiento.
2. El jugador recibe una solicitud en pantalla con el nombre del agente y el de la tarjeta.
3. Si acepta, se abre el estudio de fotos. Cuando envía la foto, el objeto va a su inventario y se avisa al agente.

La solicitud caduca a los 60 segundos. Si el jugador la rechaza o se agota, no se emite nada y se avisa al agente.

Cada personaje tiene un solo registro por diseño de tarjeta. Emitir otra vez la misma tarjeta actualiza ese registro con las fechas y la foto nuevas, y levanta una revocación anterior.

### Revocar

Revocar no quita el objeto. La tarjeta se muestra con el sello **REVOCADA**, y la licencia deja de aparecer en las verificaciones y en el export [`GetPlayerLicenses`](/scripts/es/nucleo/cuxial-license/developers.md#getplayerlicenses). Restaurar lo deshace.

## Teclas

| Tecla                       | Qué hace                                                                                                                      |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| <kbd>E</kbd>                | Guarda la tarjeta que estás enseñando. Cada jugador puede cambiarla en los ajustes de teclas de GTA, en el apartado de FiveM. |
| <kbd>Esc</kbd>              | Cierra el panel abierto.                                                                                                      |
| Arrastrar / rueda del ratón | En el estudio de fotos, mueve la cámara alrededor del personaje y hace zoom.                                                  |

Una tarjeta que enseñas se mantiene 30 segundos como máximo. Los jugadores cercanos la ven durante 5 segundos.

## Permisos

| Acción                                                               | Requisito                                                                       |
| -------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| Ejecutar `/license`, crear, editar y borrar diseños de tarjeta       | El permiso del framework indicado en `admin.permission` (`'admin'` por defecto) |
| `/jobissue`, `/checklicense`, emitir tarjetas, leer una verificación | Un trabajo de `authorizedJobs`, con su grado mínimo o superior                  |
| Revocar y restaurar                                                  | Staff, un trabajo de `authorizedJobs` o un trabajo de `revokeJobs`              |
| Ver las licencias emitidas y la lista de jugadores cercanos          | Staff, un trabajo de `authorizedJobs` o un trabajo de `revokeJobs`              |
| Ver tus propias licencias                                            | Todos                                                                           |
| Comprar en la oficina de licencias                                   | Todos                                                                           |
| Enseñar una tarjeta                                                  | Quien lleve el objeto                                                           |

El permiso de staff es el de tu framework, leído a través de `cuxial_bridge`. No hace falta ninguna entrada ACE en `server.cfg`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.cuxial.com/scripts/es/nucleo/cuxial-license/commands.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
