Player Markets
Player Markets - ESX player-to-player marketplace script for selling items between players. Compatible with ESX framework for FiveM servers.
FiveM Player Markets - Peer-to-Peer Economy System
Enable dynamic player-driven commerce on your FiveM server with this comprehensive marketplace system that allows players to buy and sell items directly to each other. Unlike traditional NPC shops with fixed prices, this script creates a living economy where players set their own prices, compete for buyers, and engage in realistic trading interactions that mirror real-world marketplaces.
What's Included
This complete marketplace package includes three framework versions (Standalone, ESX Basic, and VRP Basic) allowing implementation on virtually any server type. Each version features a polished graphical interface for browsing listings, posting items for sale, and managing your active advertisements. The system includes integrated Discord webhook support for both public market announcements and administrative logging, ensuring transparency and enabling moderation of marketplace activities.
Players can choose to sell items at system-recommended prices or set custom amounts based on supply, demand, or negotiation. The anonymous selling feature protects seller identity when desired, while the public option builds reputation and trust between regular traders. A dedicated management panel lets sellers view their active listings and remove items that haven't sold or were posted by mistake.
Key Features
- Custom Pricing Freedom - Sellers set their own prices, creating dynamic market competition and realistic price discovery
- Anonymous or Public Listings - Choose whether to advertise on your own behalf for reputation or anonymously for privacy
- Active Listing Management - View all your current advertisements and remove unsold items at any time
- Intuitive Graphical Interface - Clean, easy-to-navigate UI for browsing items, posting sales, and completing purchases
- Public Discord Webhook - Automatically posts new market listings to a public Discord channel for visibility and engagement
- Admin Logging Webhook - Tracks purchases and removals in a staff-only Discord channel for moderation and fraud prevention
- Three Framework Versions - Standalone, ESX Basic, and VRP Basic versions included for maximum compatibility
- Recommended Price Suggestions - System suggests fair market values while allowing players final pricing control
- Secure Transaction System - Patched duplication exploits ensure economic integrity and prevent item multiplication
- Database Auto-Creation - Automatically creates necessary tables on first run without manual SQL imports
Perfect For
- Roleplay servers emphasizing player-driven economies and organic trading interactions
- Survival or hardcore servers where resource scarcity makes player markets essential
- Servers with crafting systems where players specialize in different production areas
- Economy-focused servers seeking to reduce NPC shop dependency and create market dynamics
- Community servers wanting to increase player interaction beyond traditional job systems
How It Works
Advertising a Product: Players use the /market command to open the interface, select an item from their inventory, choose a selling price (or accept the recommended amount), and decide whether to list anonymously or publicly. Once posted, the advertisement appears in the marketplace for all players to browse, and if Discord webhooks are configured, it's announced in your community Discord for additional visibility.
Buying a Product: Buyers browse available listings through the /market interface, viewing item details, prices, and seller information (unless listed anonymously). When they find a desired item, they complete the purchase with a single click, instantly receiving the item and transferring payment to the seller. The transaction is logged in the admin webhook for moderation purposes.
Removing a Product: Sellers can access their active listings panel to view all items they've posted. If an item isn't selling, they've changed their mind, or they found a better price elsewhere, they can remove the listing and reclaim the item to their inventory. Removals are logged in the admin webhook to prevent abuse.
Technical Details
- Command: /market (configurable in Config.lua)
- Frameworks: Standalone, ESX Basic, and VRP Basic (all three included)
- Database: Automatic table creation via mysql-async
- Security: Patched duplication exploits from original version
- Performance: Lightweight database queries with efficient item lookup
- Dependencies: mysql-async (included in most modern servers)
Configuration
Standalone Version: You'll configure functions in Server/Configurate.lua for retrieving player inventory, adding/removing money, and other core operations. The setup is straightforward and well-documented, allowing integration with your specific inventory and economy systems.
ESX Version: This version works out-of-the-box with standard ESX installations and requires no function modifications in most cases. Simply adjust the Config.lua for your language preferences and Discord webhooks.
VRP Version: If using a customized VRP base or modified inventory system, you may need to adjust some functions in Server/Configurate.lua. Standard VRP installations require minimal changes.
The Config.lua file handles all user-facing configuration including complete UI translation to your preferred language, defining which items can be sold on the marketplace, setting recommended prices for different item categories, and configuring Discord webhook URLs for public announcements and administrative logging.
Discord Integration
The dual webhook system provides both community engagement and administrative oversight. The public webhook announces new listings to your Discord community, driving traffic to the marketplace and creating anticipation for rare items. The admin webhook logs all transactions and removals, giving staff visibility into marketplace activity for fraud detection and economy monitoring without cluttering public channels.
Security Updates
This version includes critical patches for item duplication exploits discovered in earlier marketplace scripts. The transaction system now properly validates inventory states before and after transfers, preventing players from creating items through marketplace manipulation. These security fixes protect your server economy from the devastating inflation that duplication exploits can cause.
What Makes It Stand Out
Unlike basic trading systems that simply facilitate direct player-to-player exchanges, this marketplace creates a centralized hub where buyers can browse multiple sellers and compare prices without coordinating meeting locations or negotiating in chat. The Discord integration extends market visibility beyond in-game interactions, letting players check listings from their phones and plan purchases for their next session. The anonymous listing feature adds a layer of strategic depth, allowing new players to compete with established traders on equal footing.
The inclusion of three different framework versions in one package eliminates compatibility concerns and makes this script accessible to virtually any server type. Whether you run Standalone, ESX, or VRP, you get the same polished marketplace experience with appropriate integration for your framework's inventory and economy systems.
Visual Demonstrations
Advertising a product:
Buying a product:
Removing a product:
Related Products You Might Like
- Premium Inventory Script - Advanced inventory system with drag-and-drop UI for seamless item management
- Super ESX Server - Complete server package with economy framework trusted by 306+ servers
- FiveM Jobs Creator - Create unlimited custom jobs with full ESX integration
- Gas Station Simulator - Economy-focused job script with player interaction features





