XSC_Raids

XSC_Raids is a powerful, customizable raid system designed for FiveM servers, developed with high performance and flexibility in mind. Built on the QBCore framework and utilizing modern resources like ox_target, ox_inventory, and ox_lib. XSC_Raids is an ideal solution for adding challenging, engaging raid content to your server, complete with dynamic objectives, configurable guard encounters, and a robust loot system.

Key Features

  • Customizable Raids: Each raid in XSC_Raids is fully configurable, from the objectives players must complete to the guards they face. Adjust difficulty, locations, loot, and more to create a unique experience for your server.

  • Advanced Loot System: The loot system offers percent-based probabilities and item rarity settings, with an optional ‘Luck’ buff to enhance loot chances. Players can receive a wide range of rewards based on their performance and raid difficulty.

  • Dynamic Guard Encounters: Set custom guards with specific attributes, including health, armor, accuracy, and weapon selection. Guards spawn in waves, hold defensive positions, and engage players automatically, creating a challenging environment.

  • Cooldown and Cost Management: Each raid features configurable cooldowns and start costs to balance gameplay and prevent repetitive farming, encouraging players to work strategically.

  • Performance Optimization: XSC_Raids is developed with server optimization in mind, utilizing efficient cleanup functions and memory management to support large player bases without compromising performance.

How It Works

XSC_Raids functions as a standalone raid handler, managing all aspects of raids on your server. Each raid is controlled by server and client events, using a structured file system with configuration files (config_raid1, config_drug, etc.) to set up raids in detail. The modular approach allows for easy integration, modification, and expansion without affecting other server functions.

The system handles all raid components, including:

  • Initialization: Starts the raid based on defined parameters, from starting peds to locations and loot tables.

  • Progress Tracking: Manages player interactions, tracks objectives, and triggers events as players progress.

  • Cleanup: Ensures guards, items, and other assets are cleared when raids are completed, restarted, or abandoned, preventing unnecessary server load.

Ideal Use Cases

XSC_Raids is suited for servers that want to introduce:

  • Dynamic PvE content that challenges players with strategic objectives and combat encounters.

  • Rewarding progression with valuable loot and scalable difficulty levels.

  • Highly customizable experiences, allowing server owners to tailor every aspect of a raid to their community’s preferences.

With XSC_Raids, you have the tools to create immersive, memorable experiences that keep players engaged. Whether you're looking to add complex heists, material collection events, or boss battles, XSC_Raids provides a solid foundation for your server’s next big adventure.

Last updated