> For the complete documentation index, see [llms.txt](https://code-after-sex.gitbook.io/script-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://code-after-sex.gitbook.io/script-documentation/cas-telegram/cas-telegram.md).

# CAS Telegram

CAS Telegram for RedM — a carry-around telegraph phone with registered numbers, wires, voice messages, group and company lines, a marketplace and a town crier. VORP, RSG Core and standalone.

**CAS Telegram** (Telegram Exchange 1899) is a complete telegraph messaging device for **RedM**, the frontier equivalent of a phone. Players carry registered numbers, send wires to each other, record voice messages, run group and company lines, buy and sell on a marketplace, and pay a town crier to reach the whole server.

It runs on **VORP**, **RSG Core** and **standalone** — it detects your framework on boot and waits up to a minute for it to start.

{% hint style="success" %}
No SQL to import — the tables build themselves on first start. English and Turkish are both included, and no screenshot resource is needed.
{% endhint %}

***

## Highlights

* **Registered numbers** — every character gets a free number like `VAL-0417` (the prefix is the telegraph office that issued it); buy standard, premium, legendary, anonymous, burner or company numbers.
* **Wires** — text, shipped photographs, map references, contact cards, documents and voice recordings, with reply, react and pin.
* **Circles** — group lines, broadcast channels, paid channels and verified company lines, with founders, admins, invites and per member permissions.
* **Voice messages** — hold to record, played back like a telegram (kept on your database, nothing to do with proximity voice).
* **Marketplace** — list items with a price, stock and picture; the exchange takes a configurable cut.
* **Town crier** — pay to broadcast one notice to every player on the server, kept on a notice board for anyone who was offline.
* **Telegraph offices** — twelve set up with map positions; choose whether players wire anywhere, only send from an office, or only open the device at one.
* **VORP · RSG · standalone**, cash, gold or rol on VORP and any rsg-core account on RSG, English + Turkish, one commented config, server-side rate limits and privacy.

## At a glance

|                  |                                                               |
| ---------------- | ------------------------------------------------------------- |
| **Frameworks**   | VORP · RSG Core · standalone (auto-detected)                  |
| **Dependencies** | oxmysql (MySQL 5.7+ / MariaDB 10.2+)                          |
| **Database**     | Self-building, no import                                      |
| **Currency**     | Cash, gold or rol on VORP · any rsg-core money account on RSG |
| **Languages**    | English + Turkish                                             |
| **Voice**        | Recorded wires, stored and played back                        |

***

## Where to start

| I want to                                | Read                                                                         |
| ---------------------------------------- | ---------------------------------------------------------------------------- |
| Get it running                           | [Installation](/script-documentation/cas-telegram/installation.md)           |
| Know what players can do                 | [Using the device](/script-documentation/cas-telegram/using-the-device.md)   |
| Make players ride to a telegraph office  | [Telegraph offices](/script-documentation/cas-telegram/telegraph-offices.md) |
| Turn voice recording on or off           | [Voice messages](/script-documentation/cas-telegram/voice-messages.md)       |
| Let players announce to the whole server | [The town crier](/script-documentation/cas-telegram/town-crier.md)           |
| Change prices, limits or language        | [Configuration](/script-documentation/cas-telegram/configuration.md)         |
| Change how the device looks              | [Editing the interface](/script-documentation/cas-telegram/interface.md)     |
| Fix a problem                            | [Troubleshooting](/script-documentation/cas-telegram/troubleshooting.md)     |

## Get the script

Advanced Telegram & Marketplace is sold on the CAS Scripts store: [codeaftersex.com/script/advanced-telegram-and-marketplace](https://codeaftersex.com/script/advanced-telegram-and-marketplace). Both the Escrow build and the full Open Source build are listed there, with lifetime updates and Discord support.
