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

# Permissions

> Configuring access rights (Permissions) for players and administrators.

In CoolCars, the permission system allows you to flexibly configure who can spawn cars, who can repair them, and who has access to administrative commands.

## Administrator Permissions (OP)

By default, all commands with the prefix `/car reload`, `/car info`, `/car tp`, `/car repairhitbox`, `/car key give`, `/car heal`, and `/lang server` are available only to players with operator status (OP).

| Permission        | Description                                |
| :---------------- | :----------------------------------------- |
| `coolcars.admin`  | Full access to all plugin commands.        |
| `coolcars.reload` | Permission to reload the configuration.    |
| `coolcars.heal`   | Permission to use the `/car heal` command. |
| `coolcars.tp`     | Permission to teleport vehicles.           |

***

## Player Permissions

You can grant these permissions to regular players so they can use the plugin's functionality.

| Permission        | Description                                         |
| :---------------- | :-------------------------------------------------- |
| `coolcars.spawn`  | Permission to spawn cars via `/car spawn`.          |
| `coolcars.list`   | Permission to view the list of their cars.          |
| `coolcars.remove` | Permission to remove their cars.                    |
| `coolcars.fuel`   | Permission to use `/fuel` commands.                 |
| `coolcars.repair` | Permission to use `/repair` commands.               |
| `coolcars.lang`   | Permission to change personal language via `/lang`. |

***

## Model-Specific Access

You can restrict the spawning of certain car models.

* `coolcars.spawn.<model_key>` — Allows spawning only a specific model (e.g., `coolcars.spawn.volga`).
* `coolcars.spawn.*` — Allows spawning any available models.

<Info>
  If a player does not have permission for a specific model, they will see an error message when trying to spawn it.
</Info>

***

## Interaction with Other Cars

By default, only the owner or a player with a key can drive a car.

* `coolcars.bypass.keys` — Allows starting any car without a key (for staff).
* `coolcars.bypass.owner` — Allows opening the trunk and menu of any car.
