Crash Restarter

CrashRestarter

Does your server crash randomly and unexpectedly? Use this plugin to Detect if your server has Crashed!

This plugin will restart your server within 1 minute of it crashing.


My server would crash every couple of hours, and if I/an Admin wasn't online it would stay down for multiple hours. So i decide to write this plugin.

V2.0+

NEW WAY OF DETECTION!


This version gets rid of the old code of it being based on player interactions etc. I've been searching and testing for a very long time I've finally figured it out! It can be done!

How it now works


When your server crashes, it stops all plugins(even the old version of this plugin). But after a long hard struggle to find a way, I have finally figured it out! When the server crashes the main part of this plugin stops working, which stops triggering the external part of the plugin, which in turn detects within 1 minute whether the main part of the plugin is working, and if it doesn't it runs the command set in config.

Note:

You will need to edit your launch.bat to the following:

:start
java -Xmx1024M -Xms1024M -jar craftbukkit.jar
goto start


Where 1024M is the amount of memory you use.

For BukkitGUI users


Do what this guy does

For MultiCraft users


Ask your hosting company for your server to restart as soon as it stops.

Example

Example crash
Note: Example was done with a 3 minute detection, I lowered it to 1 minute.

Config

Config

Commands


/cr : Tells the sender if the plugin is running.

Compatability

V2.0 is compatible with all minecraft versions(tested back to 1.2.5).

Metrics

Crash Restarter V2.0 uses Hidendra's plugin metrics system.

Metrics record and sends:

  • The server's Java version
  • The OS version/name and architecture
  • Whether the server is in offline or online mode
  • The amount of CPU cores
  • Server Location
  • Game Version
  • Server Software

If you wish to disable Metrics, you can do so by opt-ing out, which you can do in the Metrics config file under /plugins/PluginMetrics/

MCStats

To Do

Tell me, and ill see what i can do.

Check out my other plugins for great features!

The Crash Restarter Team

profile avatar
  • 1
    Followers
  • 12
    Projects
  • 81.6K
    Downloads
Donate

More from DablakbanditView all

  • AlwaysOnline project image

    AlwaysOnline

    • 23.0K
    • Bukkit Plugins

    Keep your server running while mojang is offline, Supports all server versions!

    • 23.0K
    • April 8, 2026
    • Bukkit Plugins
    • +3
  • Bank project image

    Bank

    • 26.8K
    • Bukkit Plugins

    [Lite Version, Economy, Item Storage, Exp Storage, Highly Configurable]

    • 26.8K
    • April 7, 2026
    • Bukkit Plugins
    • +4
  • Core - Dablakbandit project image

    Core - Dablakbandit

    • 6.4K
    • Bukkit Plugins

    Core system for my plugins [DabCore + ChatAPI Combines]

    • 6.4K
    • April 5, 2026
    • Bukkit Plugins
  • MongoDB Loader project image

    MongoDB Loader

    • 553
    • Bukkit Plugins

    Loads the mongodb apis for plugins to use

    • 553
    • October 10, 2025
    • Bukkit Plugins
  • AlwaysOnline project image

    AlwaysOnline

    • 23.0K
    • Bukkit Plugins

    Keep your server running while mojang is offline, Supports all server versions!

    • 23.0K
    • April 8, 2026
    • Bukkit Plugins
    • +3
  • Bank project image

    Bank

    • 26.8K
    • Bukkit Plugins

    [Lite Version, Economy, Item Storage, Exp Storage, Highly Configurable]

    • 26.8K
    • April 7, 2026
    • Bukkit Plugins
    • +4
  • Core - Dablakbandit project image

    Core - Dablakbandit

    • 6.4K
    • Bukkit Plugins

    Core system for my plugins [DabCore + ChatAPI Combines]

    • 6.4K
    • April 5, 2026
    • Bukkit Plugins
  • MongoDB Loader project image

    MongoDB Loader

    • 553
    • Bukkit Plugins

    Loads the mongodb apis for plugins to use

    • 553
    • October 10, 2025
    • Bukkit Plugins