Marketplace
Edit rcore_housing/configs/config.marketplace.lua to configure marketplace NPCs, listing validation, image gallery rules, and the instant-sell flow.
๐บ๏ธ Map Blip
Config.MarketPlace.Blip = {
Enable = true,
Sprite = 374,
Color = 2,
Scale = 0.8,
Label = 'Real Estate',
}๐ง NPC Locations
Config.MarketPlace.Locations = {
{
pos = vec4(-267.01, -973.35, 31.22, 300.00),
npcModel = 'ig_djsoljakob',
blip = true,
},
}Add more entries to spawn marketplace NPCs at additional locations. Set blip = false on a per-location basis to suppress its individual map blip.
๐ผ๏ธ Image Service
Enable
Allow agents to upload listing thumbnails and gallery images.
MaxGalleryImages
Hard cap on gallery images per listing (default 10).
RequireThumbnail
When true, listings cannot be created without at least a thumbnail.
โ Validation
All metadata fields (phone, images) are optional by default. Flip RequirePhoneNumber or RequireImages to enforce them.
โก Instant Sell
Instant sell pays the player Percentage % of the listed price and re-lists the property under the "city" owner at full price. When someone buys the city-listed property, the resale money is voided (no payout).
Last updated