ClearLagg

A plugin to reduce lag by clearing dropped items.

ClearLagg


ClearLagg is a plugin for PocketMine-MP designed to reduce lag by periodically clearing dropped items in the world. It provides configurable options and commands to manage item clearing, player notifications, and detailed statistics.

Features

  • Automatic item clearing at configurable intervals
  • World-specific configurations
  • Player notifications before item clearing
  • Command to manually clear items
  • Detailed statistics of cleared items

Installation

  1. Download the latest release of ClearLagg from Poggit.
  2. Place the downloaded .phar file into the plugins directory of your PocketMine-MP server.
  3. Restart your server to load the plugin.

Configuration

After installing the plugin, a configuration file config.yml will be generated in the plugin_data/ClearLagg directory. You can customize the settings as needed.

Default Configuration

# ClearLagg configuration file

# Please Don't Edit configuration ver
config-version: 4

# Time in seconds between automatic clears
clear-interval: 300

# Time interval in seconds for countdown message broadcast
broadcast-interval: 150

# World-specific settings
worlds:
  world:
    enable-auto-clear: true
# world_nether:
   # enable-auto-clear: true
# world_the_end:
   # enable-auto-clear: true

# Player notifications
notify-players:
  enable: true
  message: "All dropped items will be cleared in 300 seconds!"
  countdown: 300

# Messages
clear-message: "§aItems cleared!"
warning-message: "§cPicking up trash in {time}..."
broadcast-message: "§bThe items will be deleted in {time} seconds."

Commands

  • /clearlagg - Clears all dropped items in the configured worlds.
  • /clearlagg stats - Displays statistics about the cleared items.

Permissions

  • clearlagg.use - Allows the player to use the /clearlagg command.
  • clearlagg.stats - Allows the player to view clearlagg statistics.

Usage

Manually Clear Items

Use the /clearlagg command to manually clear all dropped items in the configured worlds.

/clearlagg

View Statistics

Use the /clearlagg stats command to view the statistics of cleared items.

/clearlagg stats

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub if you have any improvements or bug fixes.

Acknowledgements

  • PocketMine-MP for providing the API and platform to develop this plugin.
  • All contributors and users for their support and feedback.

Created by ClousCloud Team

Details

Version: 2.0.0

Downloads: 33

Updated: 12/12/2025

Supported API versions: 5.0.0 to 5.36.0

Categories: General, World Editing and Management, Admin Tools

License: GPL-3.0

Producers

Collaborator