TrashCommand
by chenjunfu2
TrashCommand gives each player a private trash bin that can be reopened after disposal, and it runs on the server alone.
What it does
Opening the trash bin shows a large chest interface where players add items to dispose of. The bin is independent for each player and is cleared the next time that player opens it, so the last disposal can be undone with the trash undo command, which reopens the bin with the items restored. Items remain in the bin after leaving and rejoining the server, so the undo still works across sessions.
A second command, trash instant, opens a separate instant trash bin whose contents are destroyed right away with no way to recover them. Because it is separate from the regular trash bin, using it has no effect on what the undo command can restore. The mod is useful for clearing large amounts of junk quickly, and the instant bin should be used with caution.
TrashCommand is installed on the server only. Clients without the mod still use the server normally, since the commands and interfaces work from the server side. The mod is published for Fabric and requires no dependencies. Files target 1.20.1 only, with 1.0.1+1.20.1 as the latest build, and the code is released under the CC0 1.0 Universal license, making it open source.
Key features
Undo the last disposal
The trash undo command reopens the trash bin with the items from the last disposal restored.
Private trash bins
Each player has an independent trash bin that keeps its contents across leaving and rejoining the server.
Instant trash bin
The trash instant command opens a separate bin whose items are destroyed immediately and cannot be recovered.
Extra disposal space
Players can use the trash bin as additional inventory space for items they plan to discard.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Who it’s for: Server owners who want a server-side disposal tool with no client installation are the main audience. Players on a server that runs the mod need nothing extra installed.
How it compares
Trashventory is a Fabric server mod under the MIT License that runs on 26.1.2 – 26.2, far from the 1.20.1 build of TrashCommand. Lava Bucket Trash is a Fabric mod for 1.20.1 under CC0 1.0 Universal, but it can run on either side, while TrashCommand runs on the server alone. Trash Can (Fabric) covers 1.17 – 1.20 and must run on both client and server.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| TrashCommand | Fabric | 1.20.1 | Server-side only | 2026-02-01 |
| Trashventory | Fabric | 26.1.2 – 26.2 | Server required, client optional | 2026-07-09 |
| Lava Bucket Trash | Fabric | 1.20.1 | Client or server, optional | 2024-06-09 |
| Trash Can (Fabric) | Fabric | 1.17 – 1.20 | Client and server | 2023-08-16 |
Questions
Does TrashCommand need to be installed on clients?
Can disposed items be recovered after a server restart?
Which game version does TrashCommand support?
In the catalog
TrashCommand is one of 4,058 Storage mods on ModsFinder, and one of 2,474 Storage mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from chenjunfu2
Similar mods
What the author says
Command List - /trash - Opens the trash bin interface (large chest). Players can freely add items for disposal. After closing the interface, the trash bin will be cleared upon next opening to continue disposing of items. - /trash undo - Undoes the last disposal and reopens the trash bin interface (items are…
Official listing
- Modrinth page
- modrinth.com/mod/trashcommand
- Owner
- chenjunfu2
- Published
- 2025-07-24
- Updated on Modrinth
- 2026-02-01
- Facts verified
- 2026-10-15
