Message Customization
ClearLaggEnhanced allows you to customize almost every message the plugin sends to players and administrators.
Configuration File
The messages are defined in plugins/ClearLaggEnhanced/messages.yml.
Features
Color Codes
You can use standard Minecraft color codes (e.g., &c, &l) to style your messages.
Placeholders
Many messages support dynamic placeholders:
{prefix}: The global plugin prefix.{count}: The number of entities cleared.{time}: The time remaining until the next clearing.
Example Configuration
prefix: "&8[&cClearLaggEnhanced&8] "
no-permission: "&cYou do not have permission to execute this command."
entity-clearing:
cleared: "{prefix} &7Successfully cleared &c{count} &7entities."
warning: "{prefix} &7Warning! All ground entities will be cleared in &c{time} &7seconds."
Admin GUI Messages
The titles and labels for the Admin GUI are also customizable. These are found within each module's inventory_gui.yml file under the title and items keys.
Applying Changes
After editing the messages.yml file, run /clearlagg reload to apply the changes.