Skip to content

A TShock plugin that stops the server when it's empty

Notifications You must be signed in to change notification settings

kevmeath/AutoStop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A TShock plugin that stops the server when it's empty

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages