Install The Lab Telegram on RSG
On RSG the telegram needs one SQL import, four item entries in rsg-core and their images. This guide goes through each, then checks the full postal flow with two characters.
Before you start
rsg-coreandrsg-inventoryoxmysql- Database access to import a SQL file
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-telegram. Extract the archive into your resources folder and keep the folder name as it is.Step 2: Import the SQL
Import
installation/tlb-telegram.sqlonce. It creates the telegram tables and seeds the default papers, fonts and stamps.mysql -u <user> -p <database> < tlb-telegram/installation/tlb-telegram.sqlStep 3: Add the items to rsg-core
Open
installation/rsg-items.luaand copy its four entries (paper,quill,envelope,letter) into the items table ofrsg-core/shared/items.lua. If your server already has one of them, keep yours only when it is set the same way:paperandletterneeduseable = true,letteralsounique = true.paper = { name = 'paper', label = 'Paper', weight = 50, type = 'item', image = 'paper.png', unique = false, useable = true, shouldClose = true, description = 'A blank sheet of paper ready to be written on.' },Step 4: Copy the item images
Copy the content of
installation/item-images/intorsg-inventory/html/images/.Step 5: Ensure after the RSG stack
The framework is detected on start, so start it before the telegram.
ensure oxmysql ensure rsg-core ensure rsg-inventory ensure tlb-telegramStep 6: Check the console
On start the console prints the framework in use:
framework: rsg. If it printsstandalone,rsg-corewas not running.Step 7: Test the postal flow
Buy paper, a quill and an envelope at the stationery shop, write and seal a letter, send it at a post office to a second character's postal number, then collect it from that character's incoming telegrams. Before sending, add the recipient to the directory with their postal number, shown in their own panel.
Troubleshooting
Buying at the stationery shop shows an error
The items are missing from rsg-core/shared/items.lua, or the player has no room. Check the names match Config.Items and Config.Shop.items.
The console shows `framework: standalone`
rsg-core was not started, or its folder has another name. Fix the start order, then restart tlb-telegram.
Items show without an image
The images were not copied into rsg-inventory/html/images/, or their file names do not match the image field.
FAQ
Can I limit a stamp to the sheriff?
Yes: jobs = { 'sheriff' } on that entry in Config.Stamps, matched against the RSG job.name.
Can I translate it?
Set Config.Locale to 'fr', or copy the en table in Config.Locales to add your own language.
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.