跳到正文

ItemClearLag [ICL]

作者:VeiTr

ItemClearLag (ICL) is a Minecraft mod designed to improve server performance by periodically removing items from the ground.

收藏

介绍

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

ItemClearLag (ICL)

ItemClearLag (ICL) is a Minecraft mod designed to improve server performance by periodically removing items from the ground. This mod is especially useful for servers with high player counts where dropped items can accumulate and cause lag.

Installation

  1. Ensure you have Fabric installed.
  2. Download the latest version of ICL.
  3. Place the downloaded .jar file into your mods folder.
  4. Start your server or game.

Commands

Write /icl in chat to see all available commands.

The main command provided by ICL is /icl, which has several subcommands:

  • /icl forceclean: Immediately clears all items on the ground.
  • /icl reload: Reloads the ICL.
  • /icl config set <key> [value]: Changes a configuration value. To see current configuration value, use /icl config set <key>.
  • /icl cancel [seconds]: Cancels the next clear. If a number of seconds is provided, the next clear will be scheduled after that many seconds.

Configuration

Configuration values can be changed using the /icl config set command. Here are some of the configurable values:

  • Delay: The delay (in seconds) between automatic item clears.
  • NotificationDelay: The delay (in seconds) before a clear when a notification will be sent.
  • NotificationStart: The time (in seconds) when notifications start being sent before a clear.
  • NotificationTimes: The number of notifications to send before a clear.
  • CountdownStart: The time (in seconds) when the countdown starts before a clear.
  • doNotificationCountdown: Whether to show a countdown before a clear.
  • doNotificationSound: Whether to play a sound when a notification is sent.
  • doLastNotificationSound: Whether to play a sound when a last notification is sent.
  • NotificationSound: The sound to play when a notification is sent.
  • LastNotificationSound: The sound to play when a last notification is sent.
  • NotificationLang: The language for notifications.
  • NotificationColor: The color for notifications.
  • RequireOp: Whether to require the player to be an operator to use the ICL commands.
    • Note: The configuration value is not used if the fabric-permissions mod is installed, use any permissions manager.
  • RequireOpCancel: Whether to require the player to be an operator to cancel clear.
    • Note: The configuration value is not used if the fabric-permissions mod is installed, use any permissions manager.
  • preserveNoDespawnItems: Whether to preserve items that are set to never despawn.
  • preserveNoPickupItems: Whether to preserve items that are set to not be picked up.

Permissions

ICL has a fabric-permissions integration, which allows you to set permissions for each command. Here are the permissions:

  • icl.forceclean: Allows the player to use the /icl forceclean command.
  • icl.reload: Allows the player to use the /icl reload command.
  • icl.config: Allows the player to use the /icl config command.
  • icl.cancel: Allows the player to use the /icl cancel command.

License

ICL is licensed under the MIT License. See the LICENSE file for more details.

常见问题

ItemClearLag [ICL] 支持哪些 Minecraft 版本?

ItemClearLag [ICL] 支持 Minecraft Java 版 1.19.2–1.21.11,共 12 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

ItemClearLag [ICL] 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

VeiTr 的其他作品

查看全部 →