Armories

About this script

GM Armories brings player-owned, placeable storage to RedM. Players use an armory item, position the chest anywhere in the world with a live 3D gizmo, and get a persistent, lockable stash they can share with their gang, posse or friends.

Three storage tiers, optional passcodes, member invites with granular permissions and a full admin toolkit. The database creates itself (no SQL import), it works through the jo_libs framework bridge, and the config is fully open.

๐Ÿ’ก Make it fit your server. All notifications and text inputs go through a single adapter.lua file. Swap ox_lib for your own notification or input system by editing one file, and nothing else needs touching. Config, adapter, locale and webhook files are all escrow-free.

Features:

  • Placeable armories โ€“ use the item, place it with a gizmo, and the prop streams in and out by distance for good performance.
  • Three storage tiers โ€“ Small, Medium and Large Armory, each with its own prop, slot count, weight limit and member cap.
  • Persistent storage โ€“ armories and their inventories survive restarts, saved in MySQL.
  • Owner & member system โ€“ the owner always has access and can share it with others.
  • Nearby invites โ€“ invite players standing next to you straight from the interaction prompt.
  • Invite permissions โ€“ owners choose which members can also invite others, and can revoke it at any time.
  • Passcode protection โ€“ lock an armory behind a code. Anyone who enters it correctly becomes a member, up to the tier's limit. Optionally require members to enter it every time.
  • Hidden prompts โ€“ show interaction prompts only to people with access, so strangers never see the stash.
  • Server-side security โ€“ distance checks, ownership and permission checks, and passcodes are never sent to clients.
  • Admin menu โ€“ /armories lists every placed armory. Teleport to it, move it with the gizmo, snap it to your position, set the passcode, add or clear members, or delete it.
  • Discord logging โ€“ rich embeds when armories are placed. Set the webhook in config.
  • Fully configurable โ€“ keys, distances, tiers, props, slots, weights and member limits in one config file.
  • Localization โ€“ all text lives in locales/en.json. Add your own language and set it in config.
  • Auto-migrating database โ€“ the table is created on first start and upgraded automatically on updates.

Dependencies: oxmysql ยท ox_lib ยท jo_libs