Skip to content
LS
All work
Identity & access control120 files · 10K LOC

Project SHD

One identity primitive for a whole server — a non-removable, encrypted-on-death smart-watch that replaces DayZ's scattered keys, codes, and cash. It gates base storage, vehicles, and a cashless economy, grafted non-invasively across four binarized third-party mods.

  • Enforce Script
  • NetSync replication
  • Access control
  • Third-party integration
  • Versioned persistence
In game

What it does

Project SHD rebuilds ownership around a single device. Every player wears a non-removable smart-watch mirroring their identity, group, and bank balance — a dogtag that, on death, encrypts itself so a looter can't read who you were or what you carried until they crack it. That watch is your key to everything: your money lives on it (ATMs and the trader route through the watch — no physical cash), base locks open when you scan it and your group owns them, and vehicles lock and unlock to the watch instead of a car key. Kill someone and you can hack their watch to decrypt it and drain a cut of their account.

Engineering

How it's built

  • One identity/capability primitive: the watch carries a NetSynced SteamID + LBmaster group hash, and that hash is the single credential every subsystem checks — base locks, vehicle ownership, and banking all authorize against it server-side.
  • Encrypted-on-death information hiding: a dead owner's watch garbles every identity-leaking field of its readout (BuildEncryptedHex) until someone decrypts it, so identity and loot value stay hidden until earned.
  • Cashless economy over a binarized third-party ATM/market — overrides only LBmaster's group-transfer methods to re-point money onto the watch account (upstream throttle, permissions, caps, logs, webhooks untouched); an adversarial ServerHackBank heist moves a bounded slice of a rival's balance (25%, hard cap, 10-min cooldown) as a debit→credit that can't mint or destroy money.
  • Group-keyed base storage: an SHD_Lock stamps an owner group-hash onto a fence/storage on attach; scanning authorizes gate access by group membership, with sync-flip sound gating to suppress false plays on stream-in.
  • Non-invasive vehicle ownership: cars lock/unlock to the watch (owner-or-group) instead of a key, via a client-safe netsync-slot ownership fallback so market-bought keyless vehicles resolve correctly client-side — without editing Expansion's classes.
  • Eventual-consistency retry (ResolvePendingColorPick) against a hookless third-party group PBO, plus versioned OnStoreSave/OnStoreLoad persistence for watch and lock state.