Common Issues
If you're experiencing problems with ClearLaggEnhanced, here are some of the most common issues and how to fix them.
Issue: Plugin fails to load
Problem: You see error messages in the console during server startup, and the plugin doesn't appear in /plugins.
Solution:
- Check the server console for specific error logs.
- Ensure you're running on a supported Minecraft version (1.17 - 1.20+).
- Ensure you have Java 17 or higher installed on your server.
- Verify that you have a database (SQLite or MySQL) correctly configured in
config.yml.
Issue: Entities are being cleared too often
Problem: The entity clearing process runs more frequently than desired.
Solution:
- Open
plugins/ClearLaggEnhanced/modules/entity-clearing/config.yml. - Locate the
interval-secondssetting and increase the value. - Run
/clearlagg reload.
Issue: Lag persists after installation
Problem: The server continues to experience low TPS even after configuring the plugin.
Solution:
- Use
/cl findchunksto see if specific chunks are the source of the lag. - Check if any other plugins are causing high MSPT using the Performance command.
- Adjust your
mob-limiterandspawner-limitersettings to be more aggressive.
Issue: Command not found
Problem: When typing /clearlagg, you get a "Command not found" or similar message.
Solution:
- Verify the plugin is correctly installed and loaded (
/plugins). - Ensure you have the correct permission:
clearlagg.admin. - Check for any conflicting plugins that might be overriding the
/clearlaggcommand.