90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
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
mods
folder. - 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.