How to set up automatic restarts on your Eco Server
Eco does not have support for console commands or a way to announce in-game from console. We will use the NID ToolBox. This mod also adds a lot of other features for running an Eco server
Some things you will need before continuing
Nid Toolbox It contains the needed announcement files. There is a guide on that page to how to install. This mod also contains alot of helpful tools such as clean up.
Once you install that mod restart your server to generate the files. Then navigate to TimedMessages.json Configs >Mods>nidtoolbox
Below there is an example of a TimedMessage.json with the timed messages added in. Feel free to use this or edit it.
In order for this file to work the "ScheduledMessagesEnabled": false Will need to be put to true to enable Scheduled Messages
The times and amount of restarts can be changed below, We advise you to send the message 5 mins before, & ideally 1 min before
{
"Info1": "NidToolbox Light: Timed Messages settings.",
"TimerMessagesEnabled": false,
"ScheduledMessagesEnabled": true,
"ReportInConsole": true,
"ReportInLog": true,
"ScheduledMessages": [
{
"Title": "Server restart",
"Hour": 5,
"Minutes": 55,
"ShowAsPopUp": true,
"Message": "Server will restart in <b>5 minutes</b>, at 06:00! Please get to safety and log out!",
"IsActive": true
},
{
"Title": "Server restart",
"Hour": 11,
"Minutes": 55,
"ShowAsPopUp": true,
"Message": "Server will restart in <b>5 minutes</b>, at 12:00! Please get to safety and log out!",
"IsActive": true
},
{
"Title": "Server restart",
"Hour": 17,
"Minutes": 55,
"ShowAsPopUp": true,
"Message": "Server will restart in <b>5 minutes</b>, at 18:00! Please get to safety and log out!",
"IsActive": true
},
{
"Title": "Server restart",
"Hour": 23,
"Minutes": 55,
"ShowAsPopUp": true,
"Message": "Server will restart in <b>5 minutes</b>, at 24:00! Please get to safety and log out!",
"IsActive": true
}
],
"TimerMessages": [
{
"Title": "Read Rules Reminder",
"ShowAsPopup": false,
"TimerMinutes": 30.0,
"Message": "Remember to read our rules! Command: <color=yellow>/rules-show</color>",
"IsActive": true
},
{
"Title": "Stay Hydrated Reminder",
"ShowAsPopup": false,
"TimerMinutes": 240.0,
"Message": "Make sure you always have a <color=yellow>glass of water</color> nearby!",
"IsActive": true
},
{
"Title": "Cats Are Nice Reminder",
"ShowAsPopup": false,
"TimerMinutes": 75.0,
"Message": "<b>I meant</b>,<i> said Ipslore bitterly</i>,<br><b>What is there in this world that truly makes living worthwhile?<br></b><i> Death thought about it.</i><br><b>CATS, </b><i>he said eventually</i>. <b>CATS ARE NICE.</b>",
"IsActive": true
}
],
"BlackListed": false
}
Setting up the Schedules / Restarts
We already have a guide set up for this, you can view our Schedules article here.
Remember to make the times 5 mins after these messages.
That's how you set up Automatic Restarts on your Eco server.