Installation
- Put the
kyoVipShopfolder in yourresourcesfolder. - Start it after oxmysql, your framework, your inventory and kyoNotify:
ensure oxmysql
ensure es_extended # or qb-core / qbx_core
ensure ox_inventory # if you use it
ensure kyoNotify
ensure kyoVipShop
- Database: nothing to do. The
kyovipshopstable is created on start.kyoVipShops.sqlis included if you prefer to import it.
Updating from an older version: VIP players saved in the old
paav_vipstable are copied tokyovipshopsautomatically on start. On QBCore / Qbox VIP status is saved per character (citizenid); on ESX per identifier.
-
Coins: items priced in
coinsuseConfig.Currencies.coins:- ESX: an account called
coins. Add it to your ESX accounts if it doesn’t exist. - QBCore / Qbox: a money type called
coins. Add it to your core’s money types, or change it to an existing one (crypto) or to an item ('item:vip_coin').
- ESX: an account called
-
Admins: framework admins (ESX group, or the
admin/godACE on QBCore / Qbox) can use/setvipand/removevip. You can also grant it by ACE:
add_ace group.admin kyovipshops.admin allow
- Make sure every item in
Config.Itemsexists in your inventory.