ZurΓΌck zum Plugin
B
Update 1.2.8
PlayerDataSync 1.2.8-BETA
1.2.8 Beta 31.12.2025, 01:29
Release Notes
Markdown wird automatisch gerendert.
[1.2.8-BETA] - 2025-12-29
π Big Update - Major Improvements & API Migration
This release includes significant improvements, API migrations, and enhanced compatibility features.
Changed
- Update Checker: Complete migration to CraftingStudio Pro API
- β Migrated from SpigotMC Legacy API to CraftingStudio Pro API
- β
New API endpoint:
https://craftingstudiopro.de/api/plugins/playerdatasync/latest - β
Uses plugin slug (
playerdatasync) instead of resource ID - β Improved JSON response parsing using Gson library
- β Better error handling for HTTP status codes (429 Rate Limit, etc.)
- β Enhanced update information with download URLs from API response
- π API Documentation: https://www.craftingstudiopro.de/docs/api
- Plugin API Version: Updated to 1.13 for better modern API support
- Minimum required Minecraft version: 1.13
- Still supports versions 1.8-1.21.11 with automatic compatibility handling
- Improved NamespacedKey support and modern Material API usage
Fixed
- Version Compatibility: Fixed critical GRAY_STAINED_GLASS_PANE compatibility issue
- β Prevents fatal error on Minecraft 1.8-1.12 servers
- β Automatic version detection and Material selection
- β
Uses
STAINED_GLASS_PANEwith durability value 7 for older versions (1.8-1.12) - β
Uses
GRAY_STAINED_GLASS_PANEfor modern versions (1.13+) - β Filler item in inventory viewer now works correctly across all supported versions
- Inventory Synchronization: Enhanced inventory sync reliability
- β
Added
updateInventory()calls after loading inventory, armor, and offhand - β Improved client synchronization for all inventory types
- β Better inventory size validation (normalized to 36 slots for main inventory)
- β Improved enderchest size validation (normalized to 27 slots)
- β Better armor array normalization (ensures exactly 4 slots)
- β
Added
- ItemStack Validation: Enhanced ItemStack sanitization and validation
- β Improved validation of item amounts (checks against max stack size)
- β Better handling of invalid stack sizes (clamps to max instead of removing)
- β Improved AIR item filtering
- β More robust error handling for corrupted items
- Logging System: Complete logging overhaul
- β
Replaced all
System.err.println()calls with proper Bukkit logger - β
Replaced all
printStackTrace()calls with properlogger.log()calls - β Better log levels (WARNING/SEVERE instead of stderr for compatibility issues)
- β More consistent error messages across the codebase
- β Stack traces now properly logged through plugin logger
- β Improved logging for version compatibility issues
- β
Replaced all
Improved
- Code Quality: Significant improvements to error handling and resource management
- β Comprehensive exception handling with proper stack trace logging
- β Better debug logging throughout inventory operations
- β Improved client synchronization after inventory changes
- β Better resource management and cleanup
- β Enhanced error diagnostics throughout the codebase
- Performance: Optimizations for inventory operations
- β Better item validation prevents unnecessary operations
- β Improved error recovery mechanisms
- β Enhanced memory management
Technical Details
- API Migration: Complete rewrite of UpdateChecker class
- Old: SpigotMC Legacy API (plain text response)
- New: CraftingStudio Pro API (JSON response with Gson parsing)
- Improved error handling for network issues and rate limits
- Compatibility: Maintained support for Minecraft 1.8-1.21.11
- Version-based feature detection and automatic disabling
- Graceful degradation for unsupported features on older versions
- Comprehensive version compatibility checking at startup
Breaking Changes
β οΈ Plugin API Version: Changed from 1.8 to 1.13
- Plugins compiled with this version require at least Minecraft 1.13
- Server administrators using 1.8-1.12 should continue using previous versions
- Automatic legacy conversion may still work, but not guaranteed
Migration Guide
If upgrading from 1.2.6-RELEASE or earlier:
- No configuration changes required
- Update checker will now use CraftingStudio Pro API
- All existing data is compatible
- Recommended to test on a staging server first
Details
Download
Aktionen
Update teilen
Teile dieses Update mit anderen