Installation & Configuration
Install and configure FS-Money
Set up the database before starting FS-Money, then test basic banking before turning on phone, target, or third-party payment integrations.
Installation
Copy the FS-Money resource folder into your server's resources directory.
Import the SQL files listed in the Database section.
Start the required dependencies before FS-Money in server.cfg:
ensure oxmysql
ensure FS-Lib
ensure FS-MoneySet your new-player balances in config.lua. Review commands, ATMs, and transfers before opening access to players. Leave integrations off until basic banking works.
Restart your server, or restart the FS-Money resource from the server console.
First test: Run /banking or use a configured ATM. Make a small transfer between your own test accounts, then confirm the balance and transaction are correct. Check that the balance persists before allowing other scripts to charge players.
Requirements
oxmysqlFS-Lib
Optional integration
- LB Phone and FS-MoneyApp, only when enabling the phone integration.
- A target system if you enable
Config.useTargetSystem
Set up the SQL tables first
Confirm that oxmysql uses the database where you import the files. Join with a test account after startup and test banking before making changes to player balances.
Jump to what you need:
- Import the SQL tables
- Set starting balances
- Restrict manual money commands
- Add ATMs
- Set up phone banking
Database
Import these two files from the resource into the database used by oxmysql:
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
Set the default behavior below, then move on to starting balances and manual money permissions.
Prop
Type
Manual money permissions
Decide who can change balances through commands before opening the server to players. This is separate from ordinary banking.
Prop
Type
Paychecks
If your server should pay players on a schedule, review Config.Paychecks:
Prop
Type
Starting balances
Pick the cash and bank balances that new accounts should receive. Changing these values does not reset existing accounts.
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
Use Config.ATM to decide which ATMs players can use and how they interact with them:
Prop
Type
Player payments
Prop
Type
Client update hook
Use Config.ClientUpdate if another HUD needs the player’s balance updates:
Prop
Type
Money HUD
Use Config.MoneyHUD to show, hide, or customize the built-in balance display:
Prop
Type
Wire transfer
Review the fee settings before offering wire transfers to players.
Prop
Type
Ledger logging
Pick the currencies you want recorded in fs_money_txn with Config.LedgerCurrencies.
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.