CY-DevWorks Discord Support
Login
Back to CY-DevWorks
CY-TownRumors - The Living World Update 🀠

Features & Details

Bring your server to life with **CY-TownRumors**! This script creates a dynamic, living rumor ecosystem where player actions have real consequences in the world. Did someone get murdered in Valentine? The townsfolk will talk about it. Did a player spread a lie about the Sheriff? It might just travel all the way to Saint Denis!

## 🌟 Features

* Β  **πŸ—£οΈ Dynamic Rumor System**: Rumors are generated automatically based on in-game events (Murders, etc.) or manually by players.

*   **🌍 Living World**: Rumors don't stay in one place. Over time, they travel from town to town, simulating word-of-mouth communication.

* Β  **πŸ‘₯ NPC Interaction**: Talk to **any** citizen in configured town zones! No static NPCs standing around doing nothing. Just walk up to a local and ask for the latest gossip.

* Β  **πŸ’¬ Immersive UI**: Uses 3D text speech bubbles above NPCs heads when they talk to you.

* Β  **πŸ•΅οΈ Player Driven**: Players can create their own rumors! Want to start a fake story about a gold rush? Go ahead and tell an NPC.

*   **🌐 Multi-Language**: Comes with pre-configured German (DE) and English (EN) locales. Easy to add more.

* Β  **βš™οΈ Multi-Framework**: Ready for **VORP, RSG, QBR, and RedEM:RP**.

* Β  **πŸ’Ύ Database Saved**: Rumors persist over restarts and expire automatically after a configurable time.

## πŸ› οΈ How it works

  1. Β **Events**: When a player kills someone, a rumor is automatically created (e.g., *"They say someone was killed in Valentine with a Revolver"*).

  2. Β **Spreading**: Players can walk up to NPCs in towns and choose to "Spread a Rumor". They type their own text, which is then added to the pool.

  3. Β **Gossip**: Other players can ask NPCs for news. They might hear about the murder, the player's custom rumor, or just some random town gossip.

  4. Β **Travel**: Every few minutes, rumors have a chance to "travel" to neighboring towns. A rumor that started in Rhodes might eventually be heard in Blackwater!

## πŸ’» Configuration

The script is highly configurable via `config.lua`:

```lua

Config.Framework = 'vorp' -- vorp, rsg, qbr, redemrp

Config.Language = 'en' -- 'de' or 'en'

-- Rumor Settings

Config.RumorLifeTime = 60 -- Minutes until a rumor is forgotten

Config.FalseRumorChance = 30 -- Chance for NPCs to tell fake news

-- Town Zones (Where you can talk to NPCs)

Config.TownZones = {

Β  Β  { name = "Valentine", coords = vector3(-183.0, 626.0, 110.0), radius = 80.0 },

Β  Β  { name = "Saint Denis", coords = vector3(2640.0, -1220.0, 53.0), radius = 150.0 },

Β  Β  -- Add as many as you want

}

```

## πŸ“¦ Dependencies

* Β  [oxmysql](https://github.com/overextended/oxmysql)

* Β  A supported RedM Framework (VORP, RSG, QBR, RedEM:RP)

*(This script is encrypted via Asset Escrow*

Copied