允许玩家通过睡觉跳过白天,直接进入夜晚。可选地,它也可以将夜晚跳回白天,但该模式默认禁用,并且需要玩家在跳过白天后下床并再次躺下才能触发夜间跳跃。
请安装在服务端。客户端安装为可选操作(原版客户端可以无缝加入并使用)。
单人游戏说明:在单人游戏中完美运行。 只需像往常一样将其安装到 mods 文件夹中即可。
请在 Discord 上报告任何错误、问题或功能建议:
配置
- 活动世界配置文件:
world/serverconfig/daynap-server.toml
- 整合包默认配置文件:
defaultconfigs/daynap-server.toml
如果您希望每个新世界或服务器存档都以您偏好的规则开始,请使用 defaultconfigs/daynap-server.toml。
可用选项
enableDaySkip
- 启用白天睡觉并向前跳至夜晚开始。
- 默认值:
true
daySkipPercent
- 同一维度中必须处于睡眠状态的非旁观者玩家的百分比,以跳过白天。
- 默认值:
100
skipTimePerTick
- 在跳跃运行时,每个服务器刻(tick)内推进的游戏时间刻数的峰值。
- 过渡现在采用缓入和缓出效果,使开始和结束更加柔和,而不是以恒定速度移动。
- 默认值:
300,这将使完整的白天到夜晚的跳跃大约持续 3 秒。
enableNightSkip
- 启用将夜晚跳回白天。
- 在白天跳跃期间一直待在床上的玩家必须先起床,然后再次躺下,才能计入夜间跳跃的计数。
- 默认值:
false
nightSkipPercent
- 同一维度中必须处于睡眠状态的非旁观者玩家的百分比,以跳过夜晚。
- 默认值:
50
示例
默认行为:
enableDaySkip = true
daySkipPercent = 100
skipTimePerTick = 300
enableNightSkip = false
nightSkipPercent = 50
启用两个方向的跳跃,但让一半的玩家跳过白天,三分之二的人跳过夜晚:
enableDaySkip = true
daySkipPercent = 50
skipTimePerTick = 120
enableNightSkip = true
nightSkipPercent = 67
Lets players sleep through the day to jump straight to night. Optionally, it can also skip the night back to day, but that mode is disabled by default and requires players to get out of bed and lie down again after a day skip.
Install on the server. Client installation is optional (vanilla clients can join and use it seamlessly).
Singleplayer note: Works perfectly in singleplayer. Just install it normally in your mods folder.
Please report any bugs, errors, or feature suggestions on Discord:
Configuration
- Active world config:
world/serverconfig/daynap-server.toml
- Pack default config:
defaultconfigs/daynap-server.toml
Use defaultconfigs/daynap-server.toml if you want every new world or server save to start with your preferred rules.
Available options
enableDaySkip
- Enables sleeping during the day and skipping forward to the start of night.
- Default:
true
daySkipPercent
- Percentage of non-spectator players in the same dimension that must be sleeping to skip the day.
- Default:
100
skipTimePerTick
- Peak amount of in-game time ticks advanced every server tick while a skip is running.
- The transition now eases in and eases out for a softer start and finish instead of moving at a flat speed.
- Default:
300, which makes a full day-to-night skip take about 3 seconds.
enableNightSkip
- Enables skipping the night back to day.
- Players who stayed in bed through a day skip must stand up and lie down again before they count for the night skip.
- Default:
false
nightSkipPercent
- Percentage of non-spectator players in the same dimension that must be sleeping to skip the night.
- Default:
50
Example
Default behaviour:
enableDaySkip = true
daySkipPercent = 100
skipTimePerTick = 300
enableNightSkip = false
nightSkipPercent = 50
Enable both directions, but let half the server skip day and two thirds skip night:
enableDaySkip = true
daySkipPercent = 50
skipTimePerTick = 120
enableNightSkip = true
nightSkipPercent = 67
评论 0
登录后参与评分
还没有评论,来抢沙发吧