NoPlayerFreeze

切换当没有非空闲玩家在线时服务器的冻结状态。

资源图片
该插件的目标是在玩家未在服务器上玩耍时节省服务器资源。该插件通过在所有玩家离开或服务器上所有玩家都具有“noplayerfreeze.ignore”权限时停止服务器时钟来实现。这些玩家在决定是否停止服务器时钟时会被“忽略”。 此插件的“Essentials”版本使用来自[EssentialsX](https://modrinth.com/plugin/essentialsx)插件的“AFK”功能来决定是否冻结服务器。本质上,如果玩家根据Essentials显示为“AFK”,则服务器就有机会冻结。此功能可以在config中禁用。 **此插件使用在1.20.3中引入的新时钟调试功能来停止服务器时钟。因此,该插件无法在版本 <1.20.3 上工作。** 有两条命令: - /noplayerfreeze toggle - 切换插件是否应启动或停止服务器时钟 - /noplayerfreeze reload - 重新加载config 没有命令来冻结或解冻服务器。 使用[vanilla命令](https://minecraft.wiki/w/Commands/tick)来执行此操作。