
Minecraft 服务端插件
Slumber
Let the server rest while there are no players online
- 版本范围
- 1.18.2–26.2
- 下载量
- 4.7 万
插件介绍
Slumber
Let the server slumber while there are no players online.
This mod allows you to freeze your server when no players are online.
Minecraft versions before 1.20.3 require fabric-carpet.
Commands
/slumber displays current status whether it is in slumber or not, it has the following output.
- Enabled Tells if the mod is enabled or not.
- Frozen Check if the server is frozen
/tick freezealso affect this message.
/slumber true enables freezing.
/slumber false disables freezing.
Configuration file
Located at <SERVER_DIR>/config/slumber.properties
The syntax is key=value
value should have type same as describe below.
| Key | Type | Default Value | Description |
|---|---|---|---|
| freeze-delay-seconds | integer | 20 | Time (in seconds) to slumber after no player left in the server |
| debug-messages | boolean | false | Show message in server log when game is in slumber or not |
| config-version | string | 1.4 | Version of the config |
| safe-starting | boolean | true | Freeze when the terrain is loading to prevent redstone machines from breaking |
| sleep_tick_speed | double | 0.0 | Sets the TPS that should be used when the server is in slumber. 0.0 means a complete freeze |
| sleep_autosaving | boolean | false | Enable autosaving when the server is in slumber |
| toggle | boolean | true | Enable slumber by default |
Supported Platforms (As of v2.0.0)
- Fabric/Quilt (1.14.3 - 26.2)
- Forge (26.2 - )
- NeoForge (26.2 - )
- PaperMC/Spigot/Folia (26.2 - )
- Sponge (26.2 - )
Installation
Fabric, Quilt, Forge, NeoForge
Simply put the mod in the mods folder
Sponge
Simply put the plugin in the plugins folder
Spigot/PaperMC
- Install the Ignite Mixin loader
- Run the ignite jar alongside the paper/spigot jar
- Put the mod in the mods folder and restart
Folia
- Install the Ignite Mixin loader
- Rename the Folia jar to "paper.jar". Alternatively, you can launch the game with the following JVM args:
-Dignite.locator=paper -Dignite.jar=./folia.jar - Run the ignite jar alongside the folia jar
- Put the mod in the mods folder and restart
版本与下载
推荐下载
slumber-1.3.0.jar版本 1.3.0 · 41.1 KBSHA-1 46c644d9146dd02b3162937264ad98be62af4a9f下载 slumber-1.3.0.jarmc26.2-2.0.0
正式版- 加载器
- fabric · folia · forge · neoforge · paper · purpur · quilt · spigot · sponge
- MC 版本
- 26.1 · 26.1.1 · 26.1.2 · 26.2
展开更新日志
- Updated to 26.2
- Completely cross platform compatible! That means the mod supports Fabric, Quilt, Forge, NeoForge, Sponge, and even PaperMC!
1.3.4
正式版- 加载器
- fabric · quilt
- MC 版本
- 26.1 · 26.1.1 · 26.1.2
展开更新日志
- Fixed a crash on startup due to improper Fabric API dependency
1.3.2
正式版- 加载器
- fabric · quilt
- MC 版本
- 1.21.11
展开更新日志
- Update to 1.21.11
1.3.1
正式版- 加载器
- fabric · quilt
- MC 版本
- 1.21.9 · 1.21.10
展开更新日志
Updated to 1.21.9
1.3.0
正式版推荐- 加载器
- fabric · quilt
- MC 版本
- 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8
展开更新日志
- Updated to 1.21.4 & 1.12.5
- Marked as stable
1.3.0-beta.2
测试版- 加载器
- fabric · quilt
- MC 版本
- 1.21.3 · 1.21.4
SHA-1 92a5884db47448a27f38d7f40b6ea03757b90d1e获取文件 slumber-1.3.0-beta.2.jar展开更新日志
- Fixed some bugs related to unfreezing with TPS > 0
- Fixed a Mixin apply issue on startup
1.3.0-beta.1
测试版- 加载器
- fabric · quilt
- MC 版本
- 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3
SHA-1 19bc5f09cfa4aa16529d512f98f3c3cacf9c0cf3获取文件 slumber-1.3.0-beta.1.jar展开更新日志
This release changes the way servers "sleep". Servers are now able to be slowed rather than frozen. For example, the TPS can be set to 1.0, which will allow the server to process functions while no players are online, however at a significantly reduced speed. Additionally some of the code was cleaned up to be more presentable.
Note: This release has been marked as beta. This means that bugs and to be expected. Please report any issues to the Github Issue Tracker. Thank you
1.2.0
正式版推荐- 加载器
- fabric · quilt
- MC 版本
- 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1
展开更新日志
- This release completely rewrites Slumber to use Mojang's new tick manager.
- Additionally it includes some code cleanup such as adding the mod icon thanks to CamperSamu
1.1.3
正式版推荐- 加载器
- fabric · quilt
- MC 版本
- 1.20 · 1.20.1 · 1.20.2
展开更新日志
- Fixed freezing not disabling when safe start was enabled, but the main freezing was disabled
- Made the main freezing feature enabled by default
- Added optional debug messages
- Included in these debug messages is a timer to show how long the server has been frozen for
1.1.2
正式版- 加载器
- fabric · quilt
- MC 版本
- 1.20 · 1.20.1
展开更新日志
- Fixed an issue with Carpet's ServerTickRateManager. Apparently it must use an interface instead of being created as a new class
- Minor code rewrites with the toggle method
1.1.1
正式版- 加载器
- fabric · quilt
- MC 版本
- 1.20 · 1.20.1
展开更新日志
- Updated to 1.20.1
- Fixed crash due to changes with Minecraft's Text system
- Switched to Carpet's TickRateManager as the old system is Deprecated
- Removed /serv-freeze command, use /slumber instead
1.1.0
正式版推荐- 加载器
- fabric · quilt
- MC 版本
- 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4
展开更新日志
- Fixed a bug where a dedicated server would not shutdown because a thread refused to close
- Implemented a new feature: safe-starting. Safe Starting forces the server to not tick chunks until the entire spawn chunks has generated. This prevents scenarios where something is only partially loaded if it rests between two chunks in the spawn chunks
1.0.1
正式版- 加载器
- fabric · quilt
- MC 版本
- 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4
展开更新日志
- Updated dependencies to 1.19.4
- Fixed a permission issue by not using permission level 4
1.0.0-1.19
正式版- 加载器
- fabric · quilt
- MC 版本
- 1.19 · 1.19.1 · 1.19.2 · 1.19.3
展开更新日志
The initial commit for the 1.19 version of Slumber. It includes:
- Player detection
- Customizable freeze delay
- Deep freeze
- Easy to use command system
- Saves your last toggle on server restart
1.0.0-1.18.2
正式版推荐- 加载器
- fabric · quilt
- MC 版本
- 1.18.2
展开更新日志
Ported to 1.18.2. This version will not be actively updated or maintained. Just for people that want to stay on 1.18.2.
依赖关系
- 必需未命名依赖
- 必需未命名依赖