OneClear is a lightweight Bukkit plugin designed to reduce server lag by automatically or manually clearing specific dropped items from all worlds.
- Automatic Clearing: Periodically removes specified items.
- Broadcast Notifications: Warn players before items are cleared.
- Manual Control: Clear specific items instantly via commands.
- TOML Configuration: Easy-to-read configuration file.
/oneclear- Clears all items listed in the config./oneclear clear <item_id>- Clears a specific item (e.g.,minecraft:feather)./oneclear reload- Reloads the configuration.
Permission: oneclear.use (Default: OP)
The configuration file is located in plugins/Oneclear/config.toml.
# Prefix for all plugin messages (supports & color codes)
prefix = "&8[&bOneClear&8] &r"
# List of item IDs to be cleared automatically or via /oneclear
items = ["minecraft:string", "minecraft:rotten_flesh", "minecraft:arrow"]
# Automatic clearing timer settings
timer_enabled = true
timer_interval = 600 # How often to clear items (in seconds)
# Notification settings
notify_enabled = true # Whether to broadcast a warning message
notify_time = 10 # How many seconds before clearing to send the warning