Skip to content

๐ŸŒŸ BLN Server Restarter โ€‹

bln restarter

๐Ÿ“บ Preview โ€‹

Video Preview

๐Ÿ’ฐ Buy Now โ€‹

Get it now

Introducing BLN Server Restarter - a premium RedM resource for managing server restarts with advanced features including dramatic storm effects and seamless TxAdmin integration. Keep your server running smoothly with intelligent restart scheduling and immersive pre-restart effects!

โœจ Why Choose BLN Server Restarter? โ€‹

  • ๐Ÿš€ Seamless TxAdmin Integration - Works perfectly with TxAdmin's scheduled restarts
  • โšก Dramatic Storm Effects - Create immersive atmosphere with weather changes before restart
  • ๐ŸŽฏ Smart Warning System - Configurable warning times to keep players informed
  • ๐Ÿ’ซ Customizable Timer Display - Control when and how the timer appears to players
  • ๐ŸŽจ UI Position Options - Place the timer where it works best for your server's UI
  • ๐Ÿ”’ Thunder & Weather Effects - Add realistic environmental changes before restart
  • ๐ŸŽฎ Simple Command System - Easy to use admin commands for manual restarts
  • ๐Ÿ”ฅ Resource-Friendly - Minimal performance impact on your server

๐Ÿ“‹ Quick Setup โ€‹

  1. Add to your resources folder
  2. Add ensure bln_restarter to your server.cfg
  3. Add ACE permissions to server.cfg:
    add_ace resource.bln_restarter command allow
    add_ace resource.bln_restarter command.quit allow
  4. Configure your settings in config.lua
  5. Enjoy!

โš™๏ธ Configuration โ€‹

The restarter can be fully customized through the config.lua file:

Core Settings โ€‹

lua
Config = {
    Debug = false,             -- Set to true to enable debug logs
    
    EnableStorm = true,        -- Enable/disable weather changes and thunder strikes
    StormDuration = 60,        -- In seconds, when the storm starts before restart
    
    EnableRagdoll = true,      -- Enable/disable player ragdoll during thunder
    EnableThunder = true,      -- Enable/disable thunder strikes and visual effects
    ThunderInterval = 10,      -- Thunder strike interval in seconds
    EnableThunderSound = true, -- Enable/disable thunder sound effects
    ThunderSoundVolume = 80,   -- Thunder sound volume (0-100)
    
    EnableScreenShake = false, -- Enable/disable screen shake effect
}

Timer Display Settings โ€‹

lua
Config = {
    TimerVisibility = "continuous", -- Options: "continuous" (always show), 
                                   -- "warnings" (only at warning times), 
                                   -- "final" (only in final minutes)
    
    FinalCountdownMinutes = 5,     -- If using "final" visibility, show in last X minutes
    
    TimerScreenPos = "topright",   -- Timer position options:
                                   -- "topcenter", "topleft", "topright"
                                   -- "bottomcenter", "bottomleft", "bottomright"
                                   -- "centercenter", "centerleft", "centerright"
    
    warningTimes = { 30, 15, 10, 5, 4, 3, 2, 1 } -- Warning notification times in minutes
}

Weather Control Functions โ€‹

lua
Config.StormWeather = function()
    exports.weathersync:setWeather('THUNDER', 5.0)
    -- For snow version:
    -- exports.weathersync:setWeather('THUNDER', 5.0, false, true)
end

Config.ClearWeather = function()
    exports.weathersync:resetWeather()
end

Customizable Messages โ€‹

lua
Config.Translations = {
    ['auto_restart'] = 'Server Auto-Restart',
    ['auto_restart_canceled'] = 'Auto-Restart Canceled',
    ['server_restart'] = 'Server will restart in %d minutes',
    ['server_restart_canceled'] = 'Server restart has been canceled',
    ['kick_message'] = 'Server is restarting. Please rejoin in a few minutes.',
}

โšก Timer Visibility Options โ€‹

The new timer visibility system gives you control over when the countdown is displayed to players:

Setting Visibility Mode โ€‹

lua
Config = {
    TimerVisibility = "continuous", -- Choose your preferred mode
}
  • continuous - Always show the timer (original behavior)
  • warnings - Show timer only at warning times (defined in warningTimes)
  • final - Show timer only in the final minutes before restart

Final Countdown Configuration โ€‹

When using "final" mode, set when the timer becomes visible:

lua
Config = {
    FinalCountdownMinutes = 5, -- Show timer in the last 5 minutes
}

๐ŸŽฎ Admin Commands โ€‹

Manual Restart โ€‹

Start a manual server restart with configurable time:

/startrestart [minutes]

Example:

/startrestart 15  -- Start a 15-minute countdown to restart

Cancel Restart โ€‹

Cancel any active restart countdown:

/cancelrestart

๐Ÿค TxAdmin Integration โ€‹

BLN Restarter automatically detects and integrates with TxAdmin:

  • Detects scheduled TxAdmin restarts
  • Handles restart events properly
  • Manages correct countdown display
  • Works with TxAdmin's restart cancellation

๐Ÿ”ง Compatibility โ€‹

Compatible with:

  • Standalone RedM servers
  • RedM frameworks (RedEM, VORP, QBR, etc.)
  • TxAdmin panel
  • Custom weather sync resources

๐Ÿค Support โ€‹

Need help? Have questions? Join our Discord server for support and updates!

  • ๐Ÿ’ฌ Discord: Join Here
  • ๐ŸŽฎ Live support and community help
  • ๐Ÿ”„ Regular updates and improvements