The Lab Telegram
A premium telegram & postal system for RedM (RDR3).
Works with VORP, RSG, RedEM:RP and standalone — the framework is detected automatically.
Immerse your players in a fully functional western postal service. Write letters on real paper, seal them in envelopes, deliver them across the map through post offices, and let your community stay in touch the old-fashioned way — with a polished, roleplay-first interface.
Highlights
- Works on every major framework — VORP, RSG, RedEM:RP or no framework at all. Auto-detected on start, or forced in
shared/config.lua. - Living post offices — NPC postmen are placed in every configured town, with map blips and native interaction prompts (press E to open the panel).
- In-game telegram editor — write directly on the paper: title, markdown content, font, paper background and signature, with a live preview.
- Three signature styles — typed (choose a font), handwritten (draw with your mouse), and official stamps — with a per-job whitelist so only the right people can use the right stamp.
- Full postal flow — write → seal → send at the post office → recipient collects from incoming telegrams. Costs, recipients and balances are all handled.
- Recipient directory — add, edit and delete contacts by postal number, with custom names.
- Stationery shop — a shopkeeper sells paper, quills and envelopes.
- Quill durability — every letter written wears down the quill (
metadata.durability); it breaks when it reaches 0. Fully configurable. - Notification bubble — a discreet, movable bubble that appears only when you have mail, toggleable in settings.
- Fully translatable — every text and every button is driven by
shared/config.lua, shipping with English and French out of the box. - Configurable fonts — add your own fonts straight from
shared/config.lua, no code required. - Screenshot-quality UI — a minimalist western-themed interface with paper textures, typewriter fonts and subtle 3D card effects.
- Data-safe — everything is stored in MySQL and visual properties are snapshotted, so old telegrams never break when you update the catalog.
Requirements
- RedM (Red Dead Redemption 2)
- oxmysql — required
- One of these frameworks (optional):
| Framework | Resources |
|---|---|
| VORP | vorp_core + vorp_inventory |
| RSG | rsg-core + rsg-inventory |
| RedEM:RP | redem_roleplay + redemrp_inventory 2.x |
| Standalone | nothing else |
Installation
- Place the
tlb-telegramfolder into yourresourcesdirectory. - Import
installation/tlb-telegram.sqlinto your database (creates all tables and seeds the default papers, fonts and stamps). - Add the four items (
paper,quill,envelope,letter) to your framework — everything is ininstallation/:
- VORP — run
installation/vorp-items.sql, then restartvorp_inventory. - RSG — copy the entries of
installation/rsg-items.luainto the items table ofrsg-core/shared/items.lua, and keepunique = trueonquillandletter. - RedEM:RP — copy the entries of
installation/redemrp-items.luaintoConfig.Itemsofredemrp_inventory/config.lua. - Standalone — nothing to add.
- Copy the images of
installation/item-images/into your inventory's image folder:vorp_inventory/html/img/items/(VORP),rsg-inventory/html/images/(RSG) orredemrp_inventory/html/items/(RedEM:RP). - Add to
server.cfg, after your framework:
ensure oxmysql
# your framework (vorp_core + vorp_inventory, rsg-core + rsg-inventory, redem_roleplay + redemrp_inventory)
ensure tlb-telegram
On start the console prints the framework in use, for example framework: rsg.
The web interface ships pre-built in the
app/folder. No build step is required to use the script — just drop the resource in and start it.
Frameworks
Config.Framework = 'auto' -- 'auto' | 'vorp' | 'rsg' | 'redemrp' | 'standalone'
auto uses the first framework found running (VORP, then RSG, then RedEM:RP), otherwise standalone. Forced or not, a framework that is still starting is waited for, 15 seconds at most. A forced framework is never replaced by another one.
| VORP | RSG | RedEM:RP | Standalone | |
|---|---|---|---|---|
| Money | cash | cash | money | none — everything is free |
| Items | vorp_inventory | rsg-inventory (metadata in info) | redemrp_inventory | kept by the resource |
| Stamp jobs | character.job | job.name | job | none |
| Character | char id | citizenid | identifier + char id | player license |
| Notifications | VORP | rsg-core | redem_roleplay | chat |
Standalone has no economy and no inventory: sending, shop items and stationery are free, and each player's paper, quills, envelopes and letters are stored by the resource (table tlb_telegram_items, created automatically). Players use chat commands instead of an inventory (names in Config.Standalone):
/writetelegram— write a telegram (still needs a paper, a quill and an envelope from the stationery shop)./letters— list the letters you carry./readletter <number>— read one of them.
Your own framework: the adapters live in bridge/server/frameworks/ and are open files (not escrowed). Copy one, adapt the few functions it contains (character, money, items, notifications) and set Config.Framework to its name.
Configuration
Everything is tuned from a single file: shared/config.lua. It is excluded from escrow on purpose, so you can change it freely without touching any protected code.
Localization
The whole interface (Lua notifications, prompts and the web UI) is translated from config.lua.
Config.Locale = 'en' -- 'en' or 'fr' (English and French ship by default)
Config.Locales = {
en = { ['common.cancel'] = "cancel", ... },
fr = { ['common.cancel'] = "annuler", ... },
}
- Switch language: set
Config.Localeto'fr'(or'en'). - Edit a text: change the value of the matching key in
Config.Locales. - Add a language: copy the entire
entable, translate every value, then setConfig.Localeto the new key (for example'es'). - Placeholders: some strings contain
{0},{1}, … — leave them where they are, they are replaced at runtime (for example"buy — ${0}"). - Keys that are missing in a locale automatically fall back to English.
Fonts
Fonts available in the editor are declared in Config.Fonts:
Config.Fonts = {
{ id = 'chinese-rocks', label = L('font.chinese-rocks'), file_name = 'Chinese Rocks' },
{ id = 'cormorant', label = L('font.cormorant'), file_name = 'Cormorant Garamond' },
-- { id = 'myfont', label = 'My Font', file_name = 'My Font', file = 'my-font.otf' },
}
id— unique id stored on each telegram (short, no spaces).label— name shown in the editor. Use a plain string, orL('font.myfont')to translate it viaConfig.Locales.file_name— the CSS font-family name.file— optional, only for local fonts (.woff2,.ttf,.otf).
Adding a local font (no build required):
- Drop the font file into
app/assets/fonts/(create the folder if it does not exist). - Add a line to
Config.Fontswithfile = 'your-font.otf'. - Restart the resource.
The web UI registers the @font-face automatically from config.lua.
Papers & stamps
Papers and stamps work like fonts. Drop the image in app/assets/papers/ (or app/assets/stamps/), then add an entry to Config.Papers / Config.Stamps. Stamps support a jobs whitelist so only specific jobs can use them — the job name of your framework (see the table above).
Other options
- Framework — auto detection or forced framework (
Config.Framework), standalone commands (Config.Standalone). - Post office zones — label, coordinates, NPC model and blip (
Config.Zones). - Items — item names used by the resource (
Config.Items). Rename an item there and the stationery shop follows; seeinstallation/README.mdfor the item entries to rename with it. - Shop — items, prices and the shopkeeper's location (
Config.Shop). - Quill durability — durability per use and maximum durability (
Config.Quill). - Economy — telegram sending price (
Config.Price) and editor limits (Config.Limits). - Fallback name — shown when a player is offline (
Config.NameFallback). - Dev command — opens the editor directly while
Config.Debugis enabled (Config.Command).
Full documentation of every option is included as comments in config.lua.
Updating from 1.1.0
- Replace the
tlb-telegramfolder and keep yourshared/config.lua: it works as it is. No SQL to run. Config.Targetwas never used and is gone from the default config: you can delete it from yours.- RSG: set
unique = trueonquillinrsg-core/shared/items.lua.
Updating from 1.0.x
- Replace the
tlb-telegramfolder, then copy your settings back into the newshared/config.lua(it has two new options:Config.FrameworkandConfig.Standalone). - VORP: no SQL to run, your telegrams, contacts and items are kept.
What you can edit
shared/config.lua (all your settings and translations) and the framework adapters in bridge/server/frameworks/ are excluded from escrow. Every other Lua file is protected. You can still add new assets (paper/stamp images, font files) as described above; they are plain files, not code.
What's included
- Full Lua source (server + client) — protected by escrow
- Open framework adapters (VORP, RSG, RedEM:RP, standalone)
- Pre-built web UI (
app/) - Database schema & seed data
- Item definitions for VORP, RSG and RedEM:RP, with item images
- Configuration file with comments (
shared/config.lua) - English & French translations included
- Installation & setup guide
Support
- Dedicated support for setup and configuration.
- Free updates included.