▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/XTransfer
XTransfer

XTransfer

A tool that help you transfer players' data between names or UUIDs.

29
2
Все версииAnother optimization!

Another optimization!

Beta1 мес. назад

Список изменений

Added

  • Folia server support with global region scheduler
  • Async file copy operations with buffered streams
  • User cache loading from usercache.json
  • Name-to-UUID mapping system for offline player lookup
  • Backup file creation with configurable suffix
  • Disk space checking before file operations (50MB reserve)
  • File copy retry mechanism (3 retries with 1 second delay)
  • Atomic file operations using temporary files
  • Memory leak prevention with automatic lock cleanup system
  • Periodic cache cleanup task (runs every hour)
  • Player quit event listener to remove unused locks
  • Last access time tracking for lock management
  • Version detection fallback for unknown server versions
  • Multi-language support with message placeholders
  • Stats and advancements transfer with version detection
  • List command for player data with pagination
  • Tab completion with online and offline player support
  • Player kick option for online target players

Changed

  • Migrated to CompletableFuture for reliable async operations
  • Optimized concurrent map operations with atomic replacements
  • Improved UUID parsing with better error handling and formatting
  • Enhanced scheduler with automatic Folia/Bukkit detection
  • Simplified logging system while keeping debug functionality
  • Better resource cleanup in onDisable() with timeout handling
  • Streamlined configuration loading with auto-fix
  • More efficient name-to-UUID mapping updates
  • Optimized file copy with proper buffer sizing (8KB)
  • Improved lock acquisition with timeout and deadlock prevention

Fixed

  • Potential memory leak from unclosed player locks
  • Thread safety issues in cache loading (added synchronization)
  • Disk space exhaustion crashes during file transfer
  • Server version detection crashes with unusual formats
  • Concurrent modification issues in map operations
  • File copy failures due to cross-filesystem moves
  • Backup file corruption from incomplete writes
  • Tab completion NPE with null permissions
  • UUID format inconsistencies in user input
  • Player kick timing issues with async operations
  • Configuration loading errors with missing keys
  • Resource leaks in file streams (try-with-resources)
  • Shutdown hangs from unfinished tasks

Removed

  • Redundant constant classes (merged into simple constants)
  • Excessive logging methods (consolidated into core ones)
  • Overly detailed debug outputs (kept essential only)
  • Unnecessary map clearing operations
  • Duplicate code blocks in transfer handling
  • Deprecated Bukkit API usages
  • Legacy version color formatting (simplified version display)
  • Redundant permission checks in tab completion

Nah, this is a big work, honestly. Not gonna give up of it.

Файлы

XTransfer-1.2-beta.jar(17.68 KiB)
Основной
Скачать

Метаданные

Канал релиза

Beta

Номер версии

1.2-beta

Загрузчики

Bukkit
Folia
Paper
Purpur
Spigot

Версии игры

1.8–1.21.11

Загрузок

2

Дата публикации

1 мес. назад

Загрузил

ID версии

Главная