Install The Lab Id on VORP
This guide gets census offices running on a VORP server, from the item SQL to the first card issued. Gameplay settings are all made in game afterwards, so there is no config file in this guide.
Before you start
vorp_coreandvorp_inventoryoxmysqlconnected to your database- OneSync enabled
- Database access (HeidiSQL, phpMyAdmin or the
mysqlclient)
Install steps
Step 1: Download the resource from the Cfx.re Portal
Sign in to the Cfx.re portal with the account you used at checkout, open your granted assets and download
tlb-id. Extract the archive: you get a singletlb-idfolder. Keep the folder name as it is.Step 2: Add the two items
Run
installation/vorp-items.sqlon your VORP database. It addsid_cardandcensus_bookand skips them if they already exist.mysql -u <user> -p <database> < tlb-id/installation/vorp-items.sqlStep 3: Copy the item image
Copy the files from
installation/item-images/intovorp_inventory/html/img/items/, then restartvorp_inventory.Step 4: Grant admin access
VORP
adminandsuperadmingroups are accepted. To give access through ACE instead, add this toserver.cfg:add_ace group.admin tlb-id.admin allowStep 5: Ensure it after the framework
tlb-idreads the framework at start, so it goes afteroxmysqland the VORP resources.ensure oxmysql ensure vorp_core ensure vorp_inventory # ... ensure tlb-idStep 6: Create your first census office
Start the server, stand where the clerk should be and type
/idadmin. In Offices, choose "add at my position", set the town name, price and registry jobs, then Save. Thetlb_id_cardstable is created on this first start.Step 7: Issue a test card
Walk up to the NPC, hold right click and press E to register. Fill in the card, then check the
id_carditem in your inventory.
Troubleshooting
The card is not given
The id_card item is missing from the items table, or vorp_inventory was not restarted after the SQL import.
`/idadmin` says no permission
Your account or character group is not admin/superadmin, and the ACE line is missing or does not match your group.
Locked out after changing the admin ACE
Stop the server, delete the system block in data/settings.json to restore defaults, and start again.
FAQ
Can I run the SQL file again after an update?
Yes. It uses INSERT IGNORE, so existing items are left alone.
Where are offices and settings saved?
In data/settings.json, written by the admin panel. Do not edit it while the server runs.
Related guides
- Install oxmysql on RedMSet up oxmysql for RedM: download the release build, set mysql_connection_string, ensure it first and fix the usual connection errors.
- RedM server.cfg ensure orderWhy start order matters in a RedM server.cfg and the order that works: database, libraries, framework core, inventory, then your scripts.
- Cfx.re escrow and the Cfx.re Portal (ex-Keymaster) for RedM scriptsHow escrowed RedM scripts work: purchase, Cfx.re Portal download (ex-Keymaster), license key ownership, open config files and common errors.