Random Event System
A comprehensive and dynamic event shop system for FiveM servers, designed to boost server economy and player engagement by spawning limited-stock, temporary vendor locations.
Features
📈 Dynamic, Limited Stock – Events feature server-wide item limits, driving player competition. Once the stock is gone, the shop is empty.
⚙️ Easy Customization – Effortlessly add your own event types, items, prices, and multiple random spawn locations via a simple
config.lua.⏱️ Automatic Scheduling – Events start and end automatically based on configurable intervals and duration.
🛡️ Server-Side Security – Transaction logic is fully server-sided, featuring purchase cooldowns and quantity limits.
🌍 Spawn Variety – Supports both Prop (e.g., Hot Dog Stands) and Vehicle (e.g., Taco Trucks) spawn types.
🎯 Modern UI/UX – Utilizes ox_target for clean interaction and ox_lib for modern notifications and item menus.
🚨 Admin & Logging – Dedicated command (
/randomevent) for instant admin control and detailed Discord Webhook logging for purchases and events.
Dependencies
es_extended, ox_inventory, ox_target, ox_lib
By: Bartvs (BJ)