Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 1.02 KB

README.md

File metadata and controls

22 lines (20 loc) · 1.02 KB

AutoStop

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.

Installation

  1. Set up a Terraria server with TShock
  2. Download AutoStop from the releases page. (Make sure it matches your TShock version)
  3. Place AutoStop.dll in <your_server_folder>/ServerPlugins

Configuration

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