Back to CY-DevWorks
Features & Details
More than a simple shop. Players buy shops and run them like a real business. They manage stock, hire employees, order goods from wholesale and keep the money in their own register. Robbers can steal from that register.
Built on the ox stack (ox_lib, ox_inventory, ox_target, oxmysql), with a clean modern UI and every action checked on the server.
β¨ Features
ποΈ Shopping
- Modern shop UI with categories, search, item images from ox_inventory, a cart and a live total
- Pay with cash, bank card or credit card
- License checks per item (e.g. a weapon license for guns and ammo)
πͺ Shop Ownership
- Every shop can be bought by players, no job required
- Real stock per shop, and owners set prices within a range you configure
- Separate shop account (card payments) and register (cash)
- Full ledger, sales history, deposits and withdrawals
- Daily running costs. Shops that stay unpaid go back to the city.
- Owners can rename their shop or sell it back to the city
π¦ Wholesale & Delivery Job
- Owners order goods from wholesale
- Drivers take orders at the depot, deliver them in a van and earn the delivery fee
- Optional auto-delivery if no driver takes the order
π₯ Employees
- Hire nearby players as cashier or manager
- Configurable permissions per role and commission per employee
- Player register: employees put together a cart and send the customer a bill to pay in their own UI
ποΈ Discount Codes
- Percentage or fixed amount, minimum purchase, usage limits, expiry date
- Owners create codes for their own shop, admins create codes for all shops
π« Weapon Shops
- Ready-to-use gun store with pistols, shotgun, melee weapons, ammo and armor
- Serial numbers and registered owner handled by ox_inventory
- Purchase limit per weapon and an audit log of every weapon sale
- Option to sell unregistered weapons (black market)
π° Store Robberies
- Aim at the clerk to rob the store. The loot comes from the shopβs real register.
- Minimum police online, cooldowns per shop, player and globally
- Built-in dispatch, or plug in your own (ps-dispatch etc.)
π οΈ In-Game Admin Panel (/shopadmin)
- Create shops in-game: place the clerk and an optional separate boss menu point (laptop, tablet, monitor or an invisible zone)
- Edit assortments in-game: add any ox_inventory item or weapon to any shop type, and set prices, categories and licenses
- Create your own shop types with their own blip and ped
- Activate, deactivate, move or reset shops, and teleport to them
- Global discount codes and a full audit log
π¦ CY Banking Pro Integration (optional)
- Card payments go through real bank accounts and the transaction journal
- Credit card support
- Sales tax is sent straight to the state treasury
- Works without CY Banking too, using the framework bank money
π Security
- Every purchase, price and payout is calculated and checked on the server
- Session and distance checks, rate limits, protection against duplicate purchases
- Database transactions with automatic refunds if something fails
- Optional Discord webhook logging
βοΈ Requirements
-
es_extendedorqb-core(detected automatically) -
ox_lib -
ox_inventory -
ox_target -
oxmysql -
cy-banking(optional)
π Details
- Easy setup: database tables are created automatically on start
- Open
config.lua(escrow protected otherwise) - Translatable through locale files
- Optimized: clerk peds only spawn when a player is nearby
- Support through our Discord
CY DevWorks β Quality scripts for serious servers.