▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/GeyserAutoShutdown
GeyserAutoShutdown

GeyserAutoShutdown

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

22
0

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

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

✨ Features

  • ⏳ Scheduled server shutdown using cron syntax.
  • 🔄 You can restart automatically Geyser via looped start scripts.
  • ⚙️ Easy configuration with config.yml.
  • 🔄 Compatible with Geyser Standalone setups.

⚙️ 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

Совместимость

Minecraft: Java Edition

1.21.x1.20.x1.19.x1.18.x1.17.x1.16.x1.15.x1.14.x1.13.x1.12.x1.11.x1.10.x1.9.x1.8.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:Apache-2.0
Опубликован:4 месяца назад
Обновлён:4 месяца назад
Главная