Cactus Shop — Point Store, Loot Cases & Reward Economy for RedM
Description
Cactus Shop is not a standard in-game shop — it's a complete monetization platform for RedM roleplay servers.
Players purchase point packs from your Tebex store, points are credited in-game automatically, and they spend them on items, weapons, VIP perks and CS:GO-style loot boxes — all from one beautiful western-themed NUI.
The entire loop is covered: Tebex purchase → in-game points → player spends in the shop → you track everything.
Set your categories, connect your Tebex store, design your cases, and your monetization is live in minutes.
Works on both VORP Core and RSG-Core — auto-detected at startup. One resource, two frameworks, zero hassle.
🎥Showcase video: https://youtu.be/DOaE_tL3jBI
What Makes This Different
- Real Tebex integration — Players buy point packs from your Tebex store. Delivery is instant, even if the player is offline, via a unique player ID.
- CS:GO-style loot cases — Animated roulette openings, 5 rarity tiers, sell-back system, event cases and server-wide legendary broadcasts.
- Full reward economy — Daily bonuses, promo codes, player-to-player transfers and a complete auditable transaction history.
Points Store
- Fully customizable categories (VIP, items, weapons, consumables — add as many as you want)
- Buy items, weapons, money or trigger custom actions (VIP roles, services, anything)
- Selectable quantity per item (1–99) with live total
- Flash sales — set a discounted price with an expiration date, original price shown crossed out
- Custom currency label and icon (gold, points, your own image)
- Server-side validation on every purchase — no client trust
- Home banner with news / announcements feed
Case Opening — CS:GO Style
- Animated roulette case openings with smooth deceleration
- 5 rarity tiers: common · uncommon · rare · epic · legendary
- Rewards can be items, weapons, money or points directly
- Per-reward drop chances (validated to sum to exactly 100%)
- Sell back any reward you don't want for points, by rarity
- Event / featured cases that only appear for a limited time (date start → date end)
- Optional cooldown between two openings
- Legendary drop broadcasts — announce rare pulls server-wide (name can be hidden)
Economy & Rewards
- Daily bonus — claim points every X hours via command or profile button
- Promo codes — create codes worth points, with optional max-use limits & expiration
- Point transfers between players
- Complete transaction history with source categories (admin / purchase / case / transfer / daily / code) and timestamps
- Permanent unique player ID usable even while the player is offline
Tebex Integration — The Point Pack Loop
Players buy point packs from your Tebex store. Tebex executes a server command delivery — points are credited instantly, even if the player is offline.
- Works with any Tebex package type — one-time purchases, bundles, seasonal packs
- Full transaction history records every Tebex delivery
- Server exports let you trigger deliveries from any resource
- No third-party middleware needed
How it works in practice: You create a Tebex package → set the delivery command to cshop_addpoints {steam} 500 → player buys it → points land in their wallet, logged and auditable.
Performance
| Idle | 0.00ms |
| Menu open | 0.01ms |
- Pure NUI front-end — nothing runs when the shop is closed
- Optimized SQL queries, database tables auto-created on first start
- Server-side validation and anti-exploit checks on every action
Configuration & Customization
All config files are editable (excluded from escrow):
| File | Purpose |
|---|---|
config.lua | General settings — framework, language, currency, daily bonus, cooldowns, Discord, logo |
shared/config_categories.lua | Store categories & items (price, quantity, discounts, custom actions) |
shared/config_cases.lua | Cases, rewards, drop chances, rarities & sell-back values |
shared/config_news.lua | Home banner news / announcements |
shared/config_notifications.lua | Notification system — plug in your own resource easily |
shared/config_trad.lua | All translatable strings (FR / EN / ES / DE / PT included) |
Supported Frameworks
| Framework | Status |
|---|---|
| RSG-Core | ✓ Fully supported |
| VORP Core | ✓ Fully supported |
Auto-detected at startup — no config change needed.
Requirements
| Resource | Required | Notes |
|---|---|---|
| oxmysql | Yes | Database — the script won't start without it |
| RSG-Core or VORP Core | Yes | One of the two frameworks (auto-detected) |
| Tebex store | Yes | Sell point packs to your community — delivery via server command |
| Discord Bot Token | Optional | Only needed to display player Discord avatars |
Admin Commands
| Command | Description |
|---|---|
cshop_addpoints <id|unique_id> <amount> | Add points to a player (online or offline) |
cshop_setpoints <id|unique_id> <amount> | Set a player's points to an exact value |
cshop_checkpoints <id|unique_id> | Show a player's balance and identifier |
cshop_history <id|unique_id> | Show a player's last 25 transactions |
cshop_createcode <CODE> <POINTS> [MAX_USES] | Create a promo code (0 = unlimited uses) |
Exports API
GetPoints,AddPoints,SetPoints,HasPoints,LogHistory
Full documentation with code examples included in the package.
Technical Details
- ~7,200 lines of code
- Config files & bridge accessible, main source code escrowed
- One-time purchase, no subscription
- Multi-language: FR / EN / ES / DE / PT (easy to add more)
- Full support via Discord
Have questions? Join our Discord server or contact us for help!