ServerEvents.tick(event => {
  const overworld = event.server.overworld();
  const data = overworld.persistentData;

  if (!data.getBoolean("twilight_progression_disabled")) {
    event.server.runCommandSilent("gamerule tfEnforcedProgression false");
    data.putBoolean("twilight_progression_disabled", true);
    console.log("✅ Twilight Forest progression disabled via KubeJS.");
  }
});
