CrashRestarter V2.0

Details

  • Filename
    CrashRestarter.jar
  • Uploaded by
  • Uploaded
    Jan 9, 2014
  • Size
    13.96 KB
  • Downloads
    439
  • MD5
    50956da3bd03821a0ef2436ffa24217c

Supported Bukkit Versions

  • CB 1.7.2-R0.2
  • CB 1.6.4-R2.0
  • CB 1.2.5-R4.0

Changelog

Fixed timing!


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.

Example

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

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/

"/reload" will cause the plugin to restart the server within a minute.

Please Advise on any other bugs found.