Server AutoStop Time-Based Scheduled Server Shutdowns and Restarts (Maintenance Release Edition) NOTE: May not be working properly in CraftBukkit RB 928 with Permissions 3. Credit: AutoStop is a plugin originally written by @dv90 and last updated by @Afforess. ALL CREDIT GOES TO THEM. I have done nothing, other than make the plugin visible again. The Following Is Modified From the Original Thread: I. Requirements: Permissions 2.7+ (Optional) II. Description: A simple plugin that saves player and chunk data then shuts the server down at a specified time. Great for clearing memory leaks and updating plugins automatically. III. Features: Works with Windows AND Linux AND Mac Saves Player Data and Chunk Data before stopping the server Gives a custom warning at specified time before shutting down Quickly shuts server down Uses autostop.properties to specify what time (24-hour clock) it should shutdown Automatically creates the properties file if it doesn't exist Automatically restarts server (if you enable it) Multiple restart times possible IV. Installation: Download the AutoStop.jar listed below and put it in your plugins folder. Start and Stop the server once to create the Server AutoStop folder and config file. Edit the config file to suit your needs. See the example below. V. Special Notes: The plugin will automatically put AutoRestart.jar in your bukkit directory. Don't run it; it won't do anything. Do not delete or move it. If your server doesn't auto restart, post your restart_log.txt here. If there is no restart_log.txt, you're doing it wrong. If you use a .bat file (server_nogui.bat), set your path to: path=start server_nogui.bat ANYBODY USING AN EXTERNAL SERVER (Such as a VPS): Remember, your server's timezone may be different. Take that into account when setting up your autostop.properties. VI. Commands: /reboot - Immediately saves data and restarts the server. /restart - Same as reboot. VII. Permissions: Node: autostop.use Don't use the Permissions Plugin? Just OP yourself. IIX. Properties File Example: Note: It appears there are duplicate properties files created. One in /plugins/AutoStop/and another in /plugins/ServerAutoStop/. Be sure to set your parameters in BOTH FILES. Code: stoptime=12:00:00 12:05:00 12:10:00 # Use 24-hour time. Separate times with a space. [Hour:Minute:Second] warntime=0:10 0:30 1:00 5:00 15:00 # Displays warning this many min:sec before shutting down. Separate with space. [Minutes:Seconds] warnmsg=Shutting down... # Warning message to display. enablerestart=true # Enables automatic server restarts. If this is true, path must not be blank. path=java -jar craftbukkit.jar # Path to server file (including any arguments). This can also be a command if you are using crontab/screen/etc. # Linux screen example: # path=screen -dmS MinecraftServer java -jar craftbukkit.jar IX. Current Release: X. Trouble Shooting: Please read this thread before posting. Several tips have been posted that might solve your problem. Also see the old thread first before posting your issues. It's a short thread, so no excuses for not reading first. Original Thread: http://forums.bukkit.org/threads/7425/ XI. Known Issues: It appears there are duplicate properties files created. One in /plugins/AutoStop/ and another in /plugins/ServerAutoStop/. Be sure to set your parameters in BOTH FILES. XII. Change Log: Version 0.53 Fixed a few small bugs Kicks all players before shutting down Updated to latest RB Version 0.52 Supports multiple warn times now Other small fixes Older Change Log (Move your mouse to reveal the content) Older Change Log (open) Older Change Log (close) Version 0.51 Fixed a small problem with the syntax of the auto-generated autostop.properties file. Version 0.5 Multiple stop/restart times Added better support for Windows cmd users Version 0.4 /reboot and /restart commands Permissions support for commands Version 0.3 Automatic server restarts Stop/Warn time precision works with seconds now Version 0.2 Added configurable warning message and warning time Attempted automatic restarts but had no luck; possible in a future release Version 0.1 Initial Release Credit: AutoStop is a plugin originally written by @dv90 and last updated by @Afforess. ALL CREDIT GOES TO THEM. I have done nothing, other than make the plugin visible again.