跳到正文

DayNap

作者:Nikrecs

Adds bed based time skipping: sleep through the day to reach night, optionally skip night to day. Configurable modes and player percentage threshold.

收藏

截图

介绍

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

JOIN OUR DISCORD

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: https://discord.gg/4XUPywnEyE

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

常见问题

DayNap 支持哪些 Minecraft 版本?

DayNap 支持 Minecraft Java 版 1.19.2–26.3,共 9 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

DayNap 怎么安装?

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

评论

登录后评论和评分

Nikrecs 的其他作品

查看全部 →