Carmarket

This item is free.

A full player-driven car market for FiveM — let your players list, auction, test-drive and trade vehicles between each other through a modern tablet UI. Comes with timed auctions, player-owned exchange zones with commission, rentable parking slots, weekly fees and a clean ESX/QBCore integration through koja-lib.
section-features

  • Modern Tablet UI
    React-based NUI tablet with smooth animations, ultrawide-aware scaling, search, filters and a fully custom date-time picker for auctions.

  • Buy-Now & Auction Listings
    Sell vehicles at a fixed price or run timed auctions with live bidding broadcasted to all connected players.

  • Player-Owned Exchange Zones
    Players (or your server) can buy entire market zones, set per-zone listing fees, max-listings caps, and earn commission on every sale.

  • Rentable Parking Slots
    Individual slot ownership with weekly rent — own multiple slots across multiple zones, listings auto-park into the closest free slot you own.

  • Test Drives
    Buyers can take a vehicle for a spin before committing — fully configurable spawn point, time limit, cancel key and fee per zone.

  • Custom Vehicle Images
    Drop in your own webp files and register modded vehicles via Config.CustomVehicleImages — automatic fallback to docs.fivem.net for stock cars.

  • Multiple Market Zones
    Ships with pre-built zones (Legion, Sandy Shores,  Paleto). Add unlimited custom zones with their own NPCs, blips, and slot layouts.

  • Player Profile & History
    Statistics page with sold/purchased/listed history per player, full audit trail persisted in MySQL.

  • OX Target Support
    Choose between ox_target or standalone draw-text interactions for maximum flexibility.

  • Exports & Commands

    • OpenTablet, CloseTablet, IsTabletOpen, RefreshZone — client side
    • GetCarsInZone, GiveVehicleToPlayer — server side
    • Admin command /savecar <model> <playerId> with ACE-based permissions
  • Commission & Weekly Fee Economy
    Money sinks built in — zone purchase, listing fees, parking rent, optional commission on sales. Auto-eviction of non-paying renters.

  • Atomic Money Handling
    Vehicle ownership transferred BEFORE money is moved, with full rollback on any failure — players never lose money to half-completed transactions.

  • Per-Source Rate Limiting
    Every mutating callback (buyVehicle, submitOffer, addToMarket, etc.) is throttled per source to prevent spam and exploit attempts.

  • Languages
    Ships with 10 languages: English, Polski, Deutsch, Español, Français, Português, Română, Русский, Slovenčina, 中文 — missing keys safely fall back to English.

  • Optimized
    Fully event-driven NUI, no per-frame polling, callback-based DB layer with oxmysql. Bid updates broadcast only on state change.

  • Exploit Protection
    Server-side validation on every callback, bid funds check at submit-time, ownership re-verification on every mutation, sanitized SQL parameters everywhere.