Enhance your FiveM server with spectacular firework shows featuring NPCs and dynamic effects.
- Spectacular firework shows with dynamic effects
- NPCs running up to light the fireworks
- Admin commands to start and stop the firework show
- Database logging for firework show events
- FiveM server
- ESX Legacy framework
- MySQL database
- Download the script from the repository.
- Place the script in your FiveM server's resources folder.
- Add
start fireworkshowsystemto your server.cfg file. - Ensure your database is set up with the provided SQL file.
| Command | Description |
|---|---|
| /startfirework | Start the firework show |
| /stopfirework | Stop the firework show |
Edit the config.lua file to customize the firework show settings:
Config = {}
-- Firework show settings
Config.FireworkShowDuration = 1200 -- 20 minutes in seconds
Config.FireworkInterval = 5 -- Interval between fireworks in seconds
Config.NPCModel = 's_m_y_blackops_01' -- NPC model
Config.NPCSpawnLocation = vector3(-1829.5, 2982.6, 32.8) -- Spawn location for NPCs
Config.FireworkLocations = {
vector3(-1829.5, 2982.6, 32.8),
vector3(-1830.5, 2980.6, 32.8),
vector3(-1828.5, 2981.6, 32.8)
} -- Locations for fireworks
-- Admin commands
Config.AdminCommands = {
start = 'startfirework',
stop = 'stopfirework'
}This plugin was generated in minutes with EnderDevelopment — the AI platform that turns your ideas into working Minecraft plugins, Discord bots and FiveM scripts.
Want your own? Generate this project on EnderDevelopment — describe it in one sentence and get the full source code.