This release adds **Minecraft 26.2 support** and improves configuration safety, Fabric gameplay permissions, door interactions, and the update checker on both platforms.
## ✨ New Features & Changes
- ✅ **Minecraft 26.2 Support** - Updated both the Fabric/Quilt mod and Paper/Purpur/Folia plugin for Minecraft 26.2.
- ✅ **Safer Fabric Configuration** - Invalid configuration files are left untouched, and failed reloads preserve the previous settings. Valid configurations retain their comments and extra keys.
- ✅ **Safe Legacy Configuration Migration** - Legacy `.properties` files are converted without deleting the original. Previously renamed properties files are backed up before recovery.
- ✅ **Fabric Gameplay Permissions** - Double doors, knocking, iron doors, and iron trapdoors now respect permission grants and denials, including explicit denials for operators.
- ✅ **Reliable Double Door Interactions** - Fabric double doors synchronize only after successful block use, respecting canceled interactions and sneaking item use. Double-door auto-close also respects the permission decision made when opening the door.
- ✅ **Knocking Behavior Fixes** - Fabric knocking is restricted to survival and adventure mode, and the configured knocking sound category is now loaded correctly.
- ✅ **Folia Update Checker Fix** - Fixed the startup and recurring update-checker scheduler failures reported in [issue #8](https://github.com/Semarina/DoorsReloaded/issues/8). Player notifications now use the player's entity scheduler.
- ✅ **More Reliable Update Checks** - Both platforms select the highest compatible stable Modrinth release for the running Minecraft version and platform. Disabled checks make no requests, and reloads and shutdown clean up polling.
## 📦 Downloads
| Platform | File | Minecraft Version |
|----------|------|-------------------|
| Paper/Purpur/Folia | `DoorsReloaded-2.4.0-Paper.jar` | 26.2 |
| Fabric/Quilt | `DoorsReloaded-2.4.0-Fabric.jar` | 26.2 |
## 🔧 Technical Changes
- Updated Fabric Loom to `1.17.21` and Gradle to `9.6.0`.
- Updated Fabric Loader to `0.19.3` and Fabric API to `0.154.0+26.2`.
- Updated the Paper API target to `26.2.build.48-alpha`.
- Bundled Fabric Permissions API `0.7.0` for Minecraft 26.2.
- Added safe YAML parsing and atomic configuration writes on Fabric.
- Replaced predictive Fabric door handling with hooks around actual block use.
- Added shared update-checking logic with structured JSON parsing and a private daemon worker.
- Register the Paper update notification listener once and apply checker settings on reload.
- Added reproducible release builds, artifact verification, and SHA-256 checksums.
- Passed 18 Fabric unit tests, 13 Paper unit tests, and 9 Fabric server GameTests. Live Folia/Purpur/Quilt gameplay and client visuals have not been verified.
## 📋 Compatibility Summary
- ✅ Paper 26.2
- ✅ Purpur 26.2
- ✅ Folia 26.2 (region-threading aware)
- ✅ Fabric 26.2
- ✅ Quilt 26.2
- ✅ Java 25 required
- ❌ Spigot / CraftBukkit (not supported)
## 📝 Migration
**From v2.3.0 on Paper/Purpur/Folia:**
1. Back up your server and update it to Minecraft 26.2 using Java 25.
2. Remove `DoorsReloaded-2.3.0-Paper.jar` from `plugins/`.
3. Add `DoorsReloaded-2.4.0-Paper.jar`.
4. Restart the server.
**From v2.3.0 on Fabric/Quilt:**
1. Back up your world and update to Minecraft 26.2 using Java 25.
2. Install [Fabric Loader](https://fabricmc.net/) `0.19.3` or newer and [Fabric API](https://modrinth.com/mod/fabric-api) for Minecraft 26.2.
3. Replace `DoorsReloaded-2.3.0-Fabric.jar` with `DoorsReloaded-2.4.0-Fabric.jar` in `mods/`.
4. Launch the game or restart the server. Legacy Fabric configuration files migrate automatically.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }