Time Shall Not Pass 是一个仅服务器端的模组,其首要功能是:当没有玩家在线时,阻止白天循环继续推进;当有玩家连接时,则恢复白天循环。许多模组和整合包拥有基于时间改变游戏难度或其他因素机制,因此在无人游玩时暂停白天循环往往至关重要。然而,还有其他模组会在玩家离线时控制世界的其他方面。
由于此模组仅作用于服务器端,原版客户端可以正常连接至服务器而不会出现问题。
模块
Daylight Cycle Module(白天循环模块):在玩家离线时禁用白天循环。这有效地防止了日期和时间的推进。
Random Ticks Module(随机刻模块):在玩家离线时禁用随机刻。这确保了诸如作物生长之类的随机刻不会发生。
Tile Entity Ticks Module(方块实体刻模块): 在玩家离线时禁用所有已加载的可 ticking 的方块实体。任何执行某些功能的方块都不应被 tick,包括机器。
Fire Ticks Module(火焰刻模块): 在玩家离线时禁用火焰刻。火焰将不再蔓延,也不会造成腐朽。
Weather Cycle Module(天气循环模块):在玩家离线时禁用天气循环。天气将不再变化,并保持当前状态。
如果你有建议添加的模块功能,欢迎提出。
配置
你可以在配置文件中单独启用或禁用各个模块。启用后,当没有玩家在线时,Time Shall Not Pass 将控制你世界的特定方面。
此外,还有一个配置选项允许排除特定玩家。这些被排除的玩家在连接到服务器时,不会触发已启用模块的状态切换。这对于你不希望改变模组状态的旁观者和管理员账号非常有用。要添加被排除的玩家,只需在配置文件中的“excluded players”列表中添加他们的名称和 UUID,或使用游戏内命令即可。
命令
timeshallnotpass 命令需要权限等级 4
timeshallnotpass allowPlayerExclusions [true, false] - 控制添加到排除列表的玩家是否被视为被排除。更改时将自动重新加载模组状态。
timeshallnotpass daylightCycleModule [true, false] - 控制当没有非排除玩家在线时,Time Shall Not Pass 是否会禁用白天循环。更改时将自动重新加载模组状态。
timeshallnotpass randomTicksModule [true, false] - 控制当没有非排除玩家在线时,Time Shall Not Pas! 是否会禁用随机刻。更改时将自动重新加载模组状态。
timeshallnotpass tileEntityTicksModule [true, false] - 控制当没有非排除玩家在线时,Time Shall Not Pass 是否会禁用所有方块实体刻。更改时将自动重新加载模组状态。
timeshallnotpass fireTicksModule [true, false] - 控制当没有非排除玩家在线时,Time Shall Not Pass 是否会禁用所有火焰刻。更改时将自动重新加载模组状态。
timeshallnotpass weatherCycleModule [true, false] - 控制当没有非排除玩家在线时,Time Shall Not Pass 是否会禁用天气循环。更改时将自动重新加载模组状态。
timeshallnotpass verboseLogging [true, false] - 决定 Time Shall Not Pass 是否在控制台 server/log 中包含额外的日志信息,从而提供每个模块正在执行操作的详细分解。
timeshallnotpass excludedPlayers - 查询排除列表中的玩家。
timeshallnotpass excludedPlayers <add, remove> <player> [reload, defer] - 向排除列表中添加或删除一名玩家。这要求该玩家当前必须在线。延迟排除(defer)的意图是让玩家在服务器重启前重新登录,因为延迟的排除列表不会被保存,并在服务器关闭时消失。省略最后一个参数将自动重新加载 Time Shall Not Pass 模块的状态。
timeshallnotpass refresh - 仅在模组导致你的世界处于错误状态时使用。运行此命令前最好先禁用所有模块以获得最佳效果。如果确实发生了使你的世界进入错误状态的情况,请在此处提交 issue,我将进行调查。
Time Shall Not Pass is a server-side only mod that first and foremost will keep the daylight cycle from progressing when no players are online, and will turn it back on when a player connects. Many mods and modpacks have mechanics which can alter game difficulty or other factors based on time, so it can be essential to stop the daylight cycle when no one is playing. However, there are other modules that when enabled wil control other aspects of your world when players are offline.
As this mod is server-side only, vanilla clients will be able to connect to the server without issue.
Modules
Daylight Cycle Module: Disables the daylight cycle when players are offline. This effectively prevents days and time from progressing.
Random Ticks Module: Disables random ticks when players are offline. This ensures random ticks do not occur such as growth of crops.
Tile Entity Ticks Module: Disables all loaded tick-able tile entities when players are offline. Any blocks which perform some function shouldn't be ticked, including machines.
Fire Ticks Module: Disables fire ticks when players are offline. Fire will not spread and will not cause decay.
Weather Cycle Module: Disables the weather cycle when players are offline. The weather will not change and will stay as it currently is.
If you have any suggestions for a module that can be added, feel free.
Configuration
You can enable or disable each module separately in the config. When enabled Time Shall Not Pass will control that specific aspect of your world when no players are online.
Additionally there is a config option to allow certain players to be excluded. Players that are excluded will not toggle enabled modules on when they connect to the server. It can be useful for spectator and admin accounts that you do not wish to alter the state of the mod. To add an excluded player, just add their name and UUID to the excluded players list in the config file or use the in-game command.
Commands
The timeshallnotpass command requires permission level 4
timeshallnotpass allowPlayerExclusions [true, false] - Controls whether players added to the exclusion list are considered excluded. Will automatically reload the status of the mod when changed.
timeshallnotpass daylightCycleModule [true, false] - Controls whether Time Shall Not Pass will disable the daylight cycle when no non-excluded players are online. Will automatically reload the status of the mod when changed.
timeshallnotpass randomTicksModule [true, false] - Controls whether Time Shall Not Pas! will disable random ticks when no non-excluded players are online. Will automatically reload the status of the mod when changed.
timeshallnotpass tileEntityTicksModule [true, false] - Controls whether Time Shall Not Pass will disable all tile entity ticks when no non-excluded players are online. Will automatically reload the status of the mod when changed.
timeshallnotpass fireTicksModule [true, false] - Controls whether Time Shall Not Pass will disable all fire ticks when no non-excluded players are online. Will automatically reload the status of the mod when changed.
timeshallnotpass weatherCycleModule [true, false] - Controls whether Time Shall Not Pass will disable the weather cycle when no non-excluded players are online. Will automatically reload the status of the mod when changed.
timeshallnotpass verboseLogging [true, false] - Determines if Time Shall Not Pass will include extra logging information in the console server/log which will give you a break-down of what each module is doing.
timeshallnotpass excludedPlayers - Queries the players in the exclusions list.
timeshallnotpass excludedPlayers <add, remove> <player> [reload, defer] - Adds or removes a player in the exclusions list. This does require that the player is currently online. The intention of deferring the exclusion is that the player will log back in before the server is restarted, as the list of exclusions being deferred is not saved and will disappear when the server closes. Omitting the final argument will automatically reload the status of Time Shall Not Pass modules.
timeshallnotpass refresh - Use this only if the mod gets your world into an incorrect state. Disable all modules before running this for best results. If something does occur to put your world into an incorrect state, please come here and make an issue if you can and I will investigate.
下载 Time Shall Not Pass! (1.12.2 & 1.16.5)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Time Shall Not Pass! (1.12.2 & 1.16.5)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Time Shall Not Pass! (1.12.2 & 1.16.5)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Time Shall Not Pass! (1.12.2 & 1.16.5)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Time Shall Not Pass! (1.12.2 & 1.16.5)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Time Shall Not Pass! (1.12.2 & 1.16.5)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Time Shall Not Pass! (1.12.2 & 1.16.5)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Time Shall Not Pass! (1.12.2 & 1.16.5)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Time Shall Not Pass! (1.12.2 & 1.16.5)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Time Shall Not Pass! (1.12.2 & 1.16.5)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
错误修复
移除了尝试监听来自其他来源的游戏规则更改的代码。这在某些情况下会导致冲突,并且当游戏规则尚未初始化时,在服务器启动的特定情况下还会导致崩溃。当 Time Shall Not Pass 中的某个游戏规则模块被禁用时,该游戏规则现在将被更新为其默认值。
修复了一个小 bug:当仅存在 UUID(如旧配置中所示)或名称不正确时,模组在玩家连接到服务器时会以错误的方式更新配置文件中的排除玩家列表。
进行了各种清理和代码优化。
命令
- 更新了排除玩家命令为 excludedPlayers。用法现在是 /timeshallnotpass excludedPlayers <add/remove> <player> <reload/defer>,以便与配置文件中的标签匹配。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧