Module Configuration

Module Configuration

Each module has its own config file under plugins/ClearLaggEnhanced/module/<module-name>/config.yml:

Module Path
Entity Clearing module/entity-clearing/config.yml
Mob Limiter module/mob-limiter/config.yml
Spawner Limiter module/spawner-limiter/config.yml
Misc Entity Limiter module/misc-entity-limiter/config.yml
Chunk Finder module/chunk-finder/config.yml
Performance Monitor module/performance/config.yml
Packet Limiter module/packet-limiter/config.yml
AFK Optimization module/afk/config.yml

Enabling/disabling a module is not done in these files — that's controlled entirely by the modules: block in the root config.yml (see Main Configuration). Any enabled key you see inside a module's own config.yml is a legacy leftover kept on disk for compatibility and is ignored at runtime.

Editing

Two ways to change a module's settings:

  1. Hand-edit the module's config.yml, then /lagg reload (CLE.reload).
  2. In-game, via /lagg admin → left-click the module icon → edit values through the module's own GUI panel (click an item, type the new value in chat when prompted). See Admin GUI.

Adding new keys after an update

Updating the plugin can introduce new config keys for a module. On next load, the built-in migrator adds any missing keys (with their default values and comments) to your existing file without touching what you've already set, and saves a timestamped backup first — see Installation → Updating.