Skip to content

Tags: ColdTearsYY/TownyFlight-foliaAgain

Tags

1.14.1-hotfix-5

Toggle 1.14.1-hotfix-5's commit message
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

1.14.1-hotfix-4

Toggle 1.14.1-hotfix-4's commit message
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

1.14.1-hotfix-3

Toggle 1.14.1-hotfix-3's commit message
version: bump to 1.14.1-hotfix-3 - Fix: Remove flight when teleportin…

…g to non-Towny worlds like Nether

v1.14.1-hotfix-2

Toggle v1.14.1-hotfix-2's commit message
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

v1.14.1-hotfix-1

Toggle v1.14.1-hotfix-1's commit message
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

v1.14.1-folia-support

Toggle v1.14.1-folia-support's commit message
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