Red Pockets
v1.4.0A Minecraft server plugin for sending "red packets" (random and regular money splits), compatible with Paper/Folia 1.20+.
v1.4.0latestRed Pockets v1.4.0Aug 14, 2026 RedPockets Changelog
v1.4.0-Release
Exclusive red packets
- New type Exclusive: only one currently online player can claim; a single share. - Cannot send to yourself; others who click are denied. - Expiry and refund match other packets (expire-minutes, default 5 minutes; unclaimed amount returns to the sender). - Separate daily send count: default 3 per player per day (exclusive-redpacket.daily-limit,0= unlimited). Skipped byredpockets.bypass.dailylimitor VIPbypass: true. - Separate amount range: default min 52, max 520 (exclusive-redpacket.min-amount/max-amount), independent of globalmin-amount/max-amount. - Broadcast shows the target name; cross-server MySQL active table adds exclusive-target columns with automatic migration. - Exclusive GUI button supports a player-head skin viaskull-owner(default premium nameXin_Yu_Han).GUI
- `gui-style`:new(default, gradient layout) orold(legacy 27-slot). Templates live in the jar undergui-templates/and are written togui/vault.ymlandgui/points.yml. - Changing style then restarting or/hongbao reloadoverwrites those two files; unchanged style keeps admin edits. - New GUI supportsfill(empty-slot fill /mode: border, accent/corner panes) and hex gradient titles/names. - Gold and points menus are separate:/hongbao vault,/hongbao points; bare/hongbaofollowsdefault-gui.Config example
gui-style: new exclusive-redpacket: daily-limit: 3 min-amount: 52 max-amount: 520More options avalible in config.yml
IMPORTANT NOTICE: PLEASE BACKUP BEFORE UPDATING TO THIS VERSION!!!
---v1.3.0Red Pockets v1.3.0Jul 18, 2026 RedPockets Changelog
v1.3.0-Release
Cross-server red packets
- Send on A → visible and claimable on B/C: Shared MySQL for active packets (active/active_amounts/active_claims) with atomic claims; BungeeCord/Velocity plugin-message sync; poll fallback when messages are missed. - Config:cross-server.enabled,server-id,poll-seconds,broadcast-claims; requiresstorage.type: mysqlon the same database for all backends. - Single-server mode (cross-server.enabled: false) unchanged.Fixes
- MySQL writes failing: After the vault/points split, keys likevault#UUID/points|UUIDexceededVARCHAR(36)and failed under strict SQL mode. Columns widened toVARCHAR(64)with automatic startupALTERmigration.Others
- Version 26.2 supported. ---v1.2.9Red Pockets v1.2.9May 27, 2026 RedPockets Changelog
v1.2.9-Release
Features
- 1.20.x Support - 26.1.x Support ---1.2.84Red Pockets 1.2.84May 23, 2026 RedPockets Changelog
v1.2.84-Release
Features
- Fixed custom command not supported in gui. - Allow fully customlized gui. ---1.2.83Red Pockets 1.2.83May 1, 2026 RedPockets Changelog
v1.2.83-Release
Features
- Custom command supported in gui. - Seperated PlayerPoints and Vault gui. ---1.2.82Red Pockets 1.2.82Feb 24, 2026 RedPockets Changelog
v1.2.82-Release
Features
- MySQL support. Use /redpockets convert to convert data between SQLite and MySQL ---1.2.81Red Pockets 1.2.81Feb 16, 2026 RedPockets Changelog
v1.2.81-Release
Fixes
- Fix config not getting new features ---1.2.8Red Pockets 1.2.8Feb 16, 2026 RedPockets Changelog
v1.2.8-Release
Features
- Fixed update link. - Fix incorrect bStats. - Improved plugin performance. - Fixed knowed bugs. ---1.2.7Red Pockets 1.2.7Feb 11, 2026 RedPockets Changelog
v1.2.7-Release
Startup improvements
- Plugin now loads after world load (POSTWORLD), so Vault/economy is ready and currency is detected reliably. - If currency is not found at first, the plugin retries once after ~5 seconds before disabling. - When configured for PlayerPoints but it is not installed, falls back to Vault and logs a warning.Resend red packets on join
- When a player joins, they can be shown current active red packets (not expired, not empty) so they can see and claim after reconnecting. - Config:resend-on-jointo turn this on/off,resend-min-amountto only show packets with total amount ≥ that value (0 = show all). ---1.2.62Red Pockets 1.2.62Feb 6, 2026 RedPockets Changelog
v1.2.62-Release
Custom currency
- Supports Vault economy and PlayerPoints; switch inconfig.ymlviacurrency.type(vaultorplayerpoints). - When using PlayerPoints, amounts are rounded to whole numbers.Send / claim whitelist & blacklist
- You can configure send list (send-list) and claim list (claim-list) inconfig.yml. - Each list supportsmode: none(no restriction),whitelist(only listed players can do the action), orblacklist(listed players cannot). - List entries can be player names or UUIDs.Shutdown refund
- On server shutdown, any unclaimed red packet balance is refunded to the sender so no money is lost. ---1.2.61Red Pockets 1.2.61Feb 4, 2026 RedPockets Changelog
v1.2.61-Release
Features:
- Fixed some bugs. ---1.2.6Red Pockets 1.2.6Feb 3, 2026 RedPockets Changelog
v1.2.6-Release
Features:
- Fix: Fixed some issues. Optimized some codes. ---v1.2.54-BetaRed Pockets v1.2.54-BetaFeb 3, 2026 RedPockets Changelog
v1.2.54-Beta
Password red packet claiming
- Click [Type password to claim]: The password red packet broadcast shows a clickable “Type password to claim”; on click, the plugin sends the correct password to public chat as that player and completes the claim (one click per player per packet). - Type password in chat: Players can also type the correct password in public chat to claim; when typed manually, that chat line is cancelled so the password is not shown. - Password matching: Still usespassword-redpacket.case-sensitiveandpassword-redpacket.allow-spacesinconfig.yml. - Files:RedPockets.java(click-triggered send flag),MessageManager.java(clickable password hint),ChatListener.java(chat match and cancel behaviour),RedPacketCommand.java(clickclaim sends password), and message keysbroadcast-password-hint/claim-password-use-clickin all languages. ---v1.2.53-BetaRed Pockets v1.2.53-BetaFeb 3, 2026 RedPockets Changelog
v1.2.53-Beta
#### Lucky red packet amount boundary (RedPacket.generateLuckAmounts) - Issue: When total amount per share was too small (e.g. total 0.05 for 10 shares),maxcould be less thanmin, causing invalid or negative amounts. - Fix: IftotalAmount < count * 0.01use equal split; in the loop addif (max < min) max = minto prevent invalid amounts. - Files changed:RedPacket.java---v1.2.52-AlphaRed Pockets v1.2.52-AlphaFeb 2, 2026 RedPockets Changelog
v1.2.52-Alpha
Fixes
#### Blessing/Password red packets could not be sent - Issue: Blessing and password red packets could not be sent after entering blessing/password. - Cause:completeInput(player)was called before retrievingamountandcount; after clearing input state,getAmount()andgetCount()returned 0. - Fix: Retrieveamountandcountbefore callingcompleteInput, then executecreateAndSendRedPacket. - Files changed:ChatListener.java---v1.2.51-AlphaRed Pockets v1.2.51-AlphaFeb 2, 2026 RedPockets Changelog
v1.2.51-Alpha
Multi-core support (including Spigot)
- PlatformBridge: New platform abstraction layer; plugin auto-detects server core on startup and loads the corresponding implementation - PaperPlatformImpl: For Paper / Folia / Purpur; uses GlobalRegionScheduler, AsyncScheduler; native Component message support - SpigotPlatformImpl: For Spigot; uses BukkitScheduler; Components are converted to legacy strings for broadcast / sendMessage - PlatformFactory: Selects implementation based on presence ofgetGlobalRegionScheduler- Supported cores: Spigot, Paper, Folia, Purpur, and other mainstream Bukkit-based cores - Console outputs the loaded implementation on startup (PaperPlatformImplorSpigotPlatformImpl) ---v1.2.5Red Pockets v1.2.5Feb 2, 2026 RedPockets Changelog
v1.2.5-Release
Fixes
#### 1. Double refund (ChatListener & RainRedPacketManager) - Issue: TherunDelayedexpiry task and the 5-minutegetAndRemoveExpiredcould both process the same red packet, causing duplicate refunds. - Fix: AddedremoveAndGet(UUID)toRedPacketManager; refund only when the packet is successfully removed atomically; if it returnsnull, the packet was already handled by the periodic task. - Files changed:RedPacketManager.java(newremoveAndGet),ChatListener.java,RainRedPacketManager.java#### 2. RedPacket.claim() race condition - Issue: When multiple threads claimed simultaneously, another thread could insert betweenclaims.size()andamounts.get(index), causing duplicate allocation or index errors. - Fix: Addedsynchronizedto theclaim()method to ensure atomic claiming. - Files changed:RedPacket.java#### 3. RedPacket.tryUseClickClaim() redundant logic - Issue: Race condition betweenclickClaimed.contains()andclickClaimed.add();ConcurrentHashMap.newKeySet().add()returnsfalsewhen the element already exists. - Fix: Simplified toreturn clickClaimed.add(playerId), using the return value ofaddto determine first-time use. - Files changed:RedPacket.java---v1.2.4-BetaRed Pockets v1.2.4-BetaFeb 2, 2026 RedPockets Changelog
v1.2.4-Beta
/hongbao help command
- HongbaoMainCommand: Addedhelpsubcommand, displays available commands based on player permissions - HongbaoTabCompleter: Added Tab completion forhelp- 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: Addedhelpto usageRedPacket thread safety
- claims: Changed fromHashMaptoConcurrentHashMap- clickClaimed: Changed fromHashSettoConcurrentHashMap.newKeySet()- Safer red packet claiming and click-claim operations under Folia multithreadingExpired red packet memory cleanup
- RedPacketManager: AddedgetAndRemoveExpired()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 ---v1.2.3-BetaRed Pockets v1.2.3-BetaFeb 2, 2026 RedPockets Changelog
v1.2.3-Beta
Multi-language support
- Added 8 new languages: Japanese (ja_JP), Korean (ko_KR), Traditional Chinese (zh_TW), German (de_DE), French (fr_FR), Spanish (es_ES), Brazilian Portuguese (pt_BR), Russian (ru_RU) - Now supports 10 languages total: zh_CN, zh_TW, en_US, ja_JP, ko_KR, de_DE, fr_FR, es_ES, pt_BR, ru_RUConfig updates
-language: Supports zh_CN, zh_TW, en_US, ja_JP, ko_KR, de_DE, fr_FR, es_ES, pt_BR, ru_RUFixes
- Added missingclaim-password-promptandclaim-password-wrongmessage keys in en_US ---v1.2.2-AlphaRed Pockets v1.2.2-AlphaFeb 2, 2026 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: Newhistory-retention-daysconfig option (default 7) to automatically delete history older than the specified days; 0 disables deletionShutdown 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 disableUser experience
- Tab completion:/hongbaocommand supports Tab completion for subcommands (history, rank, rain, update, reload, claim, clickclaim) - OP update notification on join: OPs withredpockets.reloadpermission receive an update notification when joining if a new version is available; can be disabled viaupdate-notify-on-joinconfigCode structure
- Command refactor: Split/hongbaomain command logic intoHongbaoMainCommandwith separate methods per subcommand - Config caching: NewConfigCachemanager 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 reloadConfig 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)v1.2.1-AlphaRed Pockets v1.2.1-AlphaFeb 2, 2026 RedPockets Changelog
v1.2.1-Alpha
Features:
Added a update notice.v1.2.0-AlphaRed Pockets v1.2.0-AlphaFeb 2, 2026 RedPockets Changelog
v1.2.0-Alpha
New Features
#### Blessing Red Packet - Added blessing red packet option in GUI - Prompts for blessing message after entering count (empty uses default "Congratulations on getting rich") - Custom blessing limited to 6 characters #### Password Red Packet - Added password red packet option in GUI - Sender sets claim password after entering count - Click [Click to Claim] on broadcast message to claim (one click per player) - Configurable in config:password-redpacket.case-sensitive,allow-spaces#### Red Packet Rain - Added/hongbao raincommand to start red packet rain (requiresredpockets.rainpermission) - OP input flow: amount → count → spawn count (optional) → duration (optional) - Scheduled auto rain: configureschedule-times,schedule-amount,schedule-count,schedule-duration-secondsin config - Fund source configurable:SERVERorPLAYER(UUID or player name) #### History - Added/hongbao history [page]command to view history (requiresredpockets.historypermission) - Data saved indata/history.yml, paginated (10 entries per page) #### Rankings - Added/hongbao rankcommand to view rankings - Shows top 10 for best luck, total sent, total received - Data saved indata/best.yml#### Sounds & Particles - Play sound when sending red packet (defaultENTITY_PLAYER_LEVELUP) - Play sound and show particles when claiming (defaultHAPPY_VILLAGER) - Can be toggled and customized in config #### Cooldown & Daily Limit - Added cooldown (cooldown-seconds, 0 to disable) - Added daily send limit (daily-limit, 0 to disable) - VIP permissionredpockets.vipbypasses both; more permissions configurable in configConfig Updates
-sound.send/sound.claim: Sound types -particle.type: Particle type -history-path: History file path -best-path: Rankings data file path -password-redpacket.case-sensitive/allow-spaces: Password red packet rules -rain.*: Red packet rain settings -bstats-enabled: BStats anonymous stats toggle (bottom of config)Commands & Permissions
| Command | Permission | Description | |---------|------------|-------------| |/hongbao|redpockets.send| Open red packet GUI | |/hongbao history [page]|redpockets.history| View history | |/hongbao rank|redpockets.rank| View rankings | |/hongbao rain|redpockets.rain| Start red packet rain | |/hongbao claim <id>|redpockets.claim| Claim red packet | |/hongbao clickclaim <id>|redpockets.claim| Password red packet claim | |/hongbao reload|redpockets.reload| Reload config |Dependencies & Integration
- PlaceholderAPI (soft depend): Placeholders%redpockets_send_1%,%redpockets_receive_1%,%redpockets_best_1%, etc. - BStats: Anonymous usage stats, can be disabled in configFixes
- Fixedplugin.getConfig()reference in red packet rain command - Avoid load error when PlaceholderAPI is not installed - BStats supports shaded class name loadingv1.0.1Red Pockets v1.0.1Feb 2, 2026 RedPockets Changelog
v1.0.1-Release
New Features:
In addition to using /hongbao, you can now use /redpockets. PLEASE NOTE THAT THIS IS THE LAST VERSION OF v1.0 SERIES. NEW VERSIONS WILL BE COMMING SOON!v1.0Red Pockets v1.0Jan 31, 2026 Hello world!
Similar projects
Plugin →Simple Voice Chat
A working voice chat in Minecraft!
76.8MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Plasmo Voice
A proximity voice chat mod with audio positioning and lots of features
4.1MSueta
Customizable Player Models
Customize your minecraft avatar!
3.2MSueta
PatPat [Mod & Plugin]
Allows you to pat ANY loved and unloved living mobs in Minecraft!
2.8MSueta
SkinsRestorer
🎨 Ability to restore/change skins on servers! (Offline and Online Mode)
1.6MSueta