# Exports & Commands

## Commands

`/cardealer` opens the admin menu. Configure its name in `KOJA.Admin.command`.

`/leasing` opens the financed vehicles panel. Configure its name in `KOJA.Leasing.command`.

Prestige commands accept `<playerId> <amount>`. Configure their names in `KOJA.Prestige.commands`.

* `addXp` adds prestige XP.
* `setXp` sets prestige XP.
* `addPrestige` adds prestige levels.
* `setPrestige` sets prestige levels.

Console commands run from source `0`. Authorized admins can run them in-game.

## Prestige exports

Use these exports to manage the built-in prestige system:

* `AddPrestigeXP(source, amount)`
* `SetPrestigeXP(source, amount)`
* `AddPrestige(source, amount)`
* `SetPrestige(source, amount)`
* `GetPrestige(source)` returns prestige and XP.

## VIP exports

Use `SetPlayerVip(source, days)` to grant VIP. Set `days` to `0` for lifetime VIP.

Use `RemovePlayerVip(source)` to revoke VIP.

Use `IsPlayerVip(source)` to check a player's VIP status.

VIP exports are available even when UI purchases are disabled.

## Related pages

- [Configuration](/free/car-dealer-v2/configuration) — Configure defaults, images, prestige integration, and UI builds.
- [Features](/free/car-dealer-v2/features) — Player-facing dealership, progression, promotion, and leasing features.
- [Installation](/free/car-dealer-v2/installation) — Install Car Dealer V2 and its required dependencies.
- [Admin Menu](/free/car-dealer-v2/admin-menu) — Create and manage dealerships live in-game.
- [Database](/free/car-dealer-v2/database) — Understand dealer storage, tables, and server-side price calculation.
- [Car Dealer V2](/free/car-dealer-v2) — back to the section overview
