πΏ Configure
In 3.0, configuration lives in two places:
config.settings.lua
config.settings.lua holds the factory defaults for the in-game Settings menu. The script uses them on a fresh install, and when you press Reset on a Settings tab. Once a tab is saved in-game, the database value wins.
Framework and integrations
Each integration loads only the adapter it needs, based on config.lua. Leave a value on "auto" to detect it, or set it to a resource name. See Compatibility for every supported resource.
UseContextMenuForInteractionMenu sets how the property menu appears at a door:
truewithox_target: nested ox_target options.truewith anything else: an ox_lib context menu.false: the NUI interaction menu.
Permissions
Agency permissions (who can create properties, use the portal, and so on) are set per job grade in /manageagencies. See Real estate agencies.
Commands and keybinds
Every command name is an option, for example CreatePropertyCommand = "createproperty". The full list is on the Properties page.
Photos
Property and listing photos are uploaded to Fivemanage. Set your API key in server.cfg:
Furniture photos from the object capture studio can stay on your server instead. In config.settings.lua:
Where furniture photos load from is a separate, ordered list: Config.FurnitureImageFallbacks (default { 'cdn', 'local' }, added in 3.0.1). You can put your own image host first with a URL template. Change it in-game in Settings β Furniture & Interior β Image sources. See Furniture β Image sources.
The object capture studio saves to the database in batches (added in 3.0.2):
The upload code is in nolag_properties/server/ObjectCapture/Camera.lua. We don't provide support for changing the upload provider.
Shells
Shell Detection System
Shell packs are detected automatically. Each pack needs a JSON file in custom/shells/, and the resource folder name must match the resourceName in that JSON.
For that file, the resource folder must be named K4MB1-MainHousingPack. Packs are scanned on server start, so you can add a new pack by dropping in its resource and JSON.
See Add More Shells for the full steps, and the Shell Creator to build your own.
Shell Creator
The ShellCreator block sets the limits of the in-game builder:
IPLs and MLOs
MLO area pricing and price per mΒ² are in-game: Settings β Creation.
Doors
Loading and performance
Players load properties, shells, and furniture as they get close. These options tune how fast furniture streams in.
Security cameras
Camera limits per property are in-game: Settings β Furniture & Interior. Camera quality, zoom, and night vision tiers are upgrades.
Art frames
Config.ArtFrames controls the art frames players hang in their properties.
Custom functions
Config.Functions, Config.DoorLock, Config.ToggleHud, and Config.RaidProperty let you hook in your own code, for example to hide your HUD while a menu is open. They are documented inside config.lua.