Koja Scripts
FREE

Exports & Commands

Admin, leasing, and prestige commands with available server exports.

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.

  • Configuration — Configure defaults, images, prestige integration, and UI builds.
  • Features — Player-facing dealership, progression, promotion, and leasing features.
  • Installation — Install Car Dealer V2 and its required dependencies.
  • Admin Menu — Create and manage dealerships live in-game.
  • Database — Understand dealer storage, tables, and server-side price calculation.
  • Car Dealer V2 — back to the section overview