
XGamemode
You're not switching modes, you're switching dimensions.
1.9K
4
Список изменений
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
BatchResultinner class replaced with local variables for cleaner code structure
Changed
- Optimized
processOfflinePlayersDatamethod to process keys in batches instead of all at once - Simplified
handleBatchPlayersmethod by removing unnecessaryBatchResultwrapper 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
BatchResultinner class (functionality replaced with local variables) - Hardcoded thread pool size value (now using
THREAD_POOL_SIZEconstant)
Файлы
XGamemode-4.4-rls.jar(14.93 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
4.4-rls
Загрузчики
BukkitFoliaPaperPurpurSpigot
Версии игры
1.8–1.21.11
Загрузок
38
Дата публикации
3 нед. назад
