CodeM Marketplace — Player Trading System
Player-to-player item marketplace for FiveM. Players list and buy items from each other in a polished Vue.js NUI. ESX & QBCore compatible.
CodeM Marketplace — Player-to-Player Trading System for FiveM
CodeM Marketplace is a full-featured player-driven marketplace script that lets your FiveM server's players list, browse, and purchase items directly from each other. Built by CodeM — a Rockstar Games / CFX.re Verified creator with over 204,000 downloads — this script brings a polished, in-game trading economy to any ESX or QBCore server.
Players open the marketplace UI with a single command, browse available listings by category, and purchase items using in-game currency. Sellers set their own prices and manage their own listings. All transactions are logged to Discord webhooks for server admin oversight.
Features
- Player-to-Player Trading — Any player can list items for sale; other players can browse and buy
- Category System — Items sorted into configurable categories (All, Armour, Ammo, Weapons, Other + custom)
- Blacklist System — Prevent specific items (e.g. cash, water) from appearing in listings
- Inventory Integration — Supports ox_inventory, codem-inventory, qb_inventory, esx_inventory, qs_inventory
- Discord Webhook Logging — Auto-logs all add/remove/purchase events to your Discord server
- Automatic SQL Cleanup — Periodically clears old transaction data to keep your database lean
- Custom Currency Unit — Configure $, €, ₺ or any symbol
- Configurable Open Command — Default
/market, fully customizable - Multi-Framework Support — ESX (standard + old), QBCore (standard + old)
- Custom Notification System — Native ESX / QBCore notifications, easily swapped out
- Vue.js UI — Smooth, responsive NUI built with Vue 3 + Vuex
- Sound Notifications — Audio cue on new marketplace activity
- Profile Picture Support — Players shown with Discord-linked avatars in logs
- Lua 5.4 — Full Lua 5.4 support for maximum performance
- Escrow-Protected — Config and utility files remain open; core logic protected
What's Included
client/— Client-side Lua (main logic + utility)server/— Server-side Lua (main server logic, editable functions, utility)config/— Fully editable config (framework, SQL driver, inventory type, categories, blacklist, notifications)html/— Vue 3 NUI interface with custom Gilroy / SF Pro Rounded fonts, CSS, soundmarketplace.sql— Simple SQL table setup for listingsfxmanifest.lua— Resource manifest (version 1.0.3, Lua 5.4)
Compatibility
| | Support | |---|---| | ESX | Yes (standard + old) | | QBCore | Yes (standard + old) | | ox_inventory | Yes | | qb_inventory | Yes | | esx_inventory | Yes | | qs_inventory | Yes | | codem-inventory | Yes | | SQL | oxmysql, ghmattimysql, mysql-async |
Installation
1. Extract codem-marketplace into your server resources folder 2. Import marketplace.sql into your database 3. Configure config/config.lua (framework, inventory type, SQL driver, categories) 4. Add ensure codem-marketplace to your server.cfg 5. Optionally configure Discord webhook URLs in server/editable.lua
> Dependencies: oxmysql (or ghmattimysql / mysql-async), a compatible inventory resource, ESX or QBCore framework
By CodeM — CFX.re Verified Asset Creator · 204K+ downloads






