The Lab
The Lab Id · RedEM:RP

Install The Lab Id on RedEM:RP

There is no ready-made item file for RedEM:RP in the package, so the one manual step here is declaring the two items in your inventory. The adapter targets redemrp_inventory 2.x.

Estimated time: 20 minRedEM:RP

Before you start

  • redem_roleplay and redemrp_inventory 2.x
  • oxmysql
  • OneSync enabled

Install steps

  1. 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 single tlb-id folder. Keep the folder name as it is.

  2. Step 2: Declare id_card and census_book

    Add both items to your redemrp_inventory item list as usable items, following the format your inventory version uses. Copy installation/item-images/ into its image folder under the same names.

  3. Step 3: Ensure after the framework

    Inventory and core must be running before tlb-id starts, or it falls back to standalone.

    ensure oxmysql
    ensure redem_roleplay
    ensure redemrp_inventory
    # ...
    ensure tlb-id
  4. Step 4: Admins

    RedEM:RP admin and superadmin groups can open /idadmin. The ACE also works:

    add_ace group.admin tlb-id.admin allow
  5. Step 5: Create an office and test

    Add an office with /idadmin, then register a character and use the card from the inventory. This adapter was not tested on a production RedEM:RP server: if anything differs on your build, edit bridge/server/frameworks/redemrp.lua, which is open.

Troubleshooting

Using the card does nothing

The item is not declared as usable in redemrp_inventory, so the RegisterUsableItem:id_card event never fires.

Framework detected as standalone

redem_roleplay was not started before tlb-id. Fix the order or set the framework in /idadmin > System.

FAQ

Does it support redemrp_inventory 1.x?

The adapter is written for 2.x. Older versions need changes to the open adapter.

Is a SQL import needed?

No, tlb_id_cards is created on first start.