Configure
Install and configure FS-Money
Requirements
oxmysqlFS-Lib
Optional:
- LB Phone (for the FS-Money app integration)
- A target system if you enable
Config.useTargetSystem
Installation
- Place
FS-Moneyin yourresourcesfolder. - Import the SQL files (see Database below).
- Add
ensure FS-Moneytoserver.cfg. - Configure
config.luaand restart the resource.
Database
Import both SQL files from the resource:
fs_money.sqlcreates the main balances table.fs_money_txn.sqlcreates the transaction history table.
If you skip fs_money_txn.sql, transaction history will not be recorded.
Core settings
Prop
Type
Manual money permissions
Prop
Type
Paychecks
Config.Paychecks controls automatic pay:
Prop
Type
Starting balances
Prop
Type
Notifications and phone
Prop
Type
FS-MoneyApp (LB Phone)
The FS-MoneyApp is a separate resource you receive alongside FS-Money in the customer portal. Download FS-MoneyApp, add it to your resources folder, and drag-and-drop the app into LB Phone. Then set Config.useLBPhoneIntegration = true.
ATM settings
Config.ATM controls ATM behavior:
Prop
Type
Player payments
Prop
Type
Client update hook
Config.ClientUpdate lets you drive a custom HUD:
Prop
Type
Money HUD
Config.MoneyHUD controls the built-in HUD:
Prop
Type
Wire transfer
Prop
Type
Ledger logging
Config.LedgerCurrencies controls which balances are logged to fs_money_txn.
Prop
Type
Commands
Self commands (only when enabled):
/setcash,/setbank,/setdirtymoney,/setpokerchips
Player-to-player:
/paycash(cash)/paytap(bank)/paydirtymoney(dirty cash)/paychips(poker chips)
Admin (requires Config.adminAcePerm):
/setplayercash,/setplayerbank,/setplayerdirtymoney,/setplayerpokerchips
UI and HUD:
/bankingopens the banking dashboard./togglemoneyhudthemetoggles HUD theme.
Exports
See Exports for server and client exports.