HomeJavaModsClean to Dustbin/秋风扫落叶
Clean to Dustbin/秋风扫落叶
ModsJava

Clean to Dustbin/秋风扫落叶

by zhaomingyuChina · on Modrinth

A server-side mod for Minecraft Forge 1.20.1 that automatically collects and stores all dropped items in an accessible dustbin.

⬇ Download on Modrinth

Clean to Dustbin Mod

A server-side mod for Minecraft Forge 1.20.1 that automatically collects and stores all dropped items in an accessible dustbin.

Features

🗑️ Smart Dustbin System

⏰ Scheduled Cleanup Mechanism

📝 Highly Configurable

🎮 Convenient Command System

Installation

  1. Ensure your server has Forge 1.20.1 installed
  2. Download the clean-to-dustbin-x.x.x.jar file
  3. Place the jar file into your server's mods folder
  4. Start the server, the mod will generate configuration files automatically
  5. Modify the configuration files as needed

Usage

Opening the Dustbin

Page Navigation

Direct Jump

Configuration Options

Configuration file is located at serverconfig/cleantodustbin-server.toml, you can customize the mod behavior through the following options:

Option Type Default Description
CLEANUP_INTERVAL Integer 3600 Cleanup interval in seconds
DUSTBIN_PAGES Integer 5 Number of dustbin pages
REMINDER_MESSAGES String List Built-in messages Reminder messages before cleanup

Custom Reminder Messages Example

REMINDER_MESSAGES = [
    "&aItem cleanup will start in 1 minute!",
    "&aItem cleanup will start in 30 seconds!",
    "&aItem cleanup will start in 10 seconds!",
    "&aItem cleanup will start in 9 seconds!",
    "&aItem cleanup will start in 8 seconds!",
    "&aItem cleanup will start in 7 seconds!",
    "&aItem cleanup will start in 6 seconds!",
    "&aItem cleanup will start in 5 seconds!",
    "&aItem cleanup will start in 4 seconds!",
    "&aItem cleanup will start in 3 seconds!",
    "&aItem cleanup will start in 2 seconds!",
    "&aItem cleanup will start in 1 second!"
]

Command Description

Command Permission Description
/ljt All players Open dustbin interface
/ljt <page> All players Jump directly to specified page
/ljt reload Admin Reload configuration file

Interface Description

Dustbin Interface Layout

┌─────────────────────────────────────────────────┐
│                                                 │
│                                                 │
│                                                 │
│                                                 │
│                                                 │
│                                                 │
│  [Red Glass]  [Sign]  [Red Glass]               │
│  [Prev Page]  [Page]  [Next Page]               │
└─────────────────────────────────────────────────┘

Development Information

Tech Stack

Project Structure

clean-to-dustbin/
├── src/main/java/com/example/cleantodustbin/
│   ├── CleanToDustbin.java          # Main mod class
│   ├── config/ModConfig.java        # Configuration class
│   ├── command/DustbinCommand.java  # Command handling
│   ├── cleanup/CleanupScheduler.java # Cleanup scheduler
│   └── dustbin/                     # Dustbin related
│       ├── DustbinManager.java      # Dustbin management
│       ├── DustbinInventory.java    # Dustbin inventory
│       └── DustbinContainer.java    # Dustbin container
└── build.gradle                     # Gradle configuration

Notes

  1. This mod only runs on the server, no client installation required
  2. Ensure the server has enough memory to store dustbin data
  3. Clean the dustbin regularly to avoid excessive memory usage
  4. Use /ljt reload command to reload configuration after modification

License

MIT License

Support

If you have any issues or suggestions, please submit an Issue or Pull Request.


Enjoy a clean Minecraft world! 🎉

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