12-19-2015, 05:29 AM
I got it fully working, it executes it on startup , every 5 minutes checks if the server is online, every 2 days it stops the server and updates it at 06:00 AM and I've made it available as a service in debian, so people could use "service cuberite start|stop|restart" for easy management.
Start and Restart uses the same script so it also checks for updates on restart or start the server.
Any clues about sending a message to the online users in the server to warn them about the server going to restart?
Thanks.
Start and Restart uses the same script so it also checks for updates on restart or start the server.
Any clues about sending a message to the online users in the server to warn them about the server going to restart?
Thanks.