Real Wallet / Getting started
File structure & escrow
Code
ryan-wallet/
├── config.lua every setting, explained where it is (open)
├── fxmanifest.lua
├── README.md
├── locales/ the text players read, 14 languages (open)
├── bridge/framework/
│ ├── server.lua character id, name, card metadata reading (open)
│ └── client.lua dead / cuffed checks, the card photo (open)
├── server/
│ ├── hooks.lua your own reactions: card shown / handed, cash (open)
│ ├── main.lua the wallet's storage and every action
│ ├── faces.lua what a card prints
│ └── version.lua the update checker
├── shared/locale.lua language picking, card + wallet lists
├── client/ the hands, props, camera and mouse
├── ui/ the tag next to the prop, the card viewer
├── dui/ your own cards, drawn onto the card props
├── cards/ your own card art (PNG) (yours)
├── install/
│ ├── items.lua items to paste into ox_inventory (open)
│ ├── shops.lua optional shop lines (open)
│ └── images/ the item pictures for ox_inventory
├── docs/
│ └── id-and-bank-scripts.md the ID / bank script guide
└── stream/ props, textures and animations
What is open
These files are not escrowed, so you can read and change them:
config.lualocales/*.luabridge/**/*.luaserver/hooks.luainstall/*.lua
Everything else is escrowed. The open files cover everything a server needs to change: settings, text, how your framework and card metadata are read, and your own reactions to what happens with a wallet.
Where wallet contents are saved
Nowhere in this folder. Each wallet's cards and cash live in an ox_inventory stash, saved in your database by ox_inventory like any other stash. Replacing the folder on an update never touches them.
A few small records (who already got a starter wallet, and which cards a player took out on purpose) are kept in the resource's own key-value store on the server.
Still stuck? Open a ticket in the Ryan Studios Discord and we'll help you out.