Install The Lab Telegram in standalone mode
Without a framework the telegram has no items to register and no economy to set up. You import one SQL file, start it after oxmysql, and players write and read with chat commands.
Before you start
oxmysqlconnected to a database- A chat resource, used for the notifications and commands in this mode
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;tlb_telegram_items, which holds each player's stationery and letters, is also created on start if it is missing.mysql -u <user> -p <database> < tlb-telegram/installation/tlb-telegram.sqlStep 3: Ensure it
Only the database has to start first.
ensure oxmysql ensure tlb-telegramStep 4: Test with the chat commands
Take paper, a quill and an envelope at the stationery shop, type
/writetelegram, seal and send the letter at a post office to a second player, then have them collect it, type/lettersand read it with/readletterand the number shown. Before sending, add the recipient to the directory with their postal number, shown in their own panel.
Troubleshooting
No message appears in the chat
Notifications and the letter list go through chat:addMessage, so a chat resource must be running.
The console shows a framework instead of standalone
A supported framework is running. Set Config.Framework = 'standalone' to force this mode.
FAQ
Can I rename the commands?
Yes, in Config.Standalone: writeCommand, lettersCommand and readCommand.
Does anything cost money?
No. Without a framework there is no economy, so postage and the stationery shop are free.
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.
- Set up a RedM server with txAdminCreate a RedM server with txAdmin: FXServer artifacts, Cfx.re license key, gamename rdr3, OneSync and a deployment for your framework.
- How to install a RedM scriptInstall any RedM resource: get the files, check fxmanifest dependencies, add SQL and items, place the ensure line and test from the console.