Scripts

Supreme Market AIO

42.00 €60.00 €-30%
Overview

A complete market economy for your server: player-owned stores, NPC shops, job-run markets, pawnshops and player street stands, all built and managed from a single in-game admin panel. Players buy a business at its vault point, stock it, price it, hire staff, run supplier deliveries and grow it with upgrades. Every market, catalog, price and employee lives in your database and is created in-game, so there is no SQL file to import and nothing to hard-code.

WHAT YOU GET

- Four market types in one resource: Business (player-owned), NPC, Job and Pawnshop

- Player street stands: any player drops a stand prop in the world and sells items from their own inventory

- In-game admin panel: build and manage every market, catalog and placement without touching files

- Owner-controlled pricing with timed deals, supplier truck runs and drone delivery

- Four upgrade lines, employees with per-permission control, a vault with full logs

- Optional phone app support (codem-marketapp) for drone-delivery ordering

- Ships with a ready default economy: 18 x 24/7 stores and 1 Ammunation, seeded on first start

- English and Turkish locales included, every string translatable

PLAYER STREET STANDS (NEW)

Any player holding the stand item (default "market_stand") can run their own pop-up shop:

- Use the item, then place a see-through stand prop anywhere in the world (turn it with the arrow keys or mouse wheel, confirm with E, cancel with Backspace)

- Write a slogan that floats above the stand and stock it with products pulled from the player's own inventory, each at the player's own price (up to 12 different products, price cap configurable, default 100,000)

- Other players walk up and pick "Shop at Stand" to buy; money from every sale goes straight to the owner (cash or bank, configurable)

- The stand stays open the whole time the owner is on the server, AFK included

- When the owner leaves, switches character, packs up, or an admin removes the stand, the unsold products and the stand item go back to the owner; anything that does not fit is handed over on their next join

- Stands keep a minimum gap from each other (default 4m) and the owner can restock, re-price or change the slogan at any time from "Manage Stand"

- One stand per player, with a configurable blocked-item list so you decide what can never be sold on a stand

MARKET TYPES

- Business: a player buys it at the vault point and becomes the owner. Has a vault, employees, upgrades and owner-set prices.

- NPC: no owner, unlimited stock, sells whatever catalogs an admin grants it.

- Job: no owner, tied to a job and grade. "Staff Only" limits shopping to that job.

- Pawnshop: buys items from players instead of selling. The admin sets the buy list and the price paid per item, with an optional per-character daily earning cap.

OWNING AND RUNNING A MARKET

At the vault point the owner (and employees, within their permissions) can:

- Deposit to and withdraw from the market vault, with a full deposit and withdrawal log

- Set sell prices inside the range the admin allows

- Order stock from the supplier on a truck run, or stock items straight from their own inventory

- Buy catalogs and upgrades with vault money

- Hire players (up to 10 staff per market by default), set exactly what each employee may do, and fire them

- Rename the market and change its map blip

- Close and reopen the market: a closed market is locked to customers until the owner opens it again

- Sell the market back for a configurable share of the sale price (default 50%) plus whatever is in the vault; the market then goes back on sale

When a market changes hands, the previous owner is paid out the vault, and stock, employees, custom prices and upgrades are cleared for the new owner. Employees work on a permission system only; there is no automatic salary or payroll.

PRICING AND TIMED DEALS

- Admins set a min and max price band per item; owners move their sell price freely inside that band

- Empty pricing fields fall back to automatic ratios (min, max and restock cost are all configurable shares of the customer price)

- Owners open timed discounts on single items from the phone app: 10%, 20%, 30% or 50% off, for 1, 3 or 6 hours, up to 3 deals active at once

- A deal can never push a price below the item's own minimum

- Paid store promotion: the owner buys top-of-list placement in the phone app (1h, 6h or 24h), charged to the vault

SUPPLIER RUNS AND DRONE DELIVERY

- Supplier run: the owner orders stock, drives a truck to a random pickup and brings it back. Over 110 pickup locations across the map, a configurable time limit (default 30 minutes) and a /canceldelivery command that refunds the order to the vault.

- The order is charged when placed and automatically refunded to the vault if the run never finishes (cancelled, timed out, player left, server restarted).

- Drone delivery (via the optional codem-marketapp phone app): customers order from the market remotely once it has an owner, is open and owns the Drone Delivery upgrade.

UPGRADES (bought from the vault)

- Stock Capacity: +50 to +300 shelf units (base shelf capacity 100 per item)

- Truck Capacity: +25% to +300% stock per supplier run

- Relationship: 5% to 40% off supplier prices

- Drone Delivery: +25% to +300% units per drone order, and this is what lists the market in the phone app

All upgrade names, tiers and prices are configurable, and the tier labels are translatable.

IN-GAME ADMIN PANEL

Opened with /marketadmin (command renameable, framework admins only):

- Create a market where you stand, then place its interactive points with a built-in placement tool: customer points (up to 10), the vault, the storage point, plus optional ATMs (up to 5) and shopkeeper peds (up to 5)

- Grant item catalogs to a market; for a pawnshop the same page is the buy list

- Manage catalogs and per-item pricing; each item belongs to one catalog

- Set logos (built-in presets or a custom https image link, with an optional host allow-list), put a business up for sale, open or close it

- A dedicated Stands tab to view and remove any player stand on the server

STATISTICS AND LOGS

- Per-market sales, visits and revenue tracking with charts, plus separate stats for street stands

- Admin logs, vault logs and market activity, with configurable retention (logs default 30 days, statistics default 90 days, older rows cleaned on start)

- Customer reviews on markets listed in the phone app

COMPATIBILITY

- Framework: QBCore, Qbox and ESX through codem-lib (one bridge, no per-framework edits)

- Target: ox_target or qb-target

- Database: oxmysql, 23 tables created automatically on first start (no SQL import needed; the schema file is included for reference only)

- Inventory and item images are read through codem-lib, with a configurable fallback image path for codem-inventoryv2, ox_inventory, qb-inventory and others

- Optional: codem-marketapp phone app for drone ordering, deals, ads and reviews (talks to this resource through exports, nothing extra to configure)

CONFIGURATION HIGHLIGHTS

- Locale and currency symbol, applied across every screen and message

- UI scale from 0.7 to 1.0 to fit more on screen

- Sales tax percent (default 5%), max basket quantity, max owned markets per character (default 1)

- Seed-defaults toggle: let the resource create the starter economy or place every market yourself

- Full control over the stand system, supplier trucks and pickup points, placement tool, blips, upgrades and pawnshop rules

- Every option is documented inline in config.lua

Documentation: https://codem.gitbook.io/codem-documentation/supreme-series/essentials/market-aio

SubscriptionTiers: Platinum,Diamond