> For the complete documentation index, see [llms.txt](https://docs.biyei.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.biyei.net/scripts/coins-+-reward-system/installation.md).

# Installation

### **•** STEP 1: DEPENDENCIES

Make sure you have this resources installed in your server!

1. <mark style="color:yellow;">ESX</mark> or <mark style="color:purple;">QB-CORE</mark>

### **• STEP 2: START ORDER**

```
ensure biyei_coins
```

### **• STEP 3: ADD SERVER COINS**

{% hint style="info" %}
ESX Installation Coins
{% endhint %}

1. Opens the config.lua file of es\_extended
2. In Config.Accounts add new Account type with your own name coins for example 'coins'&#x20;

**OLD ESX:**

```
Config.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}
```

**NEW ESX:**

```
Config.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}
```

{% hint style="info" %}
QB-CORE Installation Coins
{% endhint %}

1. Opens the config.lua file of qb-core
2. In QBConfig.Money.MoneyTypes add new Account type with your own name coins for example 'coins'

```
QBConfig.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
```
