Class ConfigMigrations

java.lang.Object
com.enhancedechest.config.ConfigMigrations

public final class ConfigMigrations extends Object
Central registry for all YAML key renames across plugin versions.

When a config or language key is renamed, add a new YamlMigrator.Rename entry here. On startup the migrator reads the user's old key value, writes it under the new key name, and removes the old key — all automatically.

Example: if "database.type" is renamed to "storage.backend" in 1.2.0, add:

   new YamlMigrator.Rename("database.type", "storage.backend")
 
Order matters only when renames chain (A→B then B→C). List entries in the order they happened.