跳到正文

ClearLags

作者:Satanas1275

Automatically clears dropped items on a configurable timer with warning messages, a manual /clearlags command, and an optional HUD countdown overlay.

收藏

截图

介绍

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

ClearLags

Automatically clears dropped items on a configurable timer with warning messages, a manual /clearlags command, and an optional HUD countdown overlay.


ClearLags is a lightweight server-side Fabric mod that keeps your world clean by automatically removing dropped items on a configurable interval.

Features

  • Auto-clear timer — drops are cleared every N seconds (configurable, default 60).
  • Warning message — broadcasts a customizable warning a few seconds before each clear (e.g., “Clearing in 10 seconds”).
  • /clearlags command:
  • /clearlags clear — triggers an immediate clear (permission: GAMEMASTER).
  • /clearlags reload — reloads config from disk (permission: ADMIN).
  • /clearlags gui on|off|placement — toggles the HUD overlay or cycles its screen position (4 corners).
  • Configurable messages — all chat messages can be customized or disabled. Use %killed for item count and %seconds for countdown.
  • Optional HUD — players with the mod see a small square overlay showing the seconds remaining before the next clear. It can be moved to any corner or turned off.
  • Client-optional — the mod works fully on the server; the HUD overlay only appears for players who also have the mod installed.

Config (config/clearlags.json)

{
  "clearInterval": 60,
  "warningTime": 10,
  "warningMessage": "§e[ClearLags] §fClearing dropped items in §a%seconds §fseconds!",
  "warningMessageEnabled": true,
  "clearMessage": "§e[ClearLags] §fClearing dropped items...",
  "clearMessageEnabled": true,
  "afterClearMessage": "§e[ClearLags] §fCleared §a%killed §fitems!",
  "afterClearMessageEnabled": true
}

Requirements

  • Minecraft 26.1.2
  • Fabric Loader >= 0.19.2
  • Fabric API

License

CC-BY-NC-4.0

常见问题

ClearLags 支持哪些 Minecraft 版本?

ClearLags 支持 Minecraft Java 版 26.1.2–26.2,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

ClearLags 怎么安装?

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

评论

登录后评论和评分

Satanas1275 的其他作品

查看全部 →