Database
Storage
Dealer configuration is stored in data/dealers.json and the database.
Discount codes are stored in the database. The codes table in the configuration only seeds initial codes on first start.
Tables
Tables are created automatically on first start.
When KOJA.CreateAutoTable is false, import koja-cardealer.sql manually.
Price calculation
Prices are calculated server-side in this order:
- Base vehicle price
- Promotion discount
- VIP discount
- Coupon discount
Related pages
- 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.
- Exports & Commands — Admin, leasing, and prestige commands with available server exports.
- Admin Menu — Create and manage dealerships live in-game.
- Car Dealer V2 — back to the section overview