A plugin to reduce lag by clearing dropped items.
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.
.phar file into the plugins directory of your PocketMine-MP server.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.
# 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."
/clearlagg - Clears all dropped items in the configured worlds./clearlagg stats - Displays statistics about the cleared items.clearlagg.use - Allows the player to use the /clearlagg command.clearlagg.stats - Allows the player to view clearlagg statistics.Use the /clearlagg command to manually clear all dropped items in the configured worlds.
/clearlagg
Use the /clearlagg stats command to view the statistics of cleared items.
/clearlagg stats
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Contributions are welcome! Please open an issue or submit a pull request on GitHub if you have any improvements or bug fixes.
Created by ClousCloud Team