Custom-Enchantment-Support & Database Upgrade
Custom-Enchantment-Support & Datenbank-Upgrade
--------------------------------------------------
Fixed
Database Truncation Error (Critical Fix)
Datenbank-Truncation-Fehler (Critical Fix)
- EN: Fixes "Data too long for column" errors with large inventories
- DE: Behebt "Data too long for column"-Fehler bei großen Inventaren
- EN: Automatic upgrade from
to
for:
- inventory
- enderchest
- armor
- offhand
- DE: Automatisches Upgrade von
zu
- EN: Supports inventories with many custom enchantments (e.g. ExcellentEnchants)
- DE: Unterstützt Inventare mit vielen Custom-Enchantments (z.B. ExcellentEnchants)
- EN: Upgrade is performed automatically on server start
- DE: Upgrade wird automatisch beim Server-Start durchgeführt
- EN: Runtime upgrade attempt on truncation errors
- DE: Runtime-Upgrade-Versuch bei Truncation-Fehlern
- EN: Improved error messages with solution suggestions
- DE: Verbesserte Fehlermeldungen mit Lösungsvorschlägen
--------------------------------------------------
Custom-Enchantment Deserialization
Custom-Enchantment-Deserialisierung
- EN: Robust error handling for custom enchantments
- DE: Robuste Fehlerbehandlung für Custom-Enchantments
- EN: Improved detection of custom enchantment errors (e.g. minecraft:venom)
- DE: Verbesserte Erkennung von Custom-Enchantment-Fehlern
- EN: Items are skipped instead of causing plugin crashes
- DE: Items werden übersprungen statt Plugin-Abstürze zu verursachen
- EN: Data remains preserved in the database
- DE: Daten bleiben in der Datenbank erhalten
- EN: Detailed logging with enchantment names
- DE: Detailliertes Logging mit Enchantment-Namen
--------------------------------------------------
Stale Player Data
Veraltete Spielerdaten
- EN: Fixes issue with outdated player data
- DE: Behebt Probleme mit nicht aktualisierten Spielerdaten
- EN: Database upgrade enables successful saves
- DE: Datenbank-Upgrade ermöglicht erfolgreiche Speicherungen
- EN: Automatic recovery after database upgrade
- DE: Automatische Wiederherstellung nach Datenbank-Upgrade
--------------------------------------------------
Added
Custom-Enchantment Synchronization
Custom-Enchantment-Synchronisation
- EN: Full support for custom enchantments
- DE: Vollständige Unterstützung für Custom-Enchantments
- EN: Preservation of all NBT data including custom enchantments
- DE: Erhaltung aller NBT-Daten inklusive Custom-Enchantments
- EN: Refresh mechanism after loading inventories (2-tick delay)
- DE: Refresh-Mechanismus nach dem Laden von Inventaren (2-Tick-Delay)
- EN: Works for inventory, armor, offhand and enderchest
- DE: Funktioniert für Inventar, Rüstung, Offhand und Enderchest
--------------------------------------------------
Deserialization Statistics & Monitoring
Deserialisierungs-Statistiken & Monitoring
- Counters for custom enchantment errors
- Version compatibility errors
- Other deserialization errors
-
shows statistics
-
Code (Text):
/sync cache clear
resets statistics
--------------------------------------------------
Changed
Database Schema
Datenbank-Schema
-
: TEXT → LONGTEXT
-
: TEXT → LONGTEXT
-
: TEXT → LONGTEXT
-
: TEXT → LONGTEXT
- Automatic upgrade on server start
- No data migration required
--------------------------------------------------
EditorIntegration Removed
EditorIntegration entfernt
- EditorIntegrationManager removed
- All editor-related commands removed
- Preparation for future website/editor update
--------------------------------------------------
Commands
Code (Text):
/sync cache
/sync cache clear
--------------------------------------------------
Important Notes
- Database upgrade runs automatically on first start
- Ensure enchantment plugins are installed on all servers
- Enchantment plugins should load before PlayerDataSync
- EditorIntegration will return in a future version