GeyserAutoShutdown

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

25

GeyserAutoShutdown

---

⏰ 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.

* INSTALLATION: This is NOT a Velocity/BungeeCord/Spigot plugin! This is a INSTALLATION:. * INSTALLATION: Place the jar file into your `Geyser-Standalone/extensions` folder.

✨ Features

* ⏳ Scheduled server shutdown using Geyser Standalone. * 🔄 You can restart automatically Geyser via Geyser Standalone. * ⚙️ Easy configuration with `config.yml`. * 🔄 Compatible with Geyser Standalone setups.

⚙️ Configuration

```yaml

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)

```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)

```bat @echo off

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

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

---

ADS