Inactive [1.3.1] AutoShutdown- Stop/Restart/Shut down at the same time every day

Discussion in 'Inactive/Unsupported Plugins' started by fireant456, Aug 12, 2012.

  1. Offline

    fireant456

    This plugin is designed to allow you to simply set a time to have the server shut down at the same time every day, without any manual intervention, and provide users ample warning before it does so.
    You should use a script to automatically restart the server when it stops. In that script, you could perform any backups or other maintenance you'd like to perform.
    I use this plugin to keep a server healthy for longer than a few days by pre-emptively restarting it before it can get sick.

    THIS PLUGIN IS ON BukkitDev


    Features:
    • Time can be set persistently in the configuration file.
    • Multiple times can be specified.
    • Shutdown time can be set temporarily via commands
    • You can cancel the running shutdown.
    • You can view the current scheduled shutdown time.
    • You can gracefully stop the server with a configurable grace time.
    • The warning message times are configurable.
    • All connected users can be kicked from the server before the shutdown.

    [​IMG]

    Example Restart Script
    Windows
    Code:
    :begin
     
    "c:\Program Files\Java\jdk1.6.0_23\bin\java.exe" -Xms1024M -Xmx2048M -jar craftbukkit-0.0.1-SNAPSHOT.jar
     
    goto begin

    UNIX
    Code:
    #!/bin/bash
     
    while true
    do
    echo starting minecraft server ...
            java -Xms1024M -Xmx4096M -jar craftbukkit.jar nogui
     
            echo sleeping ...
     
            # Do backups or something useful here
     
            sleep 5
    done

    DOWNLOAD IS ON BukkitDev


    MPORTANT NOTE
    By the way the kick reason does not work currently for 2.3!!! I don't code java, so... If you code java and you want to help drop me a PM and we can work together...
    All credit goes to chromerium who created the mod and I'm just here to post a compatible version for 1.3.1
     
  2. Offline

    Splaze

    love it! [yellowflower]
     

Share This Page