Skip to content

shiva-economy — Config ​

Options ​

Config.accounts ​

Type: table
Default: { 'cash', 'bank' }

The account types available to each character.


Config.startingCash ​

Type: number
Default: 500

Starting cash balance for new characters.


Config.startingBank ​

Type: number
Default: 2500

Starting bank balance for new characters.


Config.allowNegativeBalance ​

Type: boolean
Default: false

If true, accounts can go negative.


Config.salaryInterval ​

Type: number
Default: 1800 (30 minutes in seconds)

How often salaries are paid out. Set to 0 to disable.

Released under the MIT License.