AWS Stashes Connector
A small optional client connector for dynamically registered ox_inventory stashes. It is not a standalone stash creator: another resource must emit rio-connector:client:SyncStashes with stash IDs and coordinates.
Requirements
- QBCore; client.lua obtains qb-core at load time
- ox_inventory
- The resource that registers stashes and emits the sync event
- Optional FiniAC manifest integration
Install and enable
Keep the folder name rio-stashes. Start QBCore, ox_inventory, and the stash provider first:
ensure ox_inventory
ensure rio-stashes
Config.EnableInGameOpen is false by default. Enable it only if this resource should draw a marker and open nearby synced stash IDs with E. Marker range is 15 m; interaction range is 1.5 m.
Provider event shape
The provider should send a table keyed by stash ID. Each entry needs numeric coords.x, coords.y, and coords.z. This resource then calls ox_inventory:openInventory('stash', id).
If markers never appear, confirm the provider sends the event after player load and that each stash is registered with ox_inventory under the same ID. This folder contains no SQL or stash-creation code.