Description
A key-sharing layer on top of property ownership: the owner targets a nearby player by server id and grants or revokes access to a named property. Every grant is checked against real ownership on the server and stored against the friend's persistent identifier. This is what lets roommates, partners, and crews actually share a home.
Prompt Template
You are writing a FiveM script for esextended (stable, exports…
The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Expected Output
The reference Lua at content/expected-outputs/housing/06-key-sharing.lua shows the two commands client-side and the isOwner-gated grant/revoke handlers writing to a propertykeys table by identifier.…
The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Known Failure Modes
- No ownership check — anyone could share keys to any house. Gate every write behind a server-side
isOwnerlookup. - Duplicate key rows — repeated grants bloat the table. Use
INSERT ... ON DUPLICATE KEY UPDATE. - Keying by name/serverId — those change between sessions. Store the stable
identifier.
Integration Notes
- Needs a
property_keystable with a unique index on(property_id, identifier)for the upsert to work. - The door/stash scripts should read
property_keyswhen deciding access, not just theownercolumn. - Declare
es_extendedandoxmysql. Test: owner/givekeys a friend, friend can open the door; owner/revokekeys, access is gone.
Profit Potential
$200–$2600/mo on Tebex (expected ~$750). [INFERRED] intermediate companion feature scaled slightly below the $50-389 band center against the signal-scraper tebex corpus (median seller $11.85K/mo, n=100); a feature layer rather than a full system caps standalone units.
Trend Signal
↗ rising — housing systems niche-selection 3.60; corpus ox_doorlock active.
Sales Angle
Position as the roommates-and-crews key layer that makes shared housing actually work. Recommended Tebex price $49 — a cheap impulse add-on bolted onto any ownership script.
Difficulty & Ship Time
intermediate · ships in 2-4h.