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
-
Β **Events**: When a player kills someone, a rumor is automatically created (e.g., *"They say someone was killed in Valentine with a Revolver"*).
-
Β **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.
-
Β **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.
-
Β **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*