Skip to content
Teuntje Kuipers edited this page Oct 24, 2025 · 1 revision

SimpleAutoRestart wiki

Config

restartTime

  • Default: ["Daily;03:00"]
  • Type: List
  • Description: A list of timestamps at which a restart will be scheduled.

messages

  • Default: { "0": "Restarting now", "1": "Restarting in 1 second", "2": "Restarting in 2 seconds", "3": "Restarting in 3 seconds", "60": "Restarting in 1 minute", "120": "Restarting in 2 minutes", "180": "Restarting in 3 minutes", "300": "Restarting in 5 minutes" }
  • Type: Map
  • Description: A map of countdown times (in seconds) and it corresponding restart message.

titles

  • Default: {"300": "<bold><dark_red>Warning","3": "<bold><dark_red>Warning"}
  • Type: Map
  • Description: A map of countdown times (in seconds) and its corresponding title text shown before restart.

subtitles

  • Default: {"300": "<gold>Restarting in 5 minutes","3": "<gold>Restarting now..."}
  • Type: Map
  • Description: A map of countdown times (in seconds) and its corresponding subtitle text shown before restart.

commands

  • Default: ["restart"]
  • Type: List
  • Description: A list of commands that will be executed at restart time.
Default config
# The hour and minute when the server should restart (24 hour format)
# Format: Day;Hour;Minute
# Day can be: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, or Daily
# Example: "Daily;03;00" for every day at 3 AM
restartTime:
  - "Daily;03:00"

# Add multiple times by adding a new line like: - '12:00'


#
# Messages
#

# Messages can either use legacy or MiniMessage (preferred) color codes.
# https://webui.advntr.dev/

# Configure message and the corresponding pre-warning time in seconds
messages:
  "0": "Restarting now"
  "1": "Restarting in 1 second"
  "2": "Restarting in 2 seconds"
  "3": "Restarting in 3 seconds"
  "60": "Restarting in 1 minute"
  "120": "Restarting in 2 minutes"
  "180": "Restarting in 3 minutes"
  "300": "Restarting in 5 minutes"

titles:
  "300": "<bold><dark_red>Warning"
  "3": "<bold><dark_red>Warning"

subtitles:
  "300": "<gold>Restarting in 5 minutes"
  "3": "<gold>Restarting now..."

# The commands that will be executed at restart time
commands:
  - "restart"

Commands

  • /simpleautorestart - (aliases: /sar, /autorestart)
    • /simpleautorestart cancel – cancels the upcoming restart
    • /simpleautorestart resume – resumes the upcoming restart
    • /simpleautorestart status – shows scheduled restarts
    • /simpleautorestart set <hour> <minute> [day] – schedules a one-time restart time
      • <hour> - a value from 0 and 23
      • ` - a value from 0 and 59
      • [day] - optional. Specifies the day of the week (Monday,Tuesday etc) or Daily. If omitted, it defaults to Daily.
    • /simpleautorestart reload – reloads config

Clone this wiki locally