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

XGamemode

You're not switching modes, you're switching dimensions.

1.9K
4
Все версииOptimizations

Optimizations

Release3 нед. назад

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

Added

  • Batch processing for offline player data with configurable BATCH_SIZE (default: 100) to prevent memory overflow when handling large datasets
  • Centralized constant declarations (SAVE_DELAY, MAX_MAPPINGS, BATCH_SIZE, LOCK_TIMEOUT, SHUTDOWN_TIMEOUT) for better maintainability

Fixed

  • Potential performance issue where offline player data was processed without pagination, causing high memory usage
  • Redundant BatchResult inner class replaced with local variables for cleaner code structure

Changed

  • Optimized processOfflinePlayersData method to process keys in batches instead of all at once
  • Simplified handleBatchPlayers method by removing unnecessary BatchResult wrapper class
  • Streamlined code formatting: compressed multi-line conditionals into single lines where appropriate
  • Improved code readability with consistent constant usage across all methods

Removed

  • Redundant BatchResult inner class (functionality replaced with local variables)
  • Hardcoded thread pool size value (now using THREAD_POOL_SIZE constant)

Файлы

XGamemode-4.4-rls.jar(14.93 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

4.4-rls

Загрузчики

Bukkit
Folia
Paper
Purpur
Spigot

Версии игры

1.8–1.21.11

Загрузок

38

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

3 нед. назад

Загрузил

ID версии

Главная