FS-Money
Give players cash, banking, transfers, and ATMs, with a built-in balance display.
Get it running
Start Here
Required: oxmysql, FS-Lib, access to your server database, and the built release with its packaged UI and Lua files.
Installation
-
Put the built
FS-Moneyfolder in your server’sresourcesdirectory. -
Import
fs_money.sqlfor balances andfs_money_txn.sqlfor transaction history before starting the resource. -
Add the following lines to
server.cfgin this order:ensure oxmysql ensure FS-Lib ensure FS-Money -
Open
config.luafor any initial settings you need, then restart the server or resource.
The database guide explains what each SQL import does.
First test: Join after startup, open /banking, then move a small amount between accounts you control. Check the balance and the ledger entry before connecting scripts that can charge your players.
Detailed guides and references
Set up the database
Import the balance and transaction tables before starting the resource.
Run a test transfer
Check that the money moves and the ledger records it once.
Set starting balances or add ATMs
Choose the amounts new players receive and the ATM behavior.
Fix banking, ATMs, or permission errors
Follow the matching console message or player symptom.
Connect another script
Use the server API to handle payments and rewards.
Configuration
Optional: LB Phone with FS-MoneyApp for phone banking, or a target system if enabled in your config.
Edit the settings you need, then restart the resource.
| Setting | Default | Meaning and when to change it |
|---|---|---|
Config.InitialCash | 500 | Starting cash for new accounts. Change for your economy; do not expect it to reset existing balances. |
Config.InitialBank | 1500 | Starting bank balance for new accounts. Choose it before opening the server to players. |
Config.useLBPhoneIntegration | false | Phone integration is off. Enable only after installing and configuring the matching phone app. |
Set an example starting economy for newly created accounts. Change just these lines in your existing file.
Config.InitialCash = 250
Config.InitialBank = 1000Usage
Troubleshooting
Banking fails or balances do not save
Check that oxmysql started before FS-Money, that the database connection works, and that the required SQL files were imported. Check the server console before retrying a transfer.
The phone app is missing
FS-Money works without a phone and does not install LB Phone. Set up the optional FS-MoneyApp, then enable the matching integration.
Everyone can use manual money commands
Before going live, check AllowManualMoneyControl and ManualMoneyPermissions. These settings govern manual money commands, not normal banking.