The Lab
The Lab Id · VORP

RedM ID card script for VORP

On VORP, The Lab Id issues the identity card as a vorp_inventory item, reads the character's name and job from vorp_core, and charges the census fee from the character's money when an office is paid.

Features

  • Card issued as a vorp_inventory item with its own metadata

  • Character first and last name locked on the card by default

  • Paid offices take the fee from the character's money

  • Census registry item for allowed jobs

  • Revoking a card in /idadmin removes the item from an online holder

Compatibility

Dependencies

vorp_core, vorp_inventory, oxmysql and OneSync. Both items must exist in the VORP items table.

Items

installation/vorp-items.sql inserts id_card and census_book with INSERT IGNORE, so running it twice is harmless. Restart vorp_inventory afterwards, and copy the item images into vorp_inventory/html/img/items/.

Start order

ensure oxmysql, then your VORP resources, then ensure tlb-id. The framework is detected from a started vorp_core; it can also be fixed in /idadmin > System.

Admins

Grant tlb-id.admin through ACE, or rely on VORP admin groups, which the adapter accepts as well.

Registry access

Each office lists the jobs allowed to read its registry. They are compared with the VORP character job, so use the job names your server already uses (for example sheriff).

By framework

Install guide

Install The Lab Id on VORP

Install The Lab Id on VORP: import the item SQL, copy item images, grant tlb-id.admin, ensure after oxmysql and create census offices.

FAQ

Do the items need a specific label?

No. Each card and registry shows a translated label and description from its metadata. The SQL labels are only defaults.

I renamed the items. What else changes?

Set the new names in /idadmin > System, rename the rows in the items table and rename the image files.

Is any SQL needed besides the items?

No. The tlb_id_cards table is created automatically on first start.