Madd Cases - Premium Case Opening & Trading System for RedM
Elevate your server's economy and player engagement with Madd Cases, a feature-rich, case opening and trading resource designed specifically for RedM.
Give your players the thrill of unboxing rare loot or trading their hard-earned resources for valuable rewards through a sleek, immersive UI.
✨ Key Features
🎲 Advanced Case Opening System
-
Animation: Smooth, suspenseful spinning animation with deceleration and sound effects (ticking, clacking, fanfare) for a premium feel.
-
Rarity System: Fully configurable rarities (Common to Legendary) meanings distinct visual styles, colors, and glow effects.
-
Preview Before You Buy: Players can view case contents, odds, and potential rewards before spending their money.
-
Flexible Payment Options: Configure cases to be purchasable with Cash, Gold, or even specific **Items **(e.g., specialized keys or tokens).
🔄 Dynamic Trading System
-
NPC Traders: designated NPCs can offer "Trade Packs" where players exchange gathered resources (pelts, ores, herbs) for Gold, Money, or Special Items.
-
Multi-Item Trades: Create complex trade recipes (e.g., 5x Bear Pelts -> 10 Gold).
-
Interactive UI: Clean, responsive interface for browsing and executing trades.
💰 Versatile Rewards
-
Items: Give any inventory item as a reward.
-
Weapons: Directly award weapons with ammo.
-
Currency: Grant Cash or Gold payouts.
-
Weighted Drop Rates: Fine-tune the economy by adjusting the probability of every item.
🛠️ Technical Features
-
Discord Webhook Logs: Detailed logging for every case opened and trade made. Track who won what, ensuring transparency and security.
-
Highly Configurable: Every aspect is adjustable via `sh_config.lua`.
- Custom NPCs (Models, Locations, Scenarios, Blips)
- Custom Cases & Loot Tables
- Animation Speeds & Sounds
-
Framework Ready: Built for VORP Core (configurable for others).
-
Optimized: Low client-side usage (0.0ms idle).
## 📸 Immersive UI
-
Modern & Responsive: A dark-themed, glassmorphism-inspired interface that fits perfectly with the RedM aesthetic.
-
Sound Design: Integrated sound effects for interactions, rolling, and winning.
## 📋 Configuration Example
Easily add new cases in minutes:
```lua
outlaw_case = {
name = "Outlaw's Bounty",
description = "Contains weapons and gear from notorious outlaws",
price = 50,
currency = "money",
items = {
{ rarity = "common", type = "item", item = "bandage", amount = 3 },
{ rarity = "legendary", type = "currency", currency = "gold", amount = 25 },
}
}