Cupboard Protection is killed with server restart

My server does an automatic server restart every 24 hours.
But after the restart all protection cooldown timers of the cupboards have stopped and cupboards are unprotected again.
Can you fix this? This plugin would be useless for me this way cause players bases aren't really protected
and raiders would just have to join and raid right after the server restart to destroy cupboards.
Thank you.
 
Add: It seems the protection is still there getting the message Protected [1/1] but the timer stopped.
Clicking on the button again makes the cupboard unprotected. Doing that again let's the timer start from the beginning.
So, is there a way to not let the timer stop with a server restart?
 

Orange

Administrator
Add: It seems the protection is still there getting the message Protected [1/1] but the timer stopped.
Clicking on the button again makes the cupboard unprotected. Doing that again let's the timer start from the beginning.
So, is there a way to not let the timer stop with a server restart?
I will make new kind of data system for that soon
 
Can you, at least, rewrite the plugin to make it possible to run it without timer and cooldowns?
Best would be if the protection would be active for all cupboards all the time.
This way a server restart wouldn't matter cause as soon as the plugin reloads all tc's would just be protected.
 
Top