---
description: axeVip installation
---

# Installation

## ESX

### 1. Create VIP currency in you server:

In your axeVip config file you have vip currency

```lua
Config.VipCurrency = "coins"
```

In you server/resources/\[core]/es\_extended/shared/config/main.lua add vip currency to Config.Accounts like this:

```lua
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 = false,
	},
}
```

### 2. If your server is already started restart it!

### 3. Configure axeVip in shared/config.lua and start it!

## QBCore

### 1. Create VIP currency in you server:

In your axeVip config file you have vip currency

```lua
Config.VipCurrency = "coins"
```

In you server/resources/\[qb]/qb-core/config.lua add vip currency like this:

```lua
QBConfig.Money.MoneyTypes = { cash = 500, bank = 5000, crypto = 0, coins = 0 }
QBConfig.Money.DontAllowMinus = { 'cash', 'crypto', 'coins' }
```

### 2. If your server is already started restart it!

### 3. Configure axeVip in shared/config.lua and start it!

## QBOX

### 1. Create VIP currency in you server:

In your axeVip config file you have vip currency

<pre class="language-lua"><code class="lang-lua"><strong>Config.VipCurrency = "coins"
</strong></code></pre>

In you server/resources/\[qbx]/qbx\_core/config/server.lua add vip currency like this:

```lua
money = {
        ---@alias MoneyType 'cash' | 'bank' | 'crypto' | "coins"
        ---@alias Money {cash: number, bank: number, crypto: number, coins: number}
        ---@type 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!
        dontAllowMinus = { "cash", "crypto", "coins" }, -- Money that is not allowed going in minus
        paycheckTimeout = 10, -- The time in minutes that it will give the paycheck
        paycheckSociety = false, -- If true paycheck will come from the society account that the player is employed at
},
```

### 2. If your server is already started restart it!

### 3. Configure axeVip in shared/config.lua and start it!

