跳到正文

LemonBrick Autorestarter

作者:KAPAMEjlbKA

Mod for autorestart minecraft server with messages for all players

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

LemonBrick AutoRestart

This is a Fabric mod for Minecraft that automatically restarts the server after a certain period of time.

Description

The LemonBrickAutoRestart mod is designed to automatically restart a Minecraft server at specified intervals. Upon server startup, it initiates a countdown timer and notifies players about the upcoming restart.

Usage Configuring Settings

Before using, ensure that the configuration is correctly set up. The configuration file config.json is located in the config/LemonBrickAutoRestart directory.
Example configuration file (config.json):

{  
"waitTime": 60, // Time to wait between restarts in minutes.   
"timer": 30, // Countdown time before restart in seconds.   
"FirstTimerMessage": 5, // Time until the first restart message in minutes.   
"FirstMessage": "Server restart in %d minutes.", // Message for the first upcoming restart (use %d for time substitution).  
"startRestart": "Restart in %d seconds.", // Message before starting the countdown (use %d for time substitution).   
"restartMessage": "Restart in %d seconds."// Message during the countdown (use %d for time substitution).  
}

Installation and Running

1.Clone this repository and compile or download the latest release.
2.Place the compiled or downloaded .jar file into the mods directory of your Minecraft server.
3.Start the server to activate the LemonBrickAutoRestart mod

Contact If you have any questions or suggestions, feel free to contact me via email: [email protected].

常见问题

LemonBrick Autorestarter 支持哪些 Minecraft 版本?

LemonBrick Autorestarter 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

LemonBrick Autorestarter 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分