This plugin stops the server after a configured delay when the server is empty. It is intended to be used on servers with automatic startup and shutdown already configured on the system (Wake-on-LAN, systemd, etc.), otherwise this only automates one step and power savings are minimal.
- Set up a Terraria server with TShock
- Download AutoStop from the releases page. (Make sure it matches your TShock version)
- Place AutoStop.dll in
<your_server_folder>/ServerPlugins
After the first run a configuration file will be created at <your_server_folder>/tshock/AutoStop.json
{
"Settings": {
"Delay": 600000
"StopBeforeFirstJoin": false
}
}
Attribute | Description | Default Value |
---|---|---|
Delay | Time in milliseconds before the server is stopped | 600000 |
StopBeforeFirstJoin | Whether or not the server should be stopped before the first player joins | false |