Server-owned stash nodes with spawn selection, loot rolling, refresh rules, and server-side validation.
- Stash nodes: Server spawns nodes (type + location from config); client only spawns visuals and sends "open node X".
- Anti-cheat: Server validates node existence, distance, required item, skillcheck nonce, and rate limits.
- Refresh: Restart-only populate or timer-based refresh; loot is generated server-side and added to stashes.
- Loot:
LootGuaranteedalways added;LootTablewith independent chance per entry;FilledSlots= min/max random rolls.
- Config.Global:
DefaultRefreshMinutes,RefreshMode('timer'|'restart'),AntiSpamMs. - Config.SpawnLocations: Pools of
vector4coords per key (e.g.barrel,ammo_box). - Config.StashTypes: Per-type props,
StashesToSpawn, slots/weight,FilledSlots,LootGuaranteed,LootTable,RequiredItem,SkillCheck,Radius,SpawnDistance, etc.
- ox_lib
Framework (QB/Qbox/ESX/Ox)