轻松为整个 Minecraft 实例设置游戏时间限制。一旦设置了限制时间和密码,模组就会开始记录你的游戏时长。当限制到期后,你将被锁定在游戏之外(世界会自动保存,不用担心!),除非输入密码以绕过限制。
为什么?
我一直试图使用 macOS 内置的屏幕使用时间功能来实现同样的效果,但它们在 Minecraft Java 版中表现得相当不稳定。有时限制有效,有时却让你悄无声息地直接突破限制。即使限制生效了,“已达到限制”的弹窗实际上并不会暂停游戏,导致鼠标仍然被捕获,这使得交互几乎不可能完成。
如何使用?
主页屏幕上已添加一个新按钮,允许你配置设置。你也可以默认按下 ; 键在游戏中访问同一页面。

恢复方法
如果你忘记了密码,或者出现了其他问题,设置信息会存储在你配置文件目录下的一个简单 JSON 文件中,删除该文件即可重置所有设置。这也意味着在没有密码的情况下绕过限制是...非常可能的,因此不要完全依赖此功能。
希望这对你有帮助!
Easily set up a playtime limit for an entire Minecraft instance. Once a limit and password is set the mod will start keeping track of your playtime. Once the limit expires, you will be locked out of the game (worlds will be saved don't worry!) unless you enter the password to bypass the limit.
Why?
I've been trying to use macOS' built in screentime features to accomplish the same thing, but they are rather finnicky around Minecraft Java Edition. Sometimes the limit works, other times it lets you sail right past it without a peep. Even when the limit does work, the "Limit Reached" popup doesn't actually pause the game so your mouse remains captured making it basically impossible to interact with.
How?
A new button has been added to the homescreen to allow you to configure settings. You can also press the ';' key by default to access the same page in game.

Recovery
If you don't remember your password, or something else goes wrong, settings are stored in a simple JSON file in your config directory which can easily be deleted to reset everything. This does also mean that bypass is... very possible without the password so don't rely on this for everything.
Hopefully you find this helpful!
评论 0
登录后参与评分
还没有评论,来抢沙发吧