By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

A plugin to reduce lag by clearing dropped items.
version 1.3.0
Approved
Direct Download How to install?
Switch version
81 Downloads / 1713 Total
Plugin Description §

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: 3

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

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

# 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 299 seconds!"
  countdown: 299

# Messages
clear-message: "§aGarbage collected correctly."
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

What's new §
  • Apply PHP-CS-Fixer changes
  • Just Minor Fixes
  • Fix bugs
  • Remove ClearLaggTask Files
  • Remove AutoClearTask Files
  • Remove EventListener Files
  • Fixed Command Not Workings
  • Fixed Plugins CrashDump
  • Create .poggit.yml
  • Delete composer.json
  • Rename src/ClearLagg/manager/ClearLaggManager.php to src/NurAzliYT/ClearLagg/manager/ClearLaggManager.php
  • Rename src/ClearLagg/task/AutoClearTask.php to src/NurAzliYT/ClearLagg/task/AutoClearTask.php
  • Update .poggit.yml
  • Update AutoClearTask.php
  • Update ClearLaggManager.php
  • Update Dockerfile
  • Update README.md
  • Update and rename src/ClearLagg/Main.php to src/NurAzliYT/ClearLagg/Main.php
  • Update and rename src/ClearLagg/command/ClearLaggCommand.php to src/NurAzliYT/ClearLagg/command/ClearLaggCommand.php
  • Update and rename src/ClearLagg/listener/EventListener.php to src/NurAzliYT/ClearLagg/listener/EventListener.php
  • Update and rename src/ClearLagg/manager/ConfigManager.php to src/NurAzliYT/ClearLagg/manager/ConfigManager.php
  • Update and rename src/ClearLagg/manager/StatsManager.php to src/NurAzliYT/ClearLagg/manager/StatsManager.php
  • Update and rename src/ClearLagg/task/ClearLaggTask.php to src/NurAzliYT/ClearLagg/task/ClearLaggTask.php
  • Update composer.json
  • Update main.yml
  • Update plugin.yml
  • Use PHP 8.1
Supported API versions
5.0.0
->
5.16.0
Producers §
  • Collaborators:
    • @KnosTx
    • @NurAzli
    • @SketchProX
  • Contributors:
    • @ClousCloud
    • @Dashdactyl
    • @RezzaAbdillah
License §
Categories:
General
Admin Tools
World Editing and Management
Permissions
Other files
Permissions
Commands

You can leave one review per plugin release, and delete or update your review at any time

/ 5
Loading...