版本 4.X.X
有关该模组的旧版本,请参阅 wiki。
此模组允许只需一定比例的玩家睡觉即可跳过夜晚。
消息仅向同一维度内的玩家显示。
自 Minecraft 1.19.1 起,该模组需要在服务器端和客户端都安装。
对于 1.19 及更早版本,该模组仅需在服务器端安装,但也可在客户端使用。
需要和朋友一起玩,但不知道如何搭建服务器?直接租用一个已配置好的服务器吧!
点击上方的图片,选择一个计划(推荐至少 6 GB),
使用我的代码 agent 享受首月 25% 的折扣,并与好友尽情游玩!
支持

未发布该模组的 Minecraft 版本将不受支持。
你可以在 这里 找到文本版本的说明。
服务器配置
配置文件位于“世界”文件夹中的 “serverconfig” 文件夹内,文件名为 “easier_sleeping-server.toml”。
对于服务器,世界文件夹的名称在 “server.properties” 文件中设置;对于客户端,它对应于世界列表中世界/存档的名称,位于 “.minecraft” 文件夹中的 “saves” 文件夹内。
可以使用命令编辑配置。
通过命令所做的更改将保存到配置文件中。
- sleep_percent
跳过夜晚所需玩家的百分比。
默认值:50 - sleep_messages
当玩家上床时随机显示的消息列表之一。(可用参数:%player% = 玩家名称)
默认值:["%player% is now in bed."] - wake_messages
当玩家离开床铺时随机显示的消息列表之一。(可用参数:%player% = 玩家名称)
默认值:["%player% stood up."] - morning_messages
当夜晚被跳过时随机显示的消息列表。
默认值:["Good Morning"] - all_players_rest
如果为 true,当足够多的其他玩家成功睡觉时,所有玩家的最后休息计时器都会重置。这样并非每个玩家都必须睡觉来防止幻尸生成。
默认值:false - dimensions
根据 dimension_list_type 选项,睡眠投票在此维度列表中生效或失效的维度。
默认值:["minecraft:overworld"] - dimension_list_type
如果 dimension_list_type 设置为 SLEEP_ACTIVE,则维度列表是睡眠投票生效的维度列表。
如果 dimension_list_type 设置为 SLEEP_INACTIVE,则维度列表是睡眠投票失效的维度列表。
默认值: "SLEEP_ACTIVE" - block_blacklist
忽略不计入睡眠百分比的床方块名称。
示例:minecraft:white_bed, comforts:hammock_white
命令
/sleep sleep_percent- 显示跳过夜晚所需的玩家百分比。/sleep sleep_percent <sleep_percent>- 设置跳过夜晚所需的玩家百分比。/sleep messages sleep- 显示当玩家上床睡觉时将显示的提示消息列表。/sleep messages sleep add <message>- 向“玩家上床睡觉时显示的提示消息列表”中添加一条消息。/sleep messages sleep remove <message>- 从“玩家上床睡觉时显示的提示消息列表”中移除一条消息。/sleep messages wake- 显示当玩家离开床铺时将显示的提示消息列表。/sleep messages wake add <message>- 向“玩家离开床铺时显示的提示消息列表”中添加一条消息。/sleep messages wake remove <message>- 从“玩家离开床铺时显示的提示消息列表”中移除一条消息。/sleep messages morning- 显示在成功跳过夜晚后将显示的提示消息列表。/sleep messages morning add <message>- 向“成功跳过夜晚后显示的提示消息列表”中添加一条消息。/sleep messages morning remove <message>- 从“成功跳过夜晚后显示的提示消息列表”中移除一条消息。/sleep all_players_rest- 显示是否在所有玩家成功入睡后重置所有玩家的最后睡眠时间。/sleep all_players_rest <all_players_rest>- 设置是否在所有玩家成功入睡后重置所有玩家的最后睡眠时间。/sleep dimension- 显示生效的维度列表(即睡眠投票在此生效)。/sleep dimension add <dimension>- 将某个维度添加到生效列表中(即睡眠投票在此生效)。/sleep dimension remove <dimension>- 从生效列表中移除某个维度(即睡眠投票在此生效)。/sleep dimension list_type- 显示维度列表的类型。如果dimension_list_type设置为SLEEP_ACTIVE,则维度列表为睡眠投票生效的维度列表;如果dimension_list_type设置为SLEEP_INACTIVE,则维度列表为睡眠投票不生效的维度列表。/sleep dimension list_type <dimension_list_type> <invert_list>- 设置dimension_list_type。如果dimension_list_type设置为SLEEP_ACTIVE,则维度列表为睡眠投票生效的维度列表;如果dimension_list_type设置为SLEEP_INACTIVE,则维度列表为睡眠投票不生效的维度列表。如果invert_list参数为 false,则维度列表保持不变。如果invert_list参数为 true,则反转维度列表:之前不在列表中的所有维度将被添加至列表,而之前在列表中的所有维度将被移除。
感谢 Muse31 提供的 Logo。
你可以在非商业整合包中使用此模组,无需事先询问。
你可以在 CurseForge 和 Modrinth 上找到我制作的其他模组。

Version 4.X.X
For older versions of the mod, check the wiki.
This mod adds that only a percentage of Players have to sleep.
The messages are only shown to players in the same dimension.
Since Minecraft 1.19.1 the Mod is needed on the server and client side.
For 1.19 and before, the Mod is only needed on the server side, but can also be used on the client side.
You need a server to play with friends? You don't know how to set up one? Just rent an already configured server!
Click on the picture above, select a plan (with recommended at least 6 GB),
use my code agent to get 25% off your first month and enjoy playing with your friends!
Support

Minecraft versions, for which the mod is not released, are not supported.
You can find a text version here.
Server Config
The config file can be found in the "serverconfig" folder in the "world" folder and is named "easier_sleeping-server.toml". The name of the world folder is set for servers in the "server.properties" file and for clients it is the name of the world/save game in the world list, and it can be found in the "saves" folder in the ".minecraft" folder.
The config can be edited with commands.
The changes done with the commands, will be saved to the config.
- sleep_percent
Percentage of players required to skip the night.
Default: 50 - sleep_messages
List of messages, from which one will be shown, when a player goes to bed
(Available parameters: %player% = Player name)
Default: ["%player% is now in bed."] - wake_messages
List of messages, from which one will be shown, when a player leaves his bed
(Available parameters: %player% = Player name)
Default: ["%player% stood up."] - morning_messages
List of messages, from which one will be shown, when the night was skipped
Default: ["Good Morning"] - all_players_rest
If true, the time since last rest is reset for all players, if enough other players are successfully sleeping. So not every player has to sleep to prevent phantom spawning for him.
Default: false - dimensions
Dimensions in which, the sleeping percentage is active or inactive, depending on the dimension_list_type option.
Default: ["minecraft:overworld"] - dimension_list_type
If dimension_list_type is set to SLEEP_ACTIVE, the dimension list is the list of dimensions in which the sleep voting is active.
If dimension_list_type is set to SLEEP_INACTIVE, the dimension list is the list of dimensions in which the sleep voting is inactive.
Default: "SLEEP_ACTIVE" - block_blacklist
Block names of beds being ignored for sleep percentage.
Examples: minecraft:white_bed, comforts:hammock_white
Commands
/sleep sleep_percent- Shows the current percentage of players required to skip the night./sleep sleep_percent <sleep_percent>- Sets the percentage of players required to skip the night./sleep messages sleep- Shows the list of messages, from which one will be shown, when a player goes to bed/sleep messages sleep add <message>- Adds a message from the list of messages, from which one will be shown, when a player goes to bed/sleep messages sleep remove <message>- Removes a message from the list of messages, from which one will be shown, when a player goes to bed/sleep messages wake- Shows the list of messages, from which one will be shown, when a player leaves his bed/sleep messages wake add <message>- Adds a message from the list of messages, from which one will be shown, when a player leaves his bed/sleep messages wake remove <message>- Removes a message from the list of messages, from which one will be shown, when a player leaves his bed/sleep messages morning- Shows the list of messages, from which one will be shown, when the night was skipped/sleep messages morning add <message>- Adds a message from the list of messages, from which one will be shown, when the night was skipped/sleep messages morning remove <message>- Removes a message from the list of messages, from which one will be shown, when the night was skipped/sleep all_players_rest- Shows, if for all players the last slept time will be reset, if players sleep successfully./sleep all_players_rest <all_players_rest>- Sets, if for all players the last slept time shall be reset, if players sleep successfully./sleep dimension- Shows dimensions in which, the sleeping percentage is active./sleep dimension add <dimension>- Adds a dimension in which, the sleeping percentage is active./sleep dimension remove <dimension>- Removes a dimension in which, the sleeping percentage is active./sleep dimension list_type- Shows the type of the dimensions list. If dimension_list_type is set to SLEEP_ACTIVE, the dimension list is the list of dimensions in which the sleep voting is active. If dimension_list_type is set to SLEEP_INACTIVE, the dimension list is the list of dimensions in which the sleep voting is inactive./sleep dimension list_type <dimension_list_type> <invert_list>- Sets the dimension_list_type. If dimension_list_type is set to SLEEP_ACTIVE, the dimension list is the list of dimensions in which the sleep voting is active. If dimension_list_type is set to SLEEP_INACTIVE, the dimension list is the list of dimensions in which the sleep voting is inactive. If the invert_list parameter is false, the dimensions list is not change. If the invert_list parameter is true, the dimensions list is inverted. All dimensions, which were not on the list before, are added to the list and all dimensions, which were on the list before, are removed.
Thanks for the logo to Muse31.
You can use this mod in non-commercial modpacks without asking.
You can find more mods from me on CurseForge and Modrinth.

下载 Easier Sleeping
下载 Easier Sleeping
下载 Easier Sleeping
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Easier Sleeping
下载 Easier Sleeping
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Easier Sleeping
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Easier Sleeping
下载 Easier Sleeping
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Easier Sleeping
下载 Easier Sleeping
- 支持 NeoForge 26.3.0.37 及更高版本:服务器配置文件已使用新的配置类型进行注册(Minecraft 26.1 - 26.2 的 jar 包在此版本下会崩溃)
- 已有的世界配置文件
<world>/serverconfig会被复制一次到<world>/syncedconfig,因为 NeoForge 26.3 仅从该位置读取世界配置文件(专用服务器;在单人游戏中请手动移动文件)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧