Untitled page

Installation Guide for POS-Inventory on VORP Framework

Step 1: Create POS Folder

If you do not have a [POS] folder in your server resources, create one, ensuring it has brackets.

Step 2: Download POS-Core Script

Download the POS-Core script from Keymaster.
Place it inside the [POS] folder if you do not already have it.

Step 3: Download POS-Inventory Script

Download the POS-Inventory script from Keymaster.
Place it in the [POS] folder.

Step 4: Backup and Remove Old Script

Backup the old vorp_inventory script.
Remove it from the resources folder.

Step 5: Rename Inventory Folder

Rename the folder POS-Inventory to vorp_inventory.

Step 6: Create Items Folder

Go into the new vorp_inventory folder.
Open html/img and create an items folder.
Transfer the new inventory images into this folder.

Step 7: Configure VORP Settings

Go into the shared/configs/config.lua file and enable the VORP settings:

Config.UseMaxWeightVORP = true -- If you want to use max weight from config, set this to true. If you want to use max weight from database, set this to false.
Config.ItemsInDatabaseVORP = true -- If you want to use items in database, set this to true. If you want to use items in config, set this to false.
Config.UseLoadoutTableVORP = true -- If you want to use loadout table, set this to true. (This will make sure weapon scripts are working properly)

Step 8: Update server.cfg

Go into your server.cfg.
Ensure vorp_inventory is followed by ensure POS-Core.
Make sure it is right next to it.
If you receive errors in the console, the order is incorrect.
Ensure it is right below vorp_core. Note that POS-Core does not replace vorp_core.

Step 9: Configure Inventory Import

If the server is not in a beta phase and you have players playing on the server, replace false in the following config option:

Config.ImportInventoryVORP = false -- command '' or false. Make sure to disable it.
Put a command in quotes, for example, ’loadOldInventory’, and then restart the server.
After restarting, run the command in the console and wait 10 seconds.
Ensure no player is connected to the server.
Once you have waited those 10 seconds, revert the command back to false and restart the server once again.
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.