/
⚠️ This extension is compatible only with Geyser STANDALONE. ⚠️
GeyserAutoShutdown is a handy Geyser extension that automatically shuts down your Geyser server at a scheduled time using cron expressions. Perfect for automating Geyser restarts via custom start scripts that handle restarting after shutdown.
Geyser-Standalone/extensions folder.config.yml.# Set the shutdown time here using cron format (https://crontab.guru/)
# Default: shuts down daily at 3 AM
shutdown: "0 3 * * *"
(to automatically restart the server after shutdown)
#!/usr/bin/env sh
while true; do
java -Xmx1G -jar Geyser-Standalone.jar
echo "Server restarting..."
echo "Press CTRL + C to stop."
done
@echo off
:start
java -Xmx1G -jar Geyser-Standalone.jar
echo Server restarting...
echo Press CTRL + C to stop.
goto start

A Geyser extension that automatically shuts down your Geyser server at a scheduled time using cron expressions.