Tags: ColdTearsYY/TownyFlight-foliaAgain
Tags
Release 1.14.1-hotfix-5: Fix infinite flight exploit with Elytra and … …high latency - Lowered teleport detection threshold to 5 blocks to catch high-speed movement - Added check for TownyFlight management before removing flight to avoid conflicts with other plugins - Prevented auto-flight enabling while gliding
Release 1.14.1-hotfix-4: Fix infinite flight exploit on Folia - Implemented polling-based teleport detection in FlightValidationTask - Optimized memory usage by cleaning up offline player data - Removed ineffective PlayerTeleportDetectListener - Ensured thread safety for Folia
Hotfix Release v1.14.1-hotfix-2 Bug Fixes & Improvements: - Add PersistentDataContainer check for TownyFlight-managed flights - Prevent processing of externally-managed flight states - Improve compatibility with other flight plugins - Add NamespacedKey-based flight management tracking Changes: - Modified PlayerLeaveTownListener.java with managed flight verification Built with: Java 21 JAR: TownyFlight-1.14.1-hotfix-2.jar
Hotfix Release v1.14.1-hotfix-1 Bug Fixes & Improvements: - Enhanced TownyFlightAPI validation checks - Optimized FlightValidationTask performance - Fixed edge cases in flight permission validation - Improved listener coordination Changes: - Modified TownyFlightAPI.java with additional validation logic - Optimized FlightValidationTask.java for better performance Built with: Java 21 JAR: TownyFlight-1.14.1-hotfix-1.jar
Release v1.14.1 with Folia support Features: - Add Folia scheduler support alongside Bukkit scheduler - Implement FlightValidationTask for periodic flight state validation - Add listener coordination tracking to prevent race conditions - Add memory leak prevention for offline players - Mark plugin as Folia-compatible Changes: - Modified TownyFlight.java to enable FlightValidationTask - Enhanced TownyFlightAPI.java with playersHandledByListener tracking - Updated all event listeners to coordinate with task scheduling - Created new FlightValidationTask.java for background validation - Updated plugin.yml with folia-supported flag