ClearLag is a plugin for PocketMine-MP designed to automatically clean items dumped on the server from time to time. This helps reduce lag and maintain server performance.
Description | Link |
---|---|
API | |
Version | |
Downloads |
- Automatically deletes items dumped on the server at configurable intervals.
- Send a warning message before cleaning items.
- Shows periodic messages informing about the time remaining until the next cleaning.
- Allows you to customize warning and cleaning messages.
- Reports the number of items removed after each cleaning.
- Download the plugin and unzip it if necessary.
- Place the
ClearLag
folder in theplugins
directory of your PocketMine-MP server. - Start or restart your PocketMine-MP server to load the plugin.
The configuration file config.yml
is located in the resources/ClearLag/config.yml
folder. You can edit this file to adjust cleaning intervals and customize messages. Below is an example of the default configuration:
clear-interval: 120
clear-message: "§aItems deleted."
warning-message: "§cCollecting garbage in {time}..."
broadcast-interval: 15
broadcast-message: "§bThe items will be deleted in {time} seconds."