CodeM Marketplace is a player-to-player trading script for FiveM ESX and QBCore servers. Players list items at their own price, and other players browse the listings by category and buy them with in-game money.
Features
- Any player can list items for sale, others can browse and buy
- Configurable categories (All, Armour, Ammo, Weapons, Other, plus your own)
- Blacklist to keep items such as cash or water out of the market
- Inventory support: ox_inventory, codem-inventory, qb_inventory, esx_inventory, qs_inventory
- Discord webhook logs for added, removed and purchased listings
- Automatic cleanup of old transaction data in the database
- Currency symbol of your choice ($, €, ₺ …)
- Open command
/market, configurable - Uses the native ESX or QBCore notifications, easy to swap
- Vue 3 NUI with a sound cue for new marketplace activity
Requirements
- ESX (standard or old) or QBCore (standard or old)
- oxmysql, ghmattimysql or mysql-async
- One of the supported inventories
Installation
- Copy the
codem-marketplacefolder into your resources folder. - Import
marketplace.sqlinto your database. - Set framework, inventory type, SQL driver and categories in
config/config.lua. - Add
ensure codem-marketplaceto your server.cfg. - Optional: add your Discord webhook URLs in
server/editable.lua.