4 Commits

Author SHA1 Message Date
55b4506225 Clean up spawned safe props on resource stop, bump to 1.1.3
The cleanup loop ran on onClientResourceStart, but spawnedSafes is
already a fresh empty table by then, so it never actually deleted
anything. Props from before a restart stayed orphaned in the world
and got duplicated by the requestSync on start. Moved the cleanup to
onClientResourceStop, which runs while the entities are still known.
2026-08-03 11:38:57 +00:00
cc53d101cb Enable Lua 5.4 in fxmanifest, bump to 1.1.2
ox_lib requires lua54 to be enabled; without it, ox_lib/init.lua
threw "Lua 5.4 must be enabled in the resource manifest!" on
resource start.
2026-08-03 11:37:34 +00:00
9cb715fc34 Remove auto-restart from upgrade command, bump to 1.1.1
ExecuteCommand('restart ...') was restarting the whole FXServer
process in this environment instead of just the resource, so
/oixbupgrade now only downloads files and tells the admin to
restart manually.
2026-08-03 11:35:17 +00:00
849663708a Add safe stash resource with security hardening
Adds distance validation on placement, PIN attempt rate limiting,
proximity checks on open/pickup, and prevents item loss on pickup
when the safe still has contents.
2026-08-03 10:57:14 +00:00