A proper Shutdown plugin

im basically requesting this plugin https://dev.bukkit.org/bukkit-plugins/auto-shutdown/

now what i like with this one is that you can set a specific time of the day for when the plugin should shutdown the server.

example (copy/paste from the config)
times: #Warntimes before shutdown warntimes: 900,600,300,240,180,120,60,30,10,5,4,3,2,1 #Sets the shutdowntimes. Format HH:MM seperated by comma. If only one time is set is MUST be 'HH:MM'! shutdowntimes: 0:00,6:00,12:00,18:00 #Countdown to shutdown in seconds gracetime: 20

it also give the player fair amount of warning a about the scheduled restart

when the server is properly shutdown you can have a script starting it up again (those scripts are all over the internet)

If you have the script to open the server, why don’t you set up a cron task that will stop and start it ? You can send message through the script of course.

Why do you want the server to restart?

My life was so easy when I was using this on my old 1.7.10 server, it was easy to setup and I knew exactly when the server was to restart and so did the players.

I dont wanna deal with cron tasks, when there could be a plugin doing it all.

Quoting from the plugin page OP, yes its to keep everything fresh

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.

But cron is probably the best way to accomplish this. In the past I found restart plugins to be unreliable, not to mention the inability to handle server crashes. If you don’t want to use cron there are a few server managers available that can handle this. Mark2 for Linux was my manager of choice.

1 Like

Yes I also found restart plugins to be unreliable thats because most of them count server ticks and if u happen to get low tps then the restart will be delayed by that much.

thats why i loved this plugin where u can actually set a time of the day for it to restart, and it wont get effected by server lag. Everything was easily done in a single config file

All this plugin did was to nicely inform player about the restart, and just simply stops the server at the time of the day I wanted it to. Then I have a script to just simply start he server in any event it would stop if I for example did /stop or it the server crashed.

I could use something like this because I used a shared host and don’t have the ability to setup CRON