
Red Pockets
A Minecraft server plugin for sending "red packets" (random and regular money splits), compatible with Paper/Folia 1.21+.
128
1
Список изменений
RedPockets Changelog
v1.2.2-Alpha
Performance
- Async file I/O: HistoryManager, RankManager, and DailyLimitManager now save asynchronously to avoid blocking the main thread
- History retention: New
history-retention-daysconfig option (default 7) to automatically delete history older than the specified days; 0 disables deletion
Shutdown data safety
- onDisable sync save: Sync-save history, rankings, and daily limit data when the plugin is disabled to prevent data loss
- Cancel scheduled tasks: Properly cancel the red packet rain scheduled task on disable
User experience
- Tab completion:
/hongbaocommand supports Tab completion for subcommands (history, rank, rain, update, reload, claim, clickclaim) - OP update notification on join: OPs with
redpockets.reloadpermission receive an update notification when joining if a new version is available; can be disabled viaupdate-notify-on-joinconfig
Code structure
- Command refactor: Split
/hongbaomain command logic intoHongbaoMainCommandwith separate methods per subcommand - Config caching: New
ConfigCachemanager to cache frequently used config values (amount/count limits, cancel word, expiry, cooldown, daily limit, VIP permissions, etc.), reducing repeated config reads; refreshes automatically on reload
Config updates
history-retention-days: Number of days to retain history (0 = no deletion)update-notify-on-join: Whether to notify OPs of updates on join (default true)
Файлы
RedPockets-v1.2.2-Alpha.jar(108.83 KiB)
ОсновнойМетаданные
Канал релиза
Alpha
Номер версии
v1.2.2-Alpha
Загрузчики
FoliaPaperPurpur
Версии игры
1.21–1.21.11
Загрузок
2
Дата публикации
1 мес. назад
