Logo
MINECRAFTBIBLE
Items
Items

All game items

Blocks
Blocks

Building blocks

Mobs
Mobs

Creatures & monsters

Biomes
Biomes

World biomes

Structures
Structures

Generated structures

Recipes
Recipes

Crafting guides

Advancements
Advancements

Achievements

Loot Tables
Loot Tables

Drop rates

Tags
Tags

Item groupings

All Versions
View all data →
Capes
Cape ArchiveNEW

Browse rare Minecon capes, OptiFine capes, and custom capes from players worldwide

Browse

Player Database
Player DatabasePopular

Search any player

Skin Browser
Skin Browser

Browse & download skins

Cape Gallery
Cape GalleryNEW

Minecon & OptiFine capes

Seed Vault
Seed Vault

Curated seeds

Learn

Guides
GuidesNew

Tutorials & tips

Blog
Blog

News & updates

Community

Community Hub
Community HubHub

Posts, discussions & more

All Versions
View community →
Seed Analyzer
Seed Analyzer

World seed analysis

Loot Explorer
Loot Explorer

Drop rates

Crafting Calculator
Crafting Calculator

Material planning

Enchant Calculator
Enchant Calculator

Probability math

Redstone Lab
Redstone Lab

Signal timing

Trading Profit
Trading Profit

Villager ROI

All Versions
View all tools →
Mods
Mods

Browse all mods

Plugins
Plugins

Server plugins

Resource Packs
Resource Packs

Textures & sounds

Shaders
Shaders

Visual enhancements

Datapacks
Datapacks

World logic

Scanner
Mod Intelligence

Scan & analyze any mod

All Versions
View all mods →
Loading...
IntroductionIntroductionVersion HistoryVersion HistoryGuidesGuidesBlog & NewsBlog & News
ItemsItemsBlocksBlocksMobsMobsRecipesRecipesBiomesBiomesStructuresStructuresAdvancementsAdvancementsLoot TablesLoot TablesTagsTags
ModsModsPluginsPluginsResource PacksResource PacksShadersShadersDatapacksDatapacks

MinecraftBible

The Ultimate Wiki

Logo
MINECRAFTBIBLE

The ultimate Minecraft reference. Every item, block, mob, and recipe documented with precision.

Community

  • Skin Browser
  • Cape Gallery
  • Seed Vault
  • Blog
  • Guides

Database

  • Items
  • Blocks
  • Mobs
  • Recipes
  • Biomes
  • Structures

Tools

  • Seed Analyzer
  • Mod Intelligence
  • Crafting Calculator
  • Enchant Calculator

Mods & Packs

  • Mods
  • Plugins
  • Resource Packs
  • Shaders
  • Datapacks

Site & Legal

  • About
  • Authors
  • Editorial Policy
  • Corrections
  • Contact
  • Privacy Policy
  • Terms of Service
  • DMCA
  • Sitemap

© 2026 MinecraftBible. Not affiliated with Mojang or Microsoft.

PrivacyTermsContact
ClearLagV2
PluginMIT

ClearLagV2

ClearLag automatically removes dropped items at configurable intervals to prevent server lag, with customizable warnings, item whitelisting, and real-time memory tracking—all manageable in-game.

30
Downloads
0
Followers
5 months ago
Updated
📦
1
Versions
game-mechanicsoptimizationpaperspigot
Download Latestv1.0.0View on Modrinth

📖About ClearLagV2

ClearLag is a powerful, intelligent item management plugin for Minecraft 1.21+ that automatically removes dropped items to prevent server lag while giving you complete control over what gets cleared and when.

Key Features

  • Configurable Auto-Clear: Set intervals from 1 second to 24 hours for automatic item removal
  • Memory Tracking: Displays exactly how much memory (in MB) is freed after each clear
  • Item Whitelist: Protect valuable items like netherite, elytras, and totems from being cleared
  • Warning System: Customizable countdown warnings before items are removed (no spam)
  • In-Game Configuration: Change every setting without touching the config file
  • World-Specific Clearing: Choose which worlds to clear items in
  • XP Orb Support: Optionally clear experience orbs to reduce entity lag

Functionality

Dropped items are one of the most common causes of server lag. Whether from mob farms, player deaths, or accidental drops, these entities accumulate quickly and can severely impact performance.

ClearLag solves this by running a configurable timer that automatically removes ground items at set intervals. The plugin tracks both the number of item entities (piles) and the total items including stack sizes, giving you accurate feedback. For example, clearing 5 stacks of 64 cobblestone will report "320 items (5 piles) cleared" rather than just "5 items."

Before each clear, players receive customizable warnings at intervals you define (default: 60s, 30s, 10s), giving them time to pick up important items. The whitelist system ensures valuable items are never accidentally removed.

Safety & Performance

The plugin is designed with zero server impact in mind. Item clearing happens instantly with no lag spikes, and the timer runs asynchronously without blocking the main thread. Memory tracking uses Java's native runtime monitoring to show exactly how much memory is freed, helping you optimize clearing intervals for your server's needs.

The warning system prevents spam by tracking which warnings have been sent, ensuring each warning time broadcasts only once per cycle.

Configuration

The plugin works out of the box, but is fully customizable via plugins/ClearLag/config.yml or directly in-game.

  • Interval: Set clearing interval in seconds (1–86400, Default: 300)
  • Warnings: Define when to warn players before clearing (Default: 60, 30, 10 seconds)
  • Whitelist: Specify items that should never be cleared (Default: netherite, elytra, totems)
  • Worlds: Choose specific worlds to clear, or leave empty for all worlds
  • XP Orbs: Toggle whether to clear experience orbs (Default: false)
  • Messages: Customize warning and clear messages with placeholders ({time}, {count}, {entities}, {memory})
  • Color: Set message color (Default: GREEN)

Commands & Permissions

  • /clearlag — Manually clear items immediately (clearlag.clear)
  • /clearlag now — Force immediate clear without warnings (clearlag.clear)
  • /clearlag toggle — Enable/disable auto-clearing (clearlag.toggle)
  • /clearlag reload — Reload configuration from file (clearlag.reload)
  • /clearlag info — Display current configuration and status (clearlag.clear)
  • /clearlag set <setting> <value> — Change a setting in-game (clearlag.config)
  • /clearlag add <list> <value> — Add to whitelist, world list, or warning times (clearlag.config)
  • /clearlag remove <list> <value> — Remove from whitelist, world list, or warning times (clearlag.config)

Aliases: /cl, /itemclear

Installation

ClearLag is a server-side plugin designed for Paper/Spigot 1.21+ (compatible with all modern versions). Simply drop the JAR into your plugins folder and restart your server. A plugins/ClearLag/config.yml file will be created automatically with sensible defaults.

In-Game Management

Unlike most plugins, ClearLag lets you change every setting without editing files:

/clearlag set interval 120          # Change to 2 minutes
/clearlag set color AQUA            # Change message color
/clearlag add whitelist DIAMOND     # Protect diamonds
/clearlag add warning 5             # Add 5-second warning
/clearlag remove warning 30         # Remove 30-second warning
/clearlag set clear-xp-orbs true    # Start clearing XP orbs

All changes take effect immediately and are saved to the config file automatically.

👥 Team & Contributors

StiviKM
StiviKMOwner

⚙️ Compatibility

Environment
🖥️ Server-side
Loaders
paperspigot
Minecraft Versions
1.2.11.2.21.2.31.2.41.2.51.201.20.11.20.2+16 more

🔗 Links

Modrinth Page