Server stopper
A simple mod to stop your server so your restart script can restart your server.
介绍
ServerStopper for Minecraft 1.21.1 NeoForge
What it does:
– Server-side only mod.
– Stops the dedicated server at configured times.
– Sends configurable countdown warning messages.
– Uses your server computer’s local time.
Config:
After the server starts once, stop the server, then edit:
config\serverstopper-server.toml
Then restart your server
Example config:
[server_stop_settings]
stopTimes = [“06:00”, “12:00”, “18:00”, “23:55”]
warningSeconds = [3600, 1800, 900, 600, 300, 60, 30, 10]
messagePrefix = “[Server Stop]”
warningMessage = “Server restart in {time} {unit}! Please get to safety.”
finalMessage = “Server restarting NOW! Rejoin in a moment.”
Placeholders for warningMessage:
{time} = converted time number, like 5
{unit} = seconds, minutes, or hours
{seconds} = raw seconds left
Examples:
warningMessage = “Restart in {time} {unit}!”
warningMessage = “Server reboot in {seconds} seconds.”
Times must use 24-hour format in the config.
Commands
- /serverstopper test – let you see if the mod is loaded and working.
- /serverstopper now – displays what time the server sees.
- /serverstopper next – Displays the next scheduled time the server stops, also shows how long till the next stop.
You are able to add this mod to your server modpack.
常见问题
Server stopper 支持哪些 Minecraft 版本?
Server stopper 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Server stopper 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
guardian_606 的其他作品
查看全部 →MidevilMadness_fabric
a pack for role playing and having fun with your friends and family
Pc-MasterRace
a pack all about pcs and crafting
Madness_evolves
a pack for every one to enjoy
PixelMadness_evolves
to catch'em all is your test. you and your friends must get all the pixelmon and beat every gym leader and then beat the e-4 and then you must become the grand champ.
评论
登录后评论和评分