Installation

Guide to install the HighQez CashItem

Important Steps to Follow

The most important part of this installation is to edit the required resource that enables it to run on your server without any issues

Ensure that you complete the following task before testing the resource


Download Resource

Purchase the script from our HighQez Store. After the purchase, the resource will be available in your Keymaster Account

Make sure you purchase the script using the same Keymaster Account that is linked to your server. If not you will receive a warning "You lack the required entitlement".

If you receive the error mentioned above, you may have to transfer the resource from the current Keymaster account to the server's Keymaster account using the transfer feature in Keymaster.


Transfer Resource

Unzip the downloaded file and transfer it to your server's resource folder

If you are using FTP, please ensure you use WinSCP to transfer the resource to the server. If you use FileZilla, you may encounter the error "Failed to verify protected resource"


Start Resource

Ensure the resource in server.cfg of your server

Make sure to start the resource only after all essential server resources have been started. Follow the example below to ensure highqez_cashitem

ensure qb-core #Don't start above this
ensure inventory #Don't start above this

#Start the HighQez resource here

ensure highqez_cashitem

#Start the rest of your resources

Resource Items

Transfer the item's images from the INSTALL folder of the resource to your server's inventory

Ensure to add all required items to your server

OLD QBCore
['cash'] = {
    ['name'] = 'cash', 					        
    ['label'] = 'Cash', 		   		    
    ['weight'] = 0, 		
    ['type'] = 'item', 		
    ['image'] = 'cash.png', 	 		    
    ['unique'] = false, 		
    ['useable'] = false, 	
    ['shouldClose'] = false,	   
    ['combinable'] = nil,   
    ['description'] = 'Currency'
},
NEW QBCore
cash = {
    name = 'cash', 					        
    label = 'Cash', 		   		    
    weight = 0, 		
    type = 'item', 		
    image = 'cash.png', 	 		    
    unique = false, 		
    useable = false, 	
    shouldClose = false,	   
    combinable = nil,   
    description = 'Currency'
},

Configure Resource

Customize the script to suit the specific requirements of your server

Open-source files are available for editing the framework function. The main configuration of the resource is provided below.

Config File
Config = {}

Config.Currency = { ['cash'] = true, }  -- Name of the currency and item need to be the same

Required Resource Adjustments

Server resources need to be modified for the proper execution of this script. Follow the instructions below to ensure the script runs smoothly

Refer to the following tab, which is relevant to your current qb-core and inventory script

OLD QBCORE

Remember this important information This version does include inventory functions such as AddItem, RemoveItem, and ClearInventory

NEW QBCORE

Remember this important information This version does not include inventory functions such as AddItem, RemoveItem, and ClearInventory

OLD INVENTORY

Remember this important information The editing process is the same for inventories, including qb-inventory, ps-inventory, and lj-inventory

NEW INVENTORY

Remember this important information The editing process is the same for inventories, including qb-inventory, ps-inventory, and lj-inventory


Resource API

Check out the API page to access all APIs for this resource, which can be very useful for developers

API

Last updated

Was this helpful?