Skip to content

YoTPA v1.6.0

Latest

Choose a tag to compare

@PhyschicWinter9 PhyschicWinter9 released this 12 Apr 14:44
8dc6834

YoTPA Plugin Release v1.6.0

Changelog v1.6.0

What's New

/back Command

  • /back — teleports you to your previous location after a TPA or death
  • Single-use — the location is consumed on use; available again after your next TPA or death
  • Death location tracking — death spot is saved automatically so you can run /back after respawning to collect your items
  • Configurable cooldownback-cooldown in config.yml (default: 30s, set 0 to disable)
  • OPs bypass the cooldown via yotpa.bypass.back-cooldown

Daily Update Notifications

  • Plugin now re-checks for new releases every 24 hours while the server is running
  • If a new version is found, all online OPs/admins receive an in-game notification once
  • Completely silent if nothing changed — no spam, no repeated alerts
  • Startup and on-join notifications work exactly as before

Folia Support

  • Full Folia regionized-server compatibility — auto-detected at startup, no config needed
  • All scheduler calls use the correct Folia API (entity scheduler, global region scheduler, async scheduler)

Thread-Safety Fixes

  • Post-teleport callbacks (sendMessage, playSound) now dispatched on the player's region thread on Folia
  • TeleportData stores destinationUUID: UUID instead of a live Player reference — eliminates zombie references and cross-region access on Folia

Memory Leak Fixes

  • TPA requests for disconnected players cleaned up immediately on quit
  • bStats and update checker daily tasks properly cancelled on plugin disable
  • Cooldowns and name cache cleared immediately on player disconnect

Bug Fixes

  • performTeleport no longer sends a false success message if another plugin cancels the teleport event
  • bStats titles_enabled chart now reads the correct config key (features.titles)
  • Removed always-false dead code branch in Paper batch countdown task

Performance

  • PerformanceSettings cached and reused across hot paths — no per-tick object allocation
  • Single batch task drives all Paper countdowns — O(1) scheduler overhead at any player count
  • Sound objects resolved once at config load — zero registry lookups at runtime

Commands & Permissions

Command Permission Default
/back yotpa.back Everyone
/back cooldown bypass yotpa.bypass.back-cooldown OP

Configuration Added

# config.yml
back-cooldown: 30  # seconds (0 to disable)

Server Compatibility

  • Fully tested: Paper 1.21.x – 26.1.x, Folia 1.21.x , Purpur 1.21.x
  • Should work: Pufferfish, and any Paper/Folia fork
  • Requires: Java 21+ (1.21.x) / Java 25+ (26.1.x)

Breaking Changes

None. Drop-in replacement for v1.5.0.

Migration from v1.5.0

  1. Stop your server
  2. Replace YoTPA-1.5.0.jar with YoTPA-1.6.0.jar
  3. Start your server — config.yml and messages.yml are fully preserved

Feedback & Ideas

Found a bug or have a feature request? Open an issue on GitHub:
https://github.com/PhyschicWinter9/YoTPA/issues

Installation

Download the JAR and place it in your server's plugins/ directory.