Empty Server Stopper
Shutdown the server if no players are connected. Meant to be used with SleepingServerStarter by vincss.
介绍
Sleeping Server Stopper
Not bothered renaming it to Empty Server Stopper.
This mod is a port of the Sleeping Server Stopper Spigot plugin. Supported versions are:
| MC Version ↓ / Plugin Version → | 3.0.0 | 2.0.0 | 1.0.0 |
| :—————————–: | :——-: | :——-: | :——-: |
| 1.7.10 | ⚙️ | ❌ | ❌ |
| 1.12.2 | ⚙️ | ❌ | ❌ |
| 1.16.5 | ✅ | ❌ | ❌ |
| 1.18.2 | ✅ | ❌ | ❌ |
| 1.19 | ✅ | ✅ | ❌ |
| 1.20.1 | ✅ | ✅ | ✅ |
✅ – Stable Release
🟨 – In Development
⚙️ – BETA Release
⚠️ If you’re using a BETA release version, and it’s working fine for you, then please do send me a message on discord (_@madahaz_) letting me know.
This is meant to be used with the mod SleepingServerStarter by vincss.
🤝 Contributers
Author: MadaHaz
- OneWeekNotice – Tested the 1.16.5 version.
I’m basing my mod off of another port which has been archived, EmptyServerStopper by GHYAKIMA (They’ve taken it down alongside deleting their account). I couldn’t properly fork their project, they had some dual development setup for both Fabric and Forge, couldn’t make any sense of it, so I decided to remake it myself and add some features.
⚠ NOTE ⚠
An issue came up where versions before 1.20.1 aren’t working, most likely because the mod was coded using Forge 47.2.0. I will attempt to remake the mod for any other version that is requested (Just open up an issue) since the mod really isn’t that hard to make.
📄 Versions
- v3.0.0
- Features:
- Config File
- Changes:
- Config files “shutdownOnLaunch” value now works.
- v2.0.0
- Features:
- Config File
- Changes:
- Config File is generated. Values that can be changed are:
- SHUTDOWN_TIME_IN_MINUTES – How many minutes until the server closes. (Minimum is 1 minute!)
- SHUTDOWN_SERVER_ON_LAUNCH – Should the server shutdown on launch?
- Default config values are (2, true).
- Fixed 2 minor bugs.
- v1.0.0
- Hard coded values. 2 minute timer and the server will close on startup.
常见问题
Empty Server Stopper 支持哪些 Minecraft 版本?
Empty Server Stopper 支持 Minecraft Java 版 1.7.10–1.20.6,共 15 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Empty Server Stopper 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分