Docs

kyoVipShop

Installation

  1. Put the kyoVipShop folder in your resources folder.
  2. 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
  1. Database: nothing to do. The kyovipshops table is created on start. kyoVipShops.sql is included if you prefer to import it.

Updating from an older version: VIP players saved in the old paav_vips table are copied to kyovipshops automatically on start. On QBCore / Qbox VIP status is saved per character (citizenid); on ESX per identifier.

  1. Coins: items priced in coins use Config.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').
  2. Admins: framework admins (ESX group, or the admin / god ACE on QBCore / Qbox) can use /setvip and /removevip. You can also grant it by ACE:

add_ace group.admin kyovipshops.admin allow
  1. Make sure every item in Config.Items exists in your inventory.