Prepare your citizens for a night of lawlessness. One Purge introduces a high-intensity survival event where the rules of society are suspended. This script is designed to provide server owners with a fully automated or manually controlled "Purge" experience, creating unforgettable moments of chaos and strategy.
✨ Key Features
-
Full Event Control: Admins can start, pause, or end the Purge at any time with a single command or through an intuitive management menu.
-
Atmospheric Immersion: * Sky Transitions: Changes the world's lighting and weather to a dark, eerie, or blood-red atmosphere.
- Global Sirens: Triggers the iconic "Purge Siren" across the entire map to signal the start and end of the event.
-
Lawless Zone Logic: * Kill Feed: Optional UI to display active "frags" during the event.
- No-Log Zone: Automatically disables combat-related logs or police alerts during the event duration (fully configurable).
-
Safe Zone Integration: Define specific areas (like Hospitals or Spawn points) where combat is strictly prohibited, protecting players who choose not to participate.
-
Leaderboards & Rewards: Track the top survivors or "Hunters" and automatically grant rewards (Cash, Items, or VIP Coins) once the siren sounds the end.
🚀 Technical Highlights
-
Universal Compatibility: Native support for ESX, QBCore, and Qbox. The script auto-detects your framework for a seamless setup.
-
Optimized Performance: Even with 100+ players in combat, the script maintains a 0.00ms idle and low active Resmon footprint.
-
Automated Cleanup: Once the event ends, the script can automatically heal all players, revive the fallen, and restore the world’s weather.
-
Persistent Timers: Displays a countdown HUD for all players so they know exactly how much "legal crime" time is left.
🛠️ Total Customization (config.lua)
Tailor the apocalypse to your server's needs:
-
Weapon Restrictions: Choose to allow all weapons or restrict the event to "Melee Only" or "Pistols Only."
-
Reward System: Define what the winners receive (compatible with
ox_inventory). -
Visual Effects: Choose from multiple "End of the World" weather presets.
-
Sound Control: Adjust the volume and frequency of the global sirens.
📦 Package Content
-
Full One Purge Script (Client & Server side).
-
High-Quality Audio Assets (Siren sounds included).
-
Custom HUD & UI for timers and kill feeds.
-
Lifetime Support from One Scripts.
💡 Why One Purge?
Most "Purge" scripts are just simple weather changes. One Scripts provides a complete Event Engine that handles the atmosphere, the rules, the rewards, and the cleanup, allowing staff to enjoy the event instead of micro-managing it.
### **Características:** ✅ **Comandos de Administrador:** - /purge - Activa el evento.
-
/startpurge - Inicia la fase de supervivencia.
-
/endpurge - Finaliza el evento y restablece el servidor al modo de juego normal.
✅ **Participación de Jugadores:** - /joinpurge - Permite a los jugadores unirse al evento antes de que comience.
✅ **Cajas de Botín (Loot Crates):** - Aparecen cajas de armas en ubicaciones predefinidas durante el evento.
- Los jugadores pueden interactuar con ellas para recolectar armas y munición.
✅ **Jugabilidad Dinámica:** - Los jugadores son teletransportados a la zona del evento al unirse.
- Se actualizan dinámicamente zonas rojas y marcadores en el mapa para guiar a los jugadores.
✅ **Configuración Personalizable:** - Equipamientos de armas, notificaciones y tiempos de evento ajustables.
- Compatible con o sin OX Inventory.
⚠ **Importante:** Los jugadores perderán las armas asignadas para el evento. ¡Elige tu equipamiento con cuidado!
---
### **Requisitos:** - OX Inventory (Opcional)
-
ESX Framework o QBCore Framework
-
Xsound
-
Cayo Perico
-
Okok Notify (Opcional)
---
### **¿Por qué usar este script?** Este script añade un evento de supervivencia emocionante y totalmente configurable a tu servidor de FiveM. Ya sea que busques una experiencia intensa de PvP o un evento único para todo el servidor, este sistema proporciona todo lo necesario para una experiencia de juego equilibrada e inmersiva.
Para comandos de admin, añade: add_ace identifier.steam:[SteamID] purge allow
