Configuration Guide
Tweak how cash, bank, and dirty money behave on your server by editing config.lua.
This guide explains how to configure the config.lua file for FS-Money, customizing how the money system works on your FiveM server.
π Quick Startβ
- Place the
fs-moneyfolder in yourresourcesdirectory. - Edit
config.luato enable or disable the features you need. - Restart the resource (or the whole server) to apply your changes.
π File Locationβ
You can find the configuration file here:
resources/[fs-money]/config.lua
βοΈ General Settingsβ
Config.debugβ
- Type:
boolean - Default:
false - Description:
Enables debug mode for logging detailed messages. Useful for development and troubleshooting.
Config.AllowManualMoneyControlβ
-
Type:
boolean -
Default:
true -
Description:
Allows players to manually change their own money values using commands.β οΈ Only enable this in development or test environments.
Config.ManualMoneyPermissionsβ
-
Type:
table -
Default:
{
setcash = true,
setbank = true,
setdirtymoney = true,
setpokerchips = true
} -
Description:
Permissions for self-modification commands. Active only ifAllowManualMoneyControlis enabled.Supported Commands:
/setcash/setbank/setdirtymoney/setpokerchips
Config.adminAcePermβ
- Type:
string - Default:
'fs_money.admin' - Description:
ACE permission required for admin-level commands (e.g., setting another player's cash/bank).
Config.bankNameβ
- Type:
string - Default:
"Fearless Bank" - Description:
The name displayed in UI and notifications for bank-related actions.
π΅ Paycheck Settingsβ
Config.Paychecksβ
- Type:
table - Default:
{
Enable = false,
PaycheckInterval = 30,
PaycheckAmount = 1500,
PaycheckName = "[Paycheck]"
} - Fields:
Enable: Enable/disable the automatic paycheck system.PaycheckInterval: Time (in minutes) between paychecks.PaycheckAmount: Amount of cash awarded per cycle.PaycheckName: Title of the paycheck notification.
πΈ Starting Balancesβ
Config.InitialCashβ
- Type:
number - Default:
500 - Description:
Starting cash for new players.
Config.InitialBankβ
- Type:
number - Default:
1500 - Description:
Starting bank balance for new players.
π± Phone Integrationβ
Config.useLBPhoneIntegrationβ
-
Type:
boolean -
Default:
false -
Description:
Enables integration with LB Phone using the provided FS-Money app.Set this to
trueonly if you are using the custom app included with FS-Money.
Config.showDefaultNotificationsβ
- Type:
boolean - Default:
true - Description:
Show default GTA notifications. Disable this if using LB Phone integration.
π§ ATM Configurationβ
Config.ATMβ
- Type:
table - Default Example:
{
Increment = 10,
Fee = 2.5,
UseKey = 38,
AdditionalModels = {
{
hash = -960287005,
verticalOffset = 0.0,
interactDistance = 0.8,
rotationOffset = 90.0,
swapXY = true,
standingOffset = -0.4
},
}
} - Fields:
Increment: Minimum transaction amount for deposits/withdrawals.Fee: Flat fee per ATM use.UseKey: Key code to interact with ATMs (default:E).AdditionalModels: Define custom ATM models and settings.
π€ Player-to-Player Paymentsβ
Config.PayPlayerKeyβ
- Type:
number - Default:
38(E) - Description:
Key to initiate payment to another nearby player.
Config.PayPlayerCancelKeyβ
- Type:
number - Default:
73(X) - Description:
Key to cancel an in-progress player payment.
π₯οΈ Client HUD Updateβ
Config.ClientUpdateβ
-
Type:
table -
Default:
{
Enable = true,
Type = "event",
ResourceName = "",
Name = "FS-Money:UpdateMoney"
} -
Description:
Controls how the client-side Money HUD updates are triggered.Fields:
Enable: Enable HUD update triggers.Type:"event"(trigger a client event) or"export"(call an export function).ResourceName: Required only if using"export".Name: Event/export name to update the playerβs money display.
π» Money HUD Settingsβ
Config.MoneyHUDβ
- Type:
table - Default:
{
Enable = true,
showKey = 48
} - Fields:
Enable: Toggles Money HUD on/off.showKey: Key code (48=Z) for players to toggle the HUD visibility.