HomeJavaModsVoid Cleaner
Void Cleaner
ModsJava

Void Cleaner

by Dominos111G · on Modrinth

VoidCleaner automatically and intelligently cleans up dropped items, projectiles, vehicles, and mobs from your server, storing them in a special "void"…

⬇ Download on Modrinth

🪐 VoidCleaner

Intelligent item management plugin for Paper Minecraft 1.20+ servers

VoidCleaner automatically and intelligently cleans up dropped items, projectiles, vehicles, and mobs from your server, storing them in a special "void" (storage) where players can retrieve them. The system automatically adjusts cleanup aggression based on server load (TPS).

✨ Key Features

🎯 Intelligent TPS-Based Cleanup

📦 Multi-World Void Storage

⚡ Asynchronous Cleanup

🔄 Real-Time Player Synchronization

📊 Smart Item Stacking

🛡️ Advanced Filtering

📥 Installation

  1. Download .jar from GitHub or Modrinth
  2. Place in plugins/ folder
  3. Restart server
  4. Edit plugins/VoidCleaner/config.yml (auto-generated)
  5. Restart server again

See INSTALLATION.md for detailed instructions.

🎮 Player Commands

/void

Opens the void GUI to retrieve items (if void is open).

🔧 Admin Commands

/void open           # Manually open void
/void close          # Manually close void
/void clean          # Normal cleanup
/void fullclean      # Aggressive cleanup (removes mobs)
/void worldclean     # Async world cleanup (unloaded chunks)

🔐 Permissions

Permission Default Description
voidcleaner.use true Access to /void GUI
voidcleaner.admin op All admin commands
voidcleaner.open op /void open
voidcleaner.close op /void close
voidcleaner.clean op /void clean
voidcleaner.fullclean op /void fullclean
voidcleaner.worldclean op /void worldclean

Example: LuckPerms

/lp user <player> permission set voidcleaner.use true
/lp group admin permission set voidcleaner.admin true

⚙️ Configuration

World Mapping

world-voids:
  overworld:
    - world
  nether-end:
    - world_nether
    - world_the_end

default-void: overworld

Items from each world go to their mapped void.

Storage Limit

max-void-storage: 10000  # Max items per void (0 = unlimited)

Auto Cleanup

cleanup-interval-seconds: 600  # Cleanup every 10 minutes
enable-auto-cleanup: true

Recommendations:

TPS-Based Cleanup

low-tps-threshold: 12.0          # Trigger aggressive cleanup
critical-tps-threshold: 8.0      # Trigger full cleanup
tps-check-interval-seconds: 30

How it works:

Void Duration

void-close-delay-seconds: 120  # Void closes after 2 minutes

After this time, the void closes and remaining items are deleted forever.

Cleanup Rules

default-clean:  # Regular cleanup
  - minecraft:item
  - minecraft:arrow
  - minecraft:oak_boat +empty

high-clean:     # Aggressive cleanup
  - minecraft:zombie
  - minecraft:skeleton
  # ... more mobs

Rule Format

"minecraft:item"              # All items
"minecraft:oak_boat +empty"   # Empty boats only
"minecraft:minecart"          # All minecarts
"minecraft:wolf !tamed"       # Wild wolves only
"minecraft:zombie +adult"     # Adult zombies only

Conditions

Condition Meaning
+empty Vehicle without passenger
!empty Vehicle with passenger
+tamed Tamed animal
!tamed Wild animal
+named Has nametag
!named No nametag
+adult Adult
+baby Baby/young
+hostile Hostile mob
!hostile / +passive Peaceful
+on_ground Standing on ground

Blacklists

default-blacklist: []        # Protected from default cleanup
fullclean-blacklist:
  - minecraft:villager       # Never removed
  - minecraft:iron_golem

See full config.yml for all options.

📊 Use Cases

Small SMP Server

world-voids:
  all:
    - world
    - world_nether
    - world_the_end

max-void-storage: 5000
cleanup-interval-seconds: 300

Large Survival Server

world-voids:
  main:
    - world
    - world_nether
    - world_the_end
  creative:
    - creative_world

max-void-storage: 20000
cleanup-interval-seconds: 600
low-tps-threshold: 12.0

Anti-Lag Machine Setup

enable-auto-cleanup: false
protect-tamed: true
protect-named: true

Then manually run /void worldclean to clean unloaded areas.

🐛 Troubleshooting

Plugin won't load

Check:

  1. Are you using Paper 1.20+? (/version)
  2. Is the JAR in the plugins/ folder?
  3. Do you have Java 17+? (java -version)

/void command not found

Check:

  1. Did the plugin load? (Check console for "[VoidCleaner]")
  2. Do you have voidcleaner.use permission?
  3. Restart the server

Void won't open

Check:

  1. Run /void fullclean to force cleanup
  2. Check void-close-delay-seconds in config
  3. Is enable-auto-cleanup: true?

High CPU usage

Solutions:

See INSTALLATION.md for more solutions.

📈 Performance

VoidCleaner is optimized for performance:

TPS Impact:

🔗 Links

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more