Market
Step-by-step guide for the housing marketplace (sale / rent / auction tabs).
1. Enable and open the market
- Set access mode:
lua
Config.RealEstate.marketAccess = "public" -- or "realtor"
Config.RealEstate.marketCommand = "housingmarket"
Config.RealEstate.marketItem = false -- or an item name- Restart
prp-housing-v2. - Open the UI:
- Chat:
/housingmarket(or yourmarketCommand) - Optional usable item if
marketItemis set - Client export:
exports["prp-housing-v2"]:OpenMarket()
- Chat:
2. Understand the tabs
| Tab | Shows |
|---|---|
| For Sale | Direct sale (saleType = "normal") and offer listings (offer) |
| For Rent | Rent offers with isDisplaying and no tenant |
| Auctions | Timed auctions (saleType = "auction") |
3. Player — buy a property
- Open the market → For Sale.
- Search or browse cards (banner image + price).
- Open a listing → check gallery, description, price.
- Optional: Set waypoint.
- Click Buy now → bank charged via prp-bridge → ownership assigned → listing cleared.
4. Player — rent a property
- Open the market → For Rent.
- Open a listing → Rent now.
- First period is charged to the tenant bank and paid to the owner bank.
- Later periods: pay from Housing Central — see Rent.
5. Player — bid or offer
- Open Auctions (or an offer listing under For Sale).
- Place bid / offer → deposit held (
bidDepositPercentor listing override). - Wait for auction end or owner/staff accept — see Auctions & offers.
6. Staff / owner — put a listing live
Realtor tablet
- Open Real estate tablet.
- Open the property profile.
- Use List for sale (type
normal/offer/auction) or List for rent. - Confirm it appears on the matching market tab.
Owner (public mode only)
- Enter the property → open Housing Central.
- Use the rent tab to set price / toggle listing, or list for sale via central market NUI (
market/LIST_PROPERTY). - Verify on the market UI.
7. Wire a custom phone app
Follow Exports — Phone app integration.