Player-owned shops ​

Players can buy a shop, run it with staff, set prices and order stock. Which shops are for sale is set per shop:
ownable = { price = 180000, license = 'business_license' }, -- or false
stash = { slots = 60, weight = 600000 }, -- the owner's stock stash
The shipped 24/7, LTD, Rob's Liquor, pharmacies, YouTool and hardware stores, Digital Den, restaurants and pawn shops
are for sale. Ammu-Nation, Vangelico, the pump shops, parts counters and service shops are not. With
np_fuel, a shop on a fuel station's forecourt is sold together with the station
(below). Settings are in
Config.Ownership (shared/config/ownership.lua). Turn it off with Config.Ownership.enabled = false.
Buying and selling ​
- Stand at the shop and run
/shopowner buy. The price is charged from the bank (buyMethod). It needs a business license (license, np_identification or the framework); a shop's ownownable.licensewins. - Selling gives back 70 % of the price (
sellBackPercent) plus the business account balance. A negative balance comes off the sell-back price. Open wholesale orders are canceled. - The stock stash goes to the seller: into their pickup stash at the shop, else into the pockets. The next owner starts with an empty stash.
- Every change of owner fires
np_shops:server:ownerChanged. - A shop linked with an np_fuel station is bought and sold at the station, not here.
The dashboard ​
Open it with /shopowner at the shop (or for your first shop anywhere), at an office point
(Config.Ownership.offices), or from the phone app.
| Tab | What it does |
|---|---|
| Overview | Revenue today and this week, margin, robberies, a 14-day chart, staff on duty, wholesale orders |
| Stock & prices | Stock with minimum levels, your price against the list price, offers with an end date, hiding items |
| Wholesale | Order goods, follow deliveries |
| Staff | Hire, fire, roles, wages and commission |
| Finances | The business account: deposit, withdraw, and the ledger |
| Settings | Open or close the shop, NPC checkout on or off |
| Stock & prices | Staff | Finances |
|---|---|---|
![]() |
![]() |
![]() |
| Wholesale | Settings | Employee view |
![]() |
![]() |
![]() |
Prices and stock ​
- Owners and managers set the price of each item, at most 5 times the shop's base price (
maxPriceFactor). Offers end at the latest 30 days from now (maxOfferDays). Items can be hidden. - An owned shop sells from its stock stash (
np_shops_stock:<shopId>). Staff refill it from their pockets, and wholesale deliveries fill it. Without stash support in your inventory, the stock is a counter and only wholesale refills it. - At or below 5 units (
lowStockAt) the dashboard and the phone raise a low-stock alert.
Staff, duty and wages ​
Roles: owner > manager > employee. Managers do everything but hire other managers and withdraw money.
- Hire a player standing within 5 m (
hireRadius), with a role and a wage. Up to 12 staff per shop (maxStaff). - Duty: staff go on duty at the shop (within 40 m,
dutyAtShop,dutyRadius). While someone is on duty, the NPC clerk is hidden and purchases are staffed: tips are offered and staff can ring up a cart for a customer. - Wages are dollars per hour on duty, paid every 60 minutes from the business account, at most $2,000 per hour
(
wages). - Commission is a percent of each staffed sale (at most 25 %). It goes to the cashier who rang it up, or is split over the staff on duty. Never to the buyer: staff buying in their own shop earn nothing.
NPC checkout ​
With nobody on duty, the NPC checkout sells for the owner, who keeps 70 % of each sale (npcMarginPercent). Turn
it off in the dashboard. With NPC checkout off and nobody on duty, the shop counts as closed (closedWithoutStaff).
Business account and ledger ​
Every sale, refund, wage, commission, wholesale order, deposit, withdrawal, robbery loss, insurance payout and tax is a
row in the ledger (np_shops_ledger). The Finances tab pages through it. Rows older than 60 days are removed at start
(ledgerKeepDays).
Customers pay into the business account. With np_payments, np_shops books owned shops itself (payee
none), so the money is never counted twice. Pay-later and financed sales are credited when the invoice is paid.
Owners and managers can also pay at their own shop from the business account (method business:<shopId>); a refund
of such a payment goes back to that account, never to the player (Refunds).
- A robbery books the loot as a loss, at most the balance. The insurance pays
Config.Robbery.insurancePercent(50 %) of what the account actually lost, not of the loot. See Robbery. - A pawn shop you own buys only what the business account can pay.
Wholesale and deliveries ​

Owners order goods at 60 % of the base price (wholesale.discount), at least $100 per order and 500 units per line.
Wholesale needs the business license.
- The order is paid up front: goods plus the courier payout (8 % of the goods, at least $50).
- It is posted as a delivery job. Players with a courier job (
courierJobs: trucker, courier) get a mail in np_phone and can accept it. - The courier has 30 minutes to drop the goods within 15 m of the shop and gets the payout.
- If no courier takes it within 20 minutes, or the courier runs out of time, NPC freight delivers it.
Delivering and canceling are conditional updates: when a timer, a courier and a cancel race, the goods or the money
are booked once. An order a courier already took can't be canceled (taken).
Fuel stations with a shop ​
With np_fuel running, every np_fuel fuel station and the ownable shop next to it are one business.
np_fuel pairs them (its Config.Link: the nearest ownable shop within 60 m) and is in
charge of the pair. With the shipped configs that is 9 shops: the five LTD Gasoline shops (Grove St, Little Seoul,
Mirror Park, Richman Glen, Grapeseed) and the 24/7s at Grand Senora, Palomino, Paleto Bay and Sandy Shores.
| Overview | Settings |
|---|---|
![]() |
![]() |
- Bought and sold together.
/shopowner buyat a linked shop opens np_fuel's station screen with the bundle price (the station plus the shop'sownable.price). Selling happens at the station with/station; in the dashboard's settings the sell row becomes "Sold with the fuel station", and a sale from np_shops is refused with "Sold together with the fuel station: /station". The buyer still needs the business license. - One company account. The shop's sales, wages, commission, wholesale orders, deposits, withdrawals, robbery losses and insurance all use the station's balance. The dashboard shows it as the business account, with "Shared account · " and the station name under it, and the station's owner panel lists the shop's bookings as "Shop …". np_shops keeps its own ledger for the shop's history.
- Mirrored staff. Hiring, firing, role changes and quitting on either side show up on the other. Wages and commission are set per side (a member mirrored from the station starts at 0 here).
- Handover. When the pair changes hands, the shop's open wholesale orders are cancelled and refunded first, then the seller gets the whole account. Staff, duty, price overrides and the ledger are cleared, and the stock stash goes to the previous owner's pickup stash.
- Pay inside. With np_fuel's pay inside, drivers fill up first and pay at this shop's counter: see Checkout → Fuel bills.
When a pair links up, money the shop had in its own account moves over into the station's balance. While np_fuel is down, the shop books into its own account and the money comes over when the pair is active again.
Two owners before the link
If the shop and the station already had different owners when they were linked (for example after installing np_fuel
on a running server), the pair stays split: pay inside works, but owner, account and staff stay apart. Staff set
the owner in np_fuel's station editor (/fueladmin editor), the shop follows, and from then on the pair is one
business.
Without np_fuel nothing is linked and every shop keeps its own owner, account and staff.
All options ​
| Option | Default | Description |
|---|---|---|
enabled |
true |
Player-owned shops on |
license, buyMethod |
'business_license', 'bank' |
License to buy and to order wholesale; where the price is charged |
sellBackPercent |
70 |
Refund when selling |
npcMarginPercent, closedWithoutStaff |
70, true |
NPC checkout |
wages, commission |
{ payEveryMinutes = 60, maxWage = 2000 }, { maxPercent = 25 } |
Staff pay |
maxPriceFactor, maxOfferDays |
5, 30 |
Price limits |
lowStockAt, defaultMaxStock |
5, 50 |
Stock alerts and chart maximum |
dutyAtShop, dutyRadius, hireRadius, deliveryRadius |
true, 40.0, 5.0, 15.0 |
Distances |
ledgerKeepDays |
60 |
Ledger history |
command |
'shopowner' |
Dashboard command; /shopowner buy buys the shop you stand at |
offices |
{} |
Office points per shop id |
wholesale |
{ discount = 0.6, deliveryMinutes = 20, courierMinutes = 30, courierPayout = 0.08, minPayout = 50, minOrder = 100, maxCount = 500, courierJobs = { trucker = 0, courier = 0 } } |
Wholesale and delivery jobs. courierJobs = {} lets everyone take jobs |
roles, maxStaff |
owner, manager, employee; 12 |
Roles and staff limit |






