HomeJavaModsGeyserAutoShutdown
GeyserAutoShutdown
ModsJava

GeyserAutoShutdown

by frafol · on Modrinth

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

⬇ Download on Modrinth

⏰ GeyserAutoShutdown


⚠️ This extension is compatible only with Geyser STANDALONE. ⚠️


📋 Description

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.

✨ Features

⚙️ Configuration

# Set the shutdown time here using cron format (https://crontab.guru/)
# Default: shuts down daily at 3 AM
shutdown: "0 3 * * *"

💻 Example start scripts

(to automatically restart the server after shutdown)

Linux/Mac (start.sh)

#!/usr/bin/env sh

while true; do
  java -Xmx1G -jar Geyser-Standalone.jar
  echo "Server restarting..."
  echo "Press CTRL + C to stop."
done

Windows (start.bat)

@echo off

:start
java -Xmx1G -jar Geyser-Standalone.jar

echo Server restarting...
echo Press CTRL + C to stop.
goto start

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more