Standalone RedM telegram script
Without a framework there is no money and no inventory, so The Lab Telegram keeps the stationery and letters itself. Players still pick up paper at the stationery shop, write their letters and send them by postal number from a post office. Everything is free.
Features
Seven post offices preset, each with an NPC and blip
Editor with title, markdown, fonts, papers and live preview
Stationery shop and quill durability, at no cost
Letters listed and read with chat commands
Address book by postal number
English and French included
Compatibility
What changes without a framework
Postage and shop prices are free. Paper, quills, envelopes and letters are stored by the resource in the tlb_telegram_items table, created automatically.
Chat commands
With no inventory to click, players use /writetelegram to write, /letters to list the letters they carry and /readletter <number> to read one. The names are set in Config.Standalone.
Identity
Players are identified by their license, and the sender name comes from the player name. Notifications go to the chat, so a chat resource must be running.
Stamps
There are no jobs without a framework, so a stamp with a jobs list cannot be used. Leave jobs empty on the stamps you want available to everyone.
Requirements that remain
oxmysql and the installation/tlb-telegram.sql import. Standalone is picked when no supported framework is running, or forced with Config.Framework = 'standalone'.
Install guide
Install The Lab Telegram in standalone mode
Install The Lab Telegram on a RedM server with no framework: import the SQL, ensure after oxmysql and use the chat commands to write and read.
FAQ
Do players still need paper to write?
Yes. Writing needs a paper, a quill and an envelope, taken for free at the stationery shop.
Can I plug in my own framework later?
Yes. Copy one of the open adapters in bridge/server/frameworks/, rename its Adapters.<name> key in lowercase, adapt its character, money, item and notification functions, and set Config.Framework to that name.
Are letters lost when the server restarts?
No. They are stored in MySQL, in tlb_telegram_items for the letters carried and in the telegram tables for the mail.