Home Panel, Doorbell & Mailbox
The home panel is a tablet on a wall inside every property. Its model streams from sd-housing-assets.
Using the Panel
From across the room the panel shows the time and the house's floor plan, with every door shut or open as it stands, and a status light under the screen. A screen dims with nobody near it and wakes when someone walks within Screen.Wake metres.
Aim at the panel with your target resource (ox_target, qb-target or qtarget) within Interact.Distance metres. Without a target resource a prompt shows on Interact.Key (E). The camera goes up to the screen and the panel's page is laid over it.
From the panel the household can:
- See the house as it is now: who is home, the doorbell, and notes.
- Lock or unlock the doors, on the plan or in the list beside it.
- Hand out and re-cut keys.
- Read the activity.
- Start decorating.
- Set the stash and the wardrobe.
- Give the house away or sell it.
- Watch the cameras, fit the alarm and reinforce the doors. See Security.
- Pick a mailbox and read the mail.
Placement
With AutoPlace = true a property without a panel gets one beside its front door the first time its owner is inside. Who may move it is set by Movers: 'owner', or 'decorate' for the owner and the keys that open decorating. With Refit = true a panel whose wall changed under it is slid back onto the wall, or put by the front door.
In a teleport property the panel is put up on the wall behind the way in.
Doorbell and Letting Someone In
The bell rings at the panel wherever you are in the house, and the panel remembers the last Home.Rings rings since the server started. From the panel a household member can let the visitor in: the front door unlocks for Home.Buzz seconds (8 by default), then locks itself again.
Notes
The household leaves notes for each other on the panel. The newest note shows on the lock screen across the room. A house keeps Home.Notes notes (12 by default) of up to Home.NoteLength characters. Set Notes = 0 to turn notes off. Only whoever left a note, or the owner, can take it down.
Mailbox
The owner picks a mailbox on the panel's Mail view and puts it down by hand near the house, within Mail.Reach metres of the house's doors. A mailbox the map already has out front can be taken as the house's own for nothing: the owner aims at it while putting one down.
| Style | Model | Price |
|---|---|---|
| Classic post | prop_letterbox_01 | 350 |
| Modern box | prop_letterbox_03 | 450 |
| Little house | prop_letterbox_04 | 400 |
| Twin boxes | prop_letterbox_02 | 500 |
- Anyone can post a letter in it, signed or not.
- With
ox_inventory, anyone can post a parcel: a box of their own opens, and what is in it when they close it goes into the house's mailbox. - The household is told on their phones. They read mail at the box or on the panel, and take parcels out at the box.
- With
Mail.Keyholders = truekeyholders read the mail and take parcels too. - Other resources can deliver mail with the
SendMailexport.
Letters and parcels go with the household when the house changes hands. The mailbox stays with the house.
Configuration
configs/shared/panel.lua:
| Option | Default | Description |
|---|---|---|
Enabled | true | Turns the home panel on. |
AutoPlace | true | Place a panel by the front door automatically. |
Refit | true | Slide a panel back onto its wall when the wall changed. |
Height | 1.45 | Metres above the floor its middle goes when placed automatically. |
Movers | 'owner' | Who may move it: 'owner' or 'decorate'. |
Interact.Distance / Interact.Key | 1.8 / 38 | How near it can be used from, and the prompt's control without a target resource. |
Camera.Fov, Camera.Fill, Camera.Ease, Camera.HideRadar | 34.0, 0.80, 650, true | The view at the panel. |
Screen.Distance | 14.0 | Metres a panel's screen is drawn from. |
Screen.Max | 3 | Most screens drawn at once. |
Screen.Accent | '#5cc8d6' | The screen's accent colour. |
Screen.Clock | 'game' | 'game' for the world's time, 'real' for the player's own clock. |
Screen.Clock24 | false | 24-hour time. |
Screen.Glow | true | A lit screen throws a little light on the wall. |
Screen.Wake | 3.5 | Metres from the screen it wakes at. |
Screen.Sounds | true | Clicks and chimes while it is in use. |
Home.Notes / Home.NoteLength | 12 / 140 | Notes kept per house, and their length. |
Home.Buzz | 8 | Seconds the front door stays unlocked after letting someone in. |
Home.Rings | 10 | Rings the panel remembers. |
Cameras | See Security. | |
Mail.Enabled | true | The mailbox. |
Mail.Reach | 25.0 | Metres from the house's doors the mailbox may go. |
Mail.Styles | four styles | Model, name and price of each mailbox. |
Mail.Existing | four models | Map mailboxes that can be taken as the house's own. |
Mail.Keep | 50 | Letters a house keeps. |
Mail.Subject / Mail.Length | 60 / 1500 | Characters in a subject and a letter. |
Mail.Gap | 20 | Seconds between two letters or parcels from one player. |
Mail.Parcels | { Enabled = true, Slots = 15, Weight = 60000 } | The mailbox's room for parcels. |
Mail.Keyholders | true | Keyholders read mail and take parcels. |
See the full file.
