跳到正文

unmannedonlinetickstasis

作者:DY_XiaoJiaZi

Automatically pause all world activities when there are no players on the monitoring server.

收藏

介绍

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

Unmanned Online Tick Stasis

A lightweight server-side mod for Minecraft Forge 1.20.1 that automatically freezes the game world when no players are online and resumes seamlessly when a player joins, helping save server resources and maintain consistent gameplay.

Key Features

  • Automatic Pause/Resume: Pauses block updates, entity movements, redstone devices, in-game time and more when the last player leaves; resumes instantly on player join.
  • Fully Configurable: Toggle pause function, set post-logout pause delay, and whitelist allowed console commands (supports wildcards).
  • State Preservation: Records and restores world time, entity positions and motion states (optional).
  • Multilingual Support: Includes English (en_us) and Chinese (zh_cn).
  • Lightweight & Compatible: Server-side only (no client installation needed); works for Minecraft 1.20.1 (Forge 47.x.x) and 1.20.x.

How It Works

Uses Mixin to intercept the world tick loop, canceling ticks when no players are online (after configured delay). Monitors player events and filters console commands against the whitelist.

Configuration

Stored in serverconfig/unmannedonlinetickstasis-server.toml (or config/ for dedicated servers); editable manually or via /reload (with permissions).

  • enablePause (boolean, default: true): Toggle the pause feature.
  • delaySeconds (int, default: 0): Pause delay after last player leaves.
  • commandWhitelist (string list): Allowed console commands (supports * wildcard).

Example: enablePause = true; delaySeconds = 30; commandWhitelist = [“say”, “list”, “stop”, “help*”]

Installation

  1. Install Minecraft Forge 1.20.1 (recommended: 47.4.10+).
  1. Place the mod .jar in the server’s mods folder.
  1. Start the server (no extra setup needed).

Note: Server-side only; clients don’t need installation.

Dependencies

Minecraft Forge 1.20.1 ([47, 48)), Minecraft 1.20.x

常见问题

unmannedonlinetickstasis 支持哪些 Minecraft 版本?

unmannedonlinetickstasis 支持 Minecraft Java 版 1.20–1.20.6,共 7 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

unmannedonlinetickstasis 怎么安装?

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

评论

登录后评论和评分

DY_XiaoJiaZi 的其他作品

查看全部 →