Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

FiveM Economy System

FiveM Player Market

Player Markets

Legendary45
Frameworks:
  • ESX
  • vRP

Checked by the RPScripts Lab

  • Static check: 3 resources read
What was checked
Check compatibility with your server

Details

Frameworks
ESX, vRP
Dependencies
mysql-async
File size
1.3 MB
Creator
Legendary45
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

This script lets players sell items to each other. One player advertises an item on the market, another buys it. The seller can choose the recommended price or set their own. You open the market with the /market command.

Features

  • Sell an item for any price you want, or use the recommended price set in the config
  • Choose whether to sell anonymously or under your own name
  • See your own ads in a "My Ads" tab and remove them
  • Search field and a simple graphical interface
  • Public webhook: new ads are posted automatically to a Discord channel for everyone to see
  • Admin webhook: purchases and removed ads are logged to a Discord channel only admins can view
  • Three versions included: Standalone, ESX and vRP

Advertising a product:

nIwzNTS.gif

Buying a product:

TpHVTKN.gif

Removing a product:

3y4Hz1k.gif

Configuration

  • Standalone: you connect the functions for reading the inventory, giving and removing money and a few others yourself in Server/Configurate.lua.
  • ESX: usually no function changes are needed.
  • vRP: you only need to adjust some functions in Server/Configurate.lua if you use a custom inventory or a modified vRP base.

In Config.lua you define which items may be sold (item name, label, image and recommended price), translate the interface, set the UI position and size, and enter your public and admin Discord webhooks. Item images go into the html/img folder.

The Vue.js source of the interface is included. If you want to change the UI, the Readme explains how to rebuild it with Node.js (npm install, npm run build).

Requirements

  • mysql-async
  • ESX or vRP for the matching version (the Standalone version needs your own functions)

The script creates its database table automatically.

Installation

  • Pick the folder for your framework ([ESX], [Standalone] or [VRP]) and copy the market resource into your resources directory.
  • Add ensure market to your server.cfg after mysql-async.
  • Fill in your items and webhooks in Config.lua.

Update note

According to the author's changelog, an update fixed a security hole that made it possible to duplicate items.

Server setup

Step-by-step guide: how to install a FiveM script

Checked: 3 resources.

In your downloads
  • DevM Snatchables FiveM script thumbnail
    • Standalone

    Devm | Snatchables

    DevM

    $17.00$11.90
  • Svdden Premium Banking FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    Svdden Premium Banking

    Svdden Development

    $20.00$14.00
  • T1ger Car Insurance FiveM resource preview
    • ESX
    Not for your framework

    T1ger Car Insurance

    T1GER

    $10.99$7.69
  • EBT / Food Stamp FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    EBT / Food Stamp

    DevM

    $9.99$6.99
  • Pixel Poster Billboard Script FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    Pixel Poster Billboard Script

    Oph3Z

    $19.99$13.99
  • Gas Station Manager
    • ESX
    Not for your framework

    Gas station simulator

    $29.99$20.99
  • CodeM xDailyReward — Daily Reward System [ESX/QBCore] FiveM resource preview
    • ESX
    • QBCore
    Not for your framework

    CodeM xDailyReward — Daily Reward System [ESX/QBCore]

    CodeM

    $10.99$7.69
  • FiveM Coin Shop resource preview
    • ESX
    Not for your framework

    FiveM Coin Shop

    $12.99$9.09