跳到正文

Slumber

Let the server rest while there are no players online

收藏

介绍

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

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 freeze also affect this message.

/slumber true enables freezing.

/slumber false disables freezing.

Configuration file

Located at /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

  1. Install the Ignite Mixin loader
  2. Run the ignite jar alongside the paper/spigot jar
  3. Put the mod in the mods folder and restart

Folia

  1. Install the Ignite Mixin loader
  2. 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
  3. Run the ignite jar alongside the folia jar
  4. Put the mod in the mods folder and restart

常见问题

Slumber 支持哪些 Minecraft 版本?

Slumber 支持 Minecraft Java 版 1.18.2–26.3,共 30 个版本,可用的加载器:Fabric / Folia / Forge / NeoForge / Paper / Purpur / Quilt / Spigot / Sponge。下载时注意选择和你游戏版本一致的文件。

Slumber 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Folia / Forge / NeoForge / Paper / Purpur / Quilt / Spigot / Sponge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Tater Certified 的其他作品

查看全部 →