GeyserAutoShutdown
作者:rebot | 分类:模组
Minecraft 版本: 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9 1.9.1 1.9.2 1.9.3 1.9.4 1.10 1.10.1 1.10.2 1.11 1.11.1 1.11.2 1.12 1.12.1 1.12.2 1.13 1.13.1 1.13.2 1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.15 1.15.1 1.15.2 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10
平台: geyser
标签: management optimization utility
⏰ 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/extensionsfolder.
✨ 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
请登录后举报
暂无评论,抢个沙发吧~