ItemClearLag (ICL)
ItemClearLag (ICL) 是一款 Minecraft 模组,旨在通过定期清除地面上的掉落物来提升服务器性能。对于玩家数量较多、掉落物容易堆积并导致卡顿的服务器来说,该模组尤其有用。
安装
- 确保已安装 Fabric。
- 下载最新版本的 ICL。
- 将下载的
.jar文件放入你的mods文件夹中。 - 启动你的服务器或游戏。
命令
在聊天栏输入 /icl 可查看所有可用命令。
ICL 提供的主要命令是 /icl,它包含多个子命令:
/icl forceclean: 立即清除地面上所有的掉落物。/icl reload: 重新加载 ICL 配置。/icl config set <key> [value]: 更改某项配置值。若要查看当前配置值,请使用/icl config set <key>。/icl cancel [seconds]: 取消下一次自动清理。如果提供了秒数参数,则下一次清理将在指定秒数后执行。
配置
可以使用 /icl config set 命令来修改配置值。以下是一些可配置的值:
Delay: 自动清理掉落物之间的延迟时间(单位:秒)。NotificationDelay: 发送清理通知前的延迟时间(单位:秒)。NotificationStart: 清理前开始发送通知的时间点(单位:秒)。NotificationTimes: 清理前发送通知的次数。CountdownStart: 清理前倒计时开始的时间点(单位:秒)。doNotificationCountdown: 是否在清理前显示倒计时。doNotificationSound: 是否在发送通知时播放音效。doLastNotificationSound: 是否在发送最后一条通知时播放音效。NotificationSound: 发送通知时播放的音效。LastNotificationSound: 发送最后一条通知时播放的音效。NotificationLang: 通知使用的语言。NotificationColor: 通知的颜色。RequireOp: 是否要求玩家拥有管理员权限才能使用 ICL 相关命令。- 注意: 如果安装了 fabric-permissions 模组,此配置值 无效,请使用任何权限管理插件。
RequireOpCancel: 是否要求玩家拥有管理员权限才能取消清理。- 注意: 如果安装了 fabric-permissions 模组,此配置值 无效,请使用任何权限管理插件。
preserveNoDespawnItems: 是否保留设置为永不消失的掉落物。preserveNoPickupItems: 是否保留设置为不可拾取的掉落物。
权限
ICL 支持 fabric-permissions 集成,允许你为每个命令设置权限。以下是可用的权限节点:
icl.forceclean: 允许玩家使用/icl forceclean命令。icl.reload: 允许玩家使用/icl reload命令。icl.config: 允许玩家使用/icl config命令。icl.cancel: 允许玩家使用/icl cancel命令。
许可证
ICL 采用 MIT 许可证。详情请参阅 LICENSE 文件。
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
- Ensure you have Fabric installed.
- Download the latest version of ICL.
- Place the downloaded .jar file into your
modsfolder. - 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 forcecleancommand.icl.reload: Allows the player to use the/icl reloadcommand.icl.config: Allows the player to use the/icl configcommand.icl.cancel: Allows the player to use the/icl cancelcommand.
License
ICL is licensed under the MIT License. See the LICENSE file for more details.
下载 ItemClearLag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ItemClearLag
下载 ItemClearLag
下载 ItemClearLag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ItemClearLag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ItemClearLag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ItemClearLag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ItemClearLag
下载 ItemClearLag
下载 ItemClearLag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
更安全的计时器使用
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧