Koja Scripts
FREE

Overview

All tunable settings live in shared/config.lua.

Overview

All tunable settings live in shared/config.lua.

Use this page as a quick map before you change individual sections.


At a glance

shared/config.lua
Config.Debug = false                       -- toggle debug prints
Config.Locale = 'en'                       -- UI language (en | pl | de | es | fr | pt | ro | ru | sk | zh)

Config.Database = { AutoCreateTable = true }

Config.Interaction = 'ox_target'           -- or nil for draw-text prompts
Config.InventoryMenuSystem = 'ox_lib'      -- menus driver
Config.ZoneSpawnRadiusDefault = 50         -- vehicle spawn radius (m)

Sections

  • Zones — NPC placement, blips, and sale slots
  • Parking — Slot pricing, fees, and ownership
  • Exchange — Zone ownership, commission, and listing caps
  • Test Drive — Spawn point, timer, fee, and cancel key
  • Custom Vehicle Images — Local images for modded vehicles

Toggling debug

shared/config.lua
Config.Debug = true

When enabled, every callback logs its inputs and decisions to console via KOJA.Shared.KojaCarmarketDebug. Leave this off in production — it's noisy.


Changing the UI language

Config.Locale = 'pl'

Available codes: en, pl, de, es, fr, pt, ro, ru, sk, zh.

Missing translation keys fall back to the English defaults — no broken UI keys will leak through.

  • Custom Vehicle Images — By default the tablet UI fetches vehicle images from https://docs.fivem.net/vehicles/.webp — that covers every stock GTA V vehicle, but not modded cars on your server.
  • Parking — Players can buy individual market slots within zones, pay weekly rent, and park their listed vehicles there.
  • Exchange — The exchange is the player-or-server-owned tier above zones.
  • Test Drive — Buyers can take a listed vehicle for a spin before committing to a purchase.
  • Configuration — back to the section overview