Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for DevVoxel

PlayerDataSync

Report PlayerDataSync?

BETA
1.2.5

DerGamer09 released PlayerDataSync version 1.2.5 on December 30, 2025

[1.2.5-SNAPSHOT] - 2025-12-29

Fixed

  • Issue #45 - XP Sync Not Working: Fixed experience synchronization not working
    • Improved applyExperience() method with proper reset before setting experience
    • Added verification to ensure experience is set correctly
    • Added fallback mechanism using giveExp() if setTotalExperience() doesn't work
    • Better error handling with detailed logging and stack traces
    • Now works reliably across all Minecraft versions (1.8-1.21.11)

Improved

  • Code Quality: Fixed deprecated method usage and improved compatibility
    • Replaced deprecated URL(String) constructor with URI.toURL() for better Java 20+ compatibility
    • Replaced deprecated PotionEffectType.getName() with getKey().getKey() for better compatibility
    • Improved PotionEffectType.getByName() usage with NamespacedKey fallback
    • Replaced deprecated getMaxHealth() with Attribute system where available
    • Improved getOfflinePlayer(String) usage with better error handling
    • Added @SuppressWarnings annotations for necessary deprecated method usage
    • Cleaned up unused imports and improved code organization

Information

Published onDecember 30, 2025
Downloads0

Platforms

Paper Paper (1.8-1.21.11)