
Red Pockets
A Minecraft server plugin for sending "red packets" (random and regular money splits), compatible with Paper/Folia 1.21+.
122
1
Список изменений
RedPockets Changelog
v1.2.4-Beta
/hongbao help command
- HongbaoMainCommand: Added
helpsubcommand, displays available commands based on player permissions - HongbaoTabCompleter: Added Tab completion for
help - Message files: Added help messages (
help-header,help-send,help-claim,help-history,help-rank,help-rain,help-update,help-reload) in all 10 languages - plugin.yml: Added
helpto usage
RedPacket thread safety
- claims: Changed from
HashMaptoConcurrentHashMap - clickClaimed: Changed from
HashSettoConcurrentHashMap.newKeySet() - Safer red packet claiming and click-claim operations under Folia multithreading
Expired red packet memory cleanup
- RedPacketManager: Added
getAndRemoveExpired()to fetch and remove all expired red packets - RedPockets: Added scheduled task that runs every 5 minutes to clean up expired red packets
- Refunds remaining amount to sender
- Broadcasts expiry notification
- Removes red packets from memory
- onDisable: Cancels the scheduled task when plugin is disabled
Файлы
RedPockets-v1.2.4-Beta.jar(127.22 KiB)
ОсновнойМетаданные
Канал релиза
Beta
Номер версии
v1.2.4-Beta
Загрузчики
FoliaPaperPurpur
Версии игры
1.21–1.21.11
Загрузок
1
Дата публикации
1 мес. назад
