Customization with Minecraft - Server restart modification

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Callisto’ v2.5.0.12 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Ready

Problem Description

Issue

I want to add a server restart warning to my server 5minutes before the automatic server restart happens. Currently the server restarts every 4 hours and I want it to give a warning so my friends don’t get suddendly disconnected without warning. How can I do that?

Reproduction Steps

  • Added Scheduled Restart
  • Server Restarts every 4 hours
  • Missing Restart warning, don’t know how to add!?

You can tell the scheduler to send messages, then add a wait task before restarting the server