Ghost Demon Mods – Restart Storm
Bring the thunder before a server restart! This script creates a cinematic storm event, warns your players, and gives a proper countdown before a restart. Perfect for Ghost Demon RP or any Old West-themed FiveM server.
Features
- Automatic storm triggered before server restart.
- Configurable countdown with optional minute-by-minute alerts.
- Pre-alert and final alert notifications for players.
- Manual storm cancellation via
/stormcancel. - Full server-client weather synchronization via WeatherSync.
- Customizable weather types, durations, and notifications.
Dependencies
- txAdmin – Handles scheduled restart events.
- WeatherSync – Controls weather globally on server and clients.
- BLN Notify – Sends all notifications (alerts, countdowns).
Installation
- Place the folder in your
resourcesdirectory. - Ensure dependencies are installed:
txAdmin,weathersync,bln_notify. - Add the resource to your
server.cfg: - Configure your settings in
config.lua.
Config Example (config.lua)
Config = {}
-- Minutes before restart when storm starts
Config.stormStartMinutes = 15
-- Pre-alert times (minutes)
Config.preAlertMinutes = 5
Config.finalAlertMinutes = 1
-- Notification settings
Config.notifyDuration = 7000 -- milliseconds
Config.countdownNotify = true -- enable minute-by-minute countdown
-- Weather settings
Config.stormWeather = "thunderstorm"
Config.clearWeather = "sunny"
Config.weatherTransitionTime = 15.0
Usage
- Storm is automatically triggered by txAdmin restart events.
- Pre-alert and final alerts show notifications to players automatically.
- Admins can manually cancel storms with the command:
/stormcancel
File Structure
restart_storm/
├── client.lua
├── server.lua
├── config.lua
└── fxmanifest.lua
fxmanifest.lua Example
fx_version 'cerulean'
game 'gta5'
author 'Ghost Demon Mods'
description 'Restart Storm – triggers a cinematic storm before server restart'
version '1.0.0'
shared_script 'config.lua'
client_script 'client.lua'
server_script 'server.lua'
Links & Resources
- Demo Video: Watch Here
- Purchase & More Scripts: Ghost Demon Mods Tebex
- Support & Discord Community: Join Here
Why Buy This Script ($10)
- Saves you time: plug-and-play with full client/server setup.
- Immersive Old West-style weather and alerts.
- Fully configurable to your server’s schedule and style.
- Tested for CFX/txAdmin compatibility.
