Перейти к содержимому
Mineforgian

ClearDrops+

Automatic item clearer with TPS protection, warnings, blacklist support and per-world control.

Загрузки
1K
Подписчики
0
Обновлён
22 мая 2026 г.
Лицензия
All-Rights-Reserved

Опубликован 24 декабря 2025 г.

ClearDrops+

ClearDrops+ is a Minecraft cleanup plugin.

It keeps your worlds clean by removing dropped items and limiting entity-heavy chunks in a controlled, predictable and TPS-safe way.

ClearDrops+ is not a simple “delete everything” cleaner. It separates item cleanup from entity cleanup, respects server performance, protects valuable content and gives admins full control over when and how cleanup should happen.

Perfect for survival, SMP and farm-heavy servers that want cleaner worlds, better performance and safer cleanup behavior.


✨ What is new in 1.3?

ClearDrops+ 1.3 expands the plugin from a dropped item cleaner into a smarter server hygiene tool.

This update adds:

  • Smart entity cleanup for animals and mobs
  • Separate global timed entity cleanup
  • Optional chunk-load entity cleanup
  • Per-group entity limits
  • Separate limits for cows, pigs, chickens and sheep
  • Protection for named, tamed, leashed and saddled entities
  • Protection for villagers with professions
  • Protection for named villagers and named iron golems
  • Custom item protection for names, lore, CustomModelData and PersistentDataContainer items
  • New admin commands for scanning and cleaning entity-heavy chunks

⚡ Core Features

  • Automatic dropped item cleanup at configurable intervals
  • Warning messages before item cleanup starts
  • TPS protection to skip or stop cleanup when the server is under load
  • Batch-based item removal to prevent lag spikes
  • Minimum item age filter to protect freshly dropped items
  • Material blacklist via blacklist.yml
  • Custom item protection via config.yml
  • Per-world control using ALL or WHITELIST mode
  • Optional chunk-based item cleanup
  • Smart entity cleanup for crowded animal and mob chunks
  • Separate timers for item cleanup and entity cleanup

🧹 Global Item Cleanup

The classic item cleanup system removes dropped items from loaded worlds after a configurable interval.

Example use case:

  • Remove dropped items every 60 minutes
  • Warn players before cleanup
  • Skip cleanup if TPS is too low
  • Only remove items that are old enough
  • Never remove blacklisted materials
  • Protect custom items with name, lore, CustomModelData or PDC data

This system is designed to keep the ground clean without causing lag spikes.


🗺️ Item Chunk Cleanup Worker

ClearDrops+ includes an optional chunk-load based item cleanup system.

This system is useful for chunks that contain too many dropped items when they are loaded.

Features:

  • Runs only on already loaded chunks
  • Never force-loads chunks
  • Uses a safe queue worker
  • Supports per-tick processing limits
  • Supports chunk cooldowns
  • Supports dynamic TPS scaling
  • Supports per-world overrides
  • Can notify admins when cleanup happens

This makes it safe for larger servers and prevents heavy cleanup work from happening all at once.


🐔 Smart Entity Cleanup

ClearDrops+ 1.3 introduces a new smart entity cleanup system.

This system can limit large animal and mob farms per chunk.

Instead of deleting all entities, it only removes extra, unprotected entities above the configured limit.

Example:

If chickens are limited to 20 per chunk and a chunk contains 100 chickens, ClearDrops+ will only remove the overflow slowly and safely, based on your configured remove-per-run value.

This helps against oversized farms that can hurt TPS, especially on low-end servers.


🐄 Separate Animal Limits

Farm animals can be configured separately.

This means you can set limits like:

  • 20 cows per chunk
  • 20 pigs per chunk
  • 20 chickens per chunk
  • 20 sheep per chunk

This is more precise than one global animal limit.

Example:

entity-cleanup:
  groups:
    cows:
      enabled: true
      max-per-chunk: 20
      remove-per-run: 10
      types:
        - COW

    chickens:
      enabled: true
      max-per-chunk: 20
      remove-per-run: 10
      types:
        - CHICKEN

🌍 Global Timed Entity Cleanup

Entity cleanup can run on its own timer, separate from item cleanup.

Example:

  • Item cleanup every 2 hours
  • Animal and mob cleanup every 1 hour

The global entity cleanup only scans chunks that are already loaded by the server.

It does not force-load chunks.

This means it stays safe and predictable even on larger maps.


📦 Optional Chunk-Load Entity Cleanup

ClearDrops+ can also check entities when chunks naturally load.

This can be enabled or disabled separately.

Example:

entity-cleanup:
  enabled: true

  chunk-load:
    enabled: false

  global:
    enabled: true

With this setup:

  • Entity cleanup while players explore the map is disabled
  • Global timed entity cleanup is still enabled
  • Only already loaded chunks are scanned during the global cleanup

This gives server owners full control over how entity cleanup should behave.


🛡️ Entity Protection

ClearDrops+ does not blindly delete player-owned or valuable entities.

The protection system can protect:

  • Named entities
  • Tamed animals
  • Leashed animals
  • Saddled animals
  • Villagers with professions
  • Named villagers
  • Named iron golems

Example:

If a player has a leashed sheep or a named animal inside a crowded farm chunk, ClearDrops+ will count it as protected and will not remove it.

This makes the cleanup safer and fairer for SMP servers.


💎 Custom Item Protection

ClearDrops+ can protect custom dropped items by checking their item metadata.

This is useful for servers using custom item systems such as:

  • ItemCoreX
  • Oraxen
  • ItemsAdder
  • MMOItems
  • MythicMobs item drops
  • Other custom item plugins

Protection options include:

  • Custom display names
  • Lore
  • CustomModelData
  • PersistentDataContainer keys
  • Enchanted items, optional

Example:

item-protection:
  enabled: true
  protect-named-items: true
  protect-lore-items: true
  protect-custom-model-data: true
  protect-persistent-data-items: true
  protect-enchanted-items: false

The material blacklist still exists, but it only protects items by Bukkit material type.

Custom items should be protected through item-protection.


📊 Performance & Safety

ClearDrops+ is designed to be performance-friendly.

It includes:

  • TPS checks before and during cleanup
  • Batch-based removal
  • Queue-based chunk processing
  • Configurable chunks per tick
  • Configurable items per tick
  • Configurable entities removed per run
  • Dynamic TPS-based scaling
  • No async entity access
  • No unsafe chunk loading
  • No forced chunk loading

The plugin only works with chunks that are already loaded by the server.


🔎 Admin Tools

ClearDrops+ includes useful admin commands for checking cleanup behavior.

/cd entityscan

Scans the current chunk and shows useful information about configured entity groups.

It displays:

  • Entity groups found in the chunk
  • Total entities per group
  • Configured group limit
  • Overflow amount
  • Protected entities
  • Removable entities
  • Entity types found

This is useful when checking player farms.

/cd entityclear

Cleans the current chunk using the configured entity group limits.

It does not remove all entities.

It only removes extra, unprotected entities above the configured limit.


📜 Commands

Command Description Permission
/cd help Show command help Everyone
/cd next Show time until the next item clear Everyone
/cd clear Manually start global item cleanup cleardrops.admin
/cd status Show plugin status cleardrops.admin
/cd stats Show cleanup statistics cleardrops.admin
/cd info Show plugin and config information cleardrops.admin
/cd cleanhere Clean dropped items in the current chunk cleardrops.admin
/cd entityscan Scan entity groups in the current chunk cleardrops.admin
/cd entityclear Clean entity overflow in the current chunk cleardrops.admin
/cd debug start Enable debug logging cleardrops.admin
/cd debug stop Disable debug logging cleardrops.admin
/cd reload Reload configuration files cleardrops.admin

🔐 Permissions

Permission Description
cleardrops.admin Grants access to all administrative commands

⚙️ Configuration

ClearDrops+ provides a flexible configuration system.

You can configure:

  • Global item cleanup interval
  • Warning times
  • Player and console notifications
  • Minimum TPS
  • Minimum item count
  • Minimum item age
  • Items removed per tick
  • World whitelist mode
  • Material blacklist
  • Custom item protection
  • Item chunk cleanup
  • Entity cleanup master switch
  • Chunk-load entity cleanup
  • Global timed entity cleanup
  • Entity group limits
  • Entity protection rules
  • Dynamic TPS scaling
  • Debug logging
  • Update checker

All configuration files are generated automatically on first startup.


🧩 Configuration Example

Click to show example config.yml
clear:
  interval-seconds: 3600

safety:
  min-tps: 14.0
  min-items-to-clear: 10

filters:
  minAgeSeconds: 60

performance:
  items-per-tick: 200

item-protection:
  enabled: true
  protect-named-items: true
  protect-lore-items: true
  protect-custom-model-data: true
  protect-persistent-data-items: true
  protect-enchanted-items: false

chunk-cleanup:
  enabled: true
  min-items: 20
  max-chunks-per-tick: 1
  max-remove-per-chunk: 800
  chunk-cooldown-seconds: 60
  only-existing-chunks: true
  notify-admins: true

entity-cleanup:
  enabled: true

  chunk-load:
    enabled: false
    max-chunks-per-tick: 1
    chunk-cooldown-seconds: 120

  notify-admins: true

  global:
    enabled: true
    interval-seconds: 3600
    min-tps: 14.0
    chunks-per-tick: 1

  protection:
    protect-named-entities: true
    protect-tamed-animals: true
    protect-leashed-entities: true
    protect-saddled-entities: true
    protect-villagers-with-profession: true
    protect-villagers-with-custom-name: true
    protect-iron-golems-with-custom-name: true

  groups:
    cows:
      enabled: true
      max-per-chunk: 20
      remove-per-run: 10
      types:
        - COW

    pigs:
      enabled: true
      max-per-chunk: 20
      remove-per-run: 10
      types:
        - PIG

    chickens:
      enabled: true
      max-per-chunk: 20
      remove-per-run: 10
      types:
        - CHICKEN

    sheep:
      enabled: true
      max-per-chunk: 20
      remove-per-run: 10
      types:
        - SHEEP

    monsters:
      enabled: true
      max-per-chunk: 60
      remove-per-run: 20
      types:
        - ZOMBIE
        - CREEPER
        - SKELETON
        - SLIME

    villagers:
      enabled: false
      max-per-chunk: 30
      remove-per-run: 5
      types:
        - VILLAGER

    iron-golems:
      enabled: false
      max-per-chunk: 20
      remove-per-run: 3
      types:
        - IRON_GOLEM

🔄 Update-Friendly Configuration

ClearDrops+ is designed to be update-friendly.

  • Missing keys in config.yml, messages.yml, and blacklist.yml can be added automatically
  • Existing settings are preserved where possible
  • Config files use internal version numbers
  • Built-in Modrinth update checker
  • Optional console update notifications
  • Optional admin join notifications

Server owners can usually replace the .jar file and compare the new default configuration with their existing files.

Check Out My Other Plugins

bStats

Ченджлог

1.3.5Релиз26.1, 26.1.1, 26.1.2 · 22 мая 2026 г.

ClearDropsPlus v1.3.5 - Reload & Scheduler Hotfix

This hotfix improves reload behavior, scheduler safety, and YAML version handling.

Fixed

  • Fixed global timed Entity Cleanup not properly restarting after /cd reload.
  • Fixed Entity Cleanup interval changes not applying without a full server restart.
  • Fixed old Entity Cleanup scheduler tasks not being cancelled before reload.
  • Fixed possible duplicate scheduler tasks for the main item clear timer and chunk cleanup worker.
  • Fixed YAML version keys staying outdated after missing config values were added.

Improved

  • /cd reload now reloads Entity Cleanup settings more reliably.
  • Global timed Entity Cleanup now uses the updated interval directly after reload.
  • Chunk-load Entity Cleanup worker is restarted safely when its settings change.
  • Plugin shutdown now cancels cleanup timers and workers more cleanly.
  • Existing server configuration values are still preserved during automatic YAML updates.

Notes

  • This update does not overwrite existing admin settings.
  • Missing YAML keys are still added automatically.
  • Only internal version keys such as config-version, messages-version, and blacklist-version are updated when needed.
1.3Релиз26.1, 26.1.1, 26.1.2 · 21 мая 2026 г.

ClearDropsPlus 1.3 - Smart Entity Cleanup Update

ClearDropsPlus 1.3 adds a new smart entity cleanup system and improves protection for custom items and player-owned entities.

Added

  • Added Smart Entity Cleanup for animals and mobs
  • Added separate global timed entity cleanup
  • Added optional chunk-load entity cleanup
  • Added per-group entity limits for farms and mob-heavy chunks
  • Added separate animal limits for cows, pigs, chickens and sheep
  • Added entity protection for named, tamed, leashed and saddled entities
  • Added protection for villagers with professions
  • Added protection for named villagers and named iron golems
  • Added /cd entityscan to inspect entity groups in the current chunk
  • Added /cd entityclear to clean entity overflow in the current chunk
  • Added custom item protection for names, lore, CustomModelData and PersistentDataContainer items

Changed

  • Entity cleanup is now separated from item cleanup
  • Item cleanup and entity cleanup can use different timers
  • Entity cleanup only scans already loaded chunks and never force-loads chunks
  • Messages now visually separate item cleanup and entity cleanup
  • Entity cleanup messages now show nearby block coordinates and chunk coordinates

Improved

  • Better protection for custom items
  • Better admin tools for checking farms and crowded chunks
  • More readable config structure for entity cleanup
  • More control over low-end server performance

Notes

The material blacklist still only applies to dropped items by material type.

Custom item protection is configured in config.yml under item-protection.

It is recommended to back up your old config before updating and compare it with the new default config.

1.2Релиз1.21.11, 26.1, 26.1.1 · 31 марта 2026 г.

ClearDropsPlus 1.2

This update improves usability, configuration handling, admin tools, and overall plugin maintenance.

Added

  • Added automatic update checking through Modrinth
  • Added console update notifications when a newer version is available
  • Added in-game admin update notifications on join
  • Added a clickable Modrinth link in the in-game update message
  • Added /cd info command to quickly view plugin and config information
  • Added tab completion for /cd commands
  • Added version fields for:
    • config.yml
    • messages.yml
    • blacklist.yml

Improved

  • Improved automatic config updating for existing installations
  • Missing keys in config.yml, messages.yml, and blacklist.yml are now added automatically on startup or reload
  • Existing user settings are preserved during updates
  • Improved /cd help so players only see commands they are allowed to use
  • Improved /cd status and /cd stats output for better readability
  • Improved global clear world statistics so they now reflect actually removed items
  • Improved notification handling with more configurable options
  • Improved debug throttling for chunk queue and chunk scan logging
  • Improved reload behavior so update checking is refreshed after /cd reload

Changed

  • Reworked notification settings for:
    • warnings before clear
    • global clear start
    • global clear finish
    • low TPS stop message
  • Updated internal handling for YAML merging and version checks
  • Cleaned up runtime state resets during reload and shutdown

Fixed

  • Fixed missing command suggestions by adding tab completion
  • Fixed inaccurate global per-world clear counts
  • Fixed several reload/update edge cases with cached state
  • Fixed permission visibility issues in command help output

Notes

This version is fully compatible with existing ClearDropsPlus installations.

If you already have a plugin folder from an older version, you can simply replace the .jar file.
Missing config and message keys will be added automatically without overwriting your existing settings.

  • Bukkit compatibility is not officially tested
1.1.1Релиз1.21.9, 1.21.10, 1.21.11 · 5 января 2026 г.

🔹 ClearDropsPlus 1.1.1

✨ Added

  • Added anonymous usage statistics via bStats
    • Helps track how many servers use ClearDropsPlus
    • No personal data is collected
    • Can be disabled globally via the bStats config

🔧 Internal

  • Build improvements and dependency shading
  • Minor internal cleanup
1.1.0Релиз1.21.9, 1.21.10, 1.21.11 · 27 декабря 2025 г.

🚀 ClearDrops+ v1.1.0

✨ Added

  • Smart chunk-load cleanup (safe, queue-based, no force-loading)
  • Dynamic TPS-based scaling for cleanup limits
  • Cleanup cooldowns per chunk
  • Optional admin notifications for chunk cleanup
  • New commands:
    • /cd stats
    • /cd cleanhere
    • /cd debug start|stop
  • Debug logging system (console & file)
  • Detailed statistics tracking (global clears & chunk cleans)

⚙️ Improved

  • Stronger TPS protection for global item clearing
  • Cleanup automatically pauses on low TPS
  • Optimized item processing using per-tick limits
  • Improved internal performance and safety checks

🧠 Configuration

  • Added new configuration sections:
    • chunk-cleanup.*
    • dynamic-limits.*
    • debug.*
    • world-settings.<world>.chunk-cleanup.*
  • Old configurations remain compatible (new options use safe defaults)

🛠 Fixed

  • Minor edge cases related to low TPS situations
  • Improved stability during high item or chunk load scenarios
1.0.0Релиз1.21.9, 1.21.10, 1.21.11 · 24 декабря 2025 г.

🎉 Initial Release

  • Automatic clearing of dropped items at configurable intervals
  • Warning messages before clearing
  • TPS protection (skip or stop clearing on low TPS)
  • Per-world control (ALL / WHITELIST)
  • Material blacklist via blacklist.yml
  • Item age filter (do not remove fresh drops)
  • Batch removal (items per tick) for better performance
  • Admin commands for manual clear and reload
  • /cd next available for all players
  • Built with Java 21
  • Compatible with Paper and Spigot (1.21.x)

Комментарии

Загружаем…