Skip to content

Server Restarter Plugin

Jason Spafford edited this page Jul 17, 2018 · 5 revisions

Will restart the server at defined intervals, and sends out a warning to RCON and Discord

Configuration

Name Example Description
enabled true Set to true or false to prevent this plugin from running
restart_times 6:00,10:00,16:00,20:00 This field determines all the times the server is restarted. The format of this field is 6:00,10:00,16:00,20:00 where each time is 24 hour time with HOURS:MINUTES, separated by a coma. There is no limit to the amount of times you can specify. The times do not have to be in chronological order.
force_restart_on_launch false if true, starts a restart sequence once ServerThrall starts up
discord_warning_message
discord_restart_message
rcon_warning_message
rcon_restart_message

Example Config

[ServerRestarter]
enabled = true
restart_times = 2:56,1:00,4:00,9:00,16:00,20:00
force_restart_on_launch = false