Skip to content

Usage ​

Staff workflow ​

  1. Join the venue's np_faction business, resolve the relevant np_jobs features or faction nodes, and go on duty for register and ticket work.
  2. Use the register place to open the POS. Choose menu lines and modifiers, select a nearby customer, then request payment through np_payments.
  3. Work the ticket rail: claim a ticket, bump its lines, then hand over the ready order. Kitchen, bar, expo and other stations are feature configuration.
  4. Find a sale to refund selected quantities within the permitted refund limit and window. Customer payments, receipts and refund references belong to the server ledger.
  5. Use the permitted tablet pages for menu changes, stock movements and reorder settings, hours, loyalty or reports. Tills provide opening floats, drops and count differences.

Prices and totals come from server menu records. The UI displays resolved permissions; the server checks requests again.

Money, refunds and tips ​

Commerce and np_payments use whole-dollar amounts, rounding percentage results to the nearest integer (floor(value + 0.5)). The server applies the staff discount to the subtotal, the loyalty tier discount to the amount left after the staff discount, then tax to the discounted merchandise. The delivery fee is separate. Percentage tips use the merchandise subtotal; accepted presets and the tip mode come from the feature configuration.

Refunds allocate the charged merchandise and tax across line quantities, after discounts; tips are retained. Ordinary merchandise refunds exclude the delivery fee. Customer cancellation before departure may also refund the eligible remaining delivery fee. Validate partial refunds, cancellation and rounding with your installed providers before deployment.

Pooled tips enter the faction account flow and are submitted through np_faction's commerce.tip task using registerPayTask / PayTask. Task payroll requires an online recipient with an eligible duty shift; offline or ineligible allocations remain held. A successful task submission queues payroll rather than proving that the citizen has already received a bank payout.

Hours and NPC service ​

Venue states are open_staffed, open_npc, closed and lockdown. The hours page stores a weekly grid and exceptions, plus automatic, forced-open and forced-closed modes. NPC service is optional and limited to menu items marked for NPC sale. Validate your np_npchandler setup and staffing transitions on a live server.

Hours editor

Eats ​

When np_phone is installed, the np_commerce_eats app lists open venues and their menus. It exposes pickup and delivery orders, preorders, receipts, loyalty cards and order tracking. Delivery relies on available courier providers; do not advertise delivery before testing those installed APIs. Staff tools remain in the register and tablet.

Reports use a dash for cost-of-goods data when reliable item costs are unavailable. Sales and cashier activity are recorded, but profit and staff pay must not be inferred from fabricated costs or wages.

Example job compositions ​

Job composition Commerce capabilities Other pack responsibilities
Burger Shot crew register, menu, stock, orders, hours, tips Crafting cooks; logistics suppliers
Bartender register, menu, orders, tips Entertainment venues and event access
Boutique clerk register, stock, loyalty, reports Clothing and outfit effects
Car wash attendant register, orders, hours Registered service effect performs the wash
Casino cashier register and reports for retail/bar sales Casino pack owns chips, cage transactions and gambling

Names here are examples for job definitions. The pack does not test these job names. Casino balances and mechanic workshop orders retain their own resource authority.