Features
Clears dropped ground items automatically on a configurable interval.
Protects newer drops, named items, ignored items, and ignored worlds.
Check status, clear items now, or reload the config without restarting.
- Automatically clears dropped ground items.
- Configurable clear interval and countdown warning messages.
- Option to disable announcements or the final clear message.
- Manual clear, config reload, and status commands.
- Minimum item age protection to avoid clearing fresh drops too quickly.
- Ignored item and ignored world lists.
- Optional protection for items with custom names.
- Simple JSON config file.
Default behavior
With the default config, GroundClear uses a balanced setup that reduces item buildup while protecting common valuable items and recently dropped items.
| Behavior | Default |
|---|---|
| Automatic clear interval | Every 10 minutes |
| Countdown warnings | 5 minutes, 2 minutes, 1 minute, and 30 seconds before clearing |
| Minimum item age | Only automatically clears items that are at least 60 seconds old |
| Named items | Protected by default |
| Ignored items | minecraft:nether_star and minecraft:dragon_egg |
Installation
- Download the GroundClear
.jarfile intended for your server. - Place the GroundClear
.jarfile into the server'smodsfolder. - Start the server.
- Edit
config/groundclear.jsonif you want to change the default behavior. - Run
/groundclear reloadafter editing the config, or restart the server.
Important: Use the GroundClear file intended for your server. Compatibility details should be checked on the download page.
Commands
All GroundClear commands require OP permission level 2 by default.
| Command | What it does | Notes |
|---|---|---|
/groundclear status |
Shows whether GroundClear is enabled and how long remains until the next automatic clear. | Useful for checking the timer without changing anything. |
/groundclear now |
Immediately clears dropped ground items. | Manual clearing ignores minimumItemAgeSeconds, so recently dropped items can be cleared. |
/groundclear reload |
Reloads the config file without restarting the server. | Use this after editing groundclear.json. |
Configuration
The config file is generated after the server is started with GroundClear installed.
Config location:
config/groundclear.jsonAfter editing the config, run:
/groundclear reloadOr restart the server.
Default config
{
"enabled": true,
"intervalSeconds": 600,
"minimumItemAgeSeconds": 60,
"announcementsEnabled": true,
"warningSeconds": [
300,
120,
60,
30
],
"broadcastClearMessage": true,
"warningMessage": "Ground items will be cleared in {time}.",
"clearMessage": "Cleared {count} ground items.",
"clearNamedItems": false,
"ignoredItems": [
"minecraft:nether_star",
"minecraft:dragon_egg"
],
"ignoredWorlds": []
}Config reference
enabled
Enables or disables automatic item clearing.
"enabled": trueSet this to false to disable automatic clearing.
intervalSeconds
Controls how often dropped ground items are cleared. This value is in seconds.
"intervalSeconds": 600| Value | Time |
|---|---|
300 | 5 minutes |
600 | 10 minutes |
900 | 15 minutes |
1800 | 30 minutes |
3600 | 1 hour |
minimumItemAgeSeconds
Controls how old an item must be before automatic clearing can remove it.
"minimumItemAgeSeconds": 60If this is set to 60, an item must be on the ground for at least 60 seconds before automatic cleanup can remove it. This helps prevent newly dropped items from being cleared immediately.
announcementsEnabled
Enables or disables countdown and clear messages.
"announcementsEnabled": trueSet this to false if you want GroundClear to clear items silently.
warningSeconds
Controls when warning messages are sent before a clear. These values are in seconds before the clear.
"warningSeconds": [
300,
120,
60,
30
]The default warnings are sent at 5 minutes, 2 minutes, 1 minute, and 30 seconds before the clear.
Only a 1-minute warning:
"warningSeconds": [
60
]No countdown warnings:
"warningSeconds": []broadcastClearMessage
Controls whether a message is sent after items are cleared.
"broadcastClearMessage": trueSet this to false if you want countdown warnings but no final cleared-items message.
warningMessage
The message shown before items are cleared.
"warningMessage": "Ground items will be cleared in {time}."Available placeholder: {time}
Example custom message:
"warningMessage": "Item cleanup will happen in {time}!"clearMessage
The message shown after items are cleared.
"clearMessage": "Cleared {count} ground items."Available placeholder: {count}
Example custom message:
"clearMessage": "Cleanup complete! Removed {count} dropped items."clearNamedItems
Controls whether named items should be cleared.
"clearNamedItems": falseWhen set to false, items with custom names are protected. Set this to true if you want named items to be cleared like normal items.
ignoredItems
Items listed here will never be cleared. Use normal Minecraft item IDs.
"ignoredItems": [
"minecraft:nether_star",
"minecraft:dragon_egg"
]Examples:
minecraft:diamondminecraft:elytraminecraft:netherite_swordminecraft:totem_of_undying
Example config:
"ignoredItems": [
"minecraft:nether_star",
"minecraft:dragon_egg",
"minecraft:elytra",
"minecraft:totem_of_undying"
]ignoredWorlds
Worlds listed here will be ignored by GroundClear.
"ignoredWorlds": []Example excluding The End:
"ignoredWorlds": [
"minecraft:the_end"
]Common world IDs:
minecraft:overworldminecraft:the_netherminecraft:the_end
Example setups
Silent cleanup
Clears items without countdown or clear messages.
"announcementsEnabled": falseOnly one warning
Shows a single warning one minute before cleanup.
"warningSeconds": [
60
]Protect more valuable items
Adds Elytra and Totems to the ignored item list.
"ignoredItems": [
"minecraft:nether_star",
"minecraft:dragon_egg",
"minecraft:elytra",
"minecraft:totem_of_undying"
]Longer cleanup interval
Runs automatic cleanup every 30 minutes.
"intervalSeconds": 1800Client installation
GroundClear is intended as a server-side utility mod.
Players should not need to install GroundClear on their client when joining a server that has the mod installed.
Modpack usage
You may include GroundClear in modpacks.
Requirements
GroundClear requires a compatible Minecraft server and access to the server's mods folder.
- A compatible Minecraft server.
- Access to the server's
modsfolder.
Tip: This documentation focuses on how GroundClear works. The commands and configuration are the same across supported downloads.
Support
If you run into an issue, include these details when asking for help:
- Minecraft version
- Mod loader and loader version
- GroundClear version
- Your
groundclear.jsonconfig - Any relevant server logs
License
GroundClear is licensed under the MIT License.