Restarting not working on v2.0.1

Hi.

Thank you for updating this plugin. It was in need of some love. 

I have an issue whereby its not restarting when its suppose to restart. And restarts for no reason. My server keeps restarting at midnight each day but i never set it to restart then

[GUIAnnouncements] Next restart is in -10:-22:-20 at 00:00:00

and when i try cancel it wont allow me

[GUIAnnouncements] A restart has not been scheduled for you to cancel.


Am i doing something wrong? i dont think im doing anything wrong

 

Hi,

Can you post your entire config in a code sample for me to check please?

The cancel scheduled restart command only cancels a scheduled restart made by the schedule restart command. It can't cancel ones in the config. If at any point in the future you want to prevent the server from restarting by a restart in the config just suspend it instead.