Installation
- 1
Dependencies
Make sure you have one of these frameworks installed on your server:
- ESX or QB-CORE
- 2
Start order
server.cfgserver.cfgensure biyei_coins - 3
Add server coins
Note
ESX Installation Coins
- Open the
config.luafile ofes_extended. - In
Config.Accountsadd a new account type with your own name for coins, e.g.'coins'.
OLD ESX:
LuaConfig.Accounts = { bank = _U('account_bank'), black_money = _U('account_black_money'), money = _U('account_money'), coins = 'coins', } Config.StartingAccountMoney = {bank = 25000, money = 5000, coins = 0} - Open the
- 4
Add server coins — NEW ESX
NEW ESX:
LuaConfig.Accounts = { bank = { label = TranslateCap('account_bank'), round = true }, black_money = { label = TranslateCap('account_black_money'), round = true }, money = { label = TranslateCap('account_money'), round = true }, coins = { label = 'coins', round = true, } } Config.StartingAccountMoney = {bank = 50000, coins = 0} - 5
Add server coins — QB-Core
Note
QB-CORE Installation Coins
- Open the
config.luafile ofqb-core. - In
QBConfig.Money.MoneyTypesadd a new account type with your own name for coins, e.g.'coins'.
LuaQBConfig.Money = {} QBConfig.Money.MoneyTypes = { cash = 500, bank = 5000, crypto = 0, coins = 0 } -- type = startamount - Add or remove money types for your server (for ex. blackmoney = 0), remember once added it will not be removed from the database! QBConfig.Money.DontAllowMinus = { 'cash', 'crypto', 'coins' } -- Money that is not allowed going in minus QBConfig.Money.PayCheckTimeOut = 10 -- The time in minutes that it will give the paycheck QBConfig.Money.PayCheckSociety = false -- If true paycheck will come from the society account that the player is employed at, requires qb-management - Open the
