📋 Agency-Doorlock v1.1.0 — Control your doors from your phone: the free Agency Companion app now links to Agency-Doorlock, on iOS & Android.
📋 Agency-Doorlock
✨ New — Agency Companion App • Lock, unlock and manage your doors straight from your phone — no need to stand at the keypad • Its OWN QR code, fully independent of Agency-Phone & Agency-Elevator — Doorlock pairs on its own • Pair in seconds: run /adlconnect (alias /adlc) for a QR anyone can scan, or find the same QR inside the /adoorlock setup menu — then scan it (or type the 6-digit code) in the free Agency Companion app • The pairing token can NEVER grant admin — every staff action is re-validated server-side against your existing setup permission on each request
📱 New — Now on iOS & Android • The free Agency Companion app is live on the App Store and Google Play • Full download & setup guide at companion.agencyg.de • One app links to all your Agency scripts — Doorlock, Phone, Pad, Elevator, Reports & more
🎮 New — Players, On the Go • See every door you have access to in one list, with its live locked / unlocked state • Lock or unlock a door you own when you're nearby — the same access rules as in-game apply • Set a GPS waypoint to any door from the app to find it fast
Changes (cont.)
🛡️ New — Admins, On the Go • Override ANY door on the server from anywhere — no distance limit, a true remote security override • Delete doors you no longer need right from your phone (static config doors stay protected) • Open the in-game door setup menu remotely to add or edit doors • Every admin action re-checks your Config.SetupPermission server-side — the QR/pairing can never elevate anyone
🔑 New — 6-Digit Pairing Code • Can't scan? Type the 6-digit code shown under the QR into the app instead • The code stays visible even while a device is linked, so you can add another phone anytime • Codes expire after Config.Companion.TokenTTL (default 5 min) for safety
🌍 Improved — Full Localization • All new app, pairing and UI texts translated into all 25 supported languages: EN, DE, BG, CS, DA, EL, ES, FI, FR, HR, HU, IT, JA, KO, NL, NO, PL, PT, RO, RU, SK, SV, TR, UK, ZH
🐛 Fixed • The 6-digit pairing code now always renders under the QR in the /adoorlock setup menu • The companion QR card collapses/expands cleanly and no longer overlaps the door list • Cleaner panel open/close behaviour and various smaller NUI polish
Changes (cont.)
♻️ Backward Compatible • All your existing doors, keybinds, sounds and configs keep working untouched — no migration, no data loss • The companion integration is OPTIONAL — set Config.Companion.Enable = false and nothing changes • Stale-config-safe: even if an older config.lua has no Config.Companion block, the feature stays enabled on safe defaults — a leftover config can never silently kill it • All companion pairing tables are created automatically on first start — no manual SQL
Installation • Replace your Agency-Doorlock folder with the new build (or overwrite these files):
fxmanifest.lua
config.lua (review the Config.Companion block — safe to keep your own)
client/main.lua
client/companion.lua
client/configurator.lua
server/main.lua
server/companion.lua
server/companion_relay.lua
html/index.html
html/script.js
html/style.css
html/js/companion.js
html/js/qrcode.min.js
shared/locales.lua
shared/locale/ (all language files)
• No manual database changes — all tables are created automatically • Needs oxmysql (already required) • Restart the resource via txAdmin or ensure Agency-Doorlock.