Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Tags
Creators
Details
Licensed ARR
Published 6 days ago
š LuckBlocksPlus - Advanced Lucky Block Plugin
A lightweight, performance-optimized Lucky Block plugin for Minecraft servers running Paper 1.21+
⨠Key Features
šÆ Core Systems
- Weighted Reward Pool - Fully configurable, weighted-random rewards per Lucky Block break
- 14 Action Types - Chain multiple actions per reward, executed in order
- Safe Block Detection - PersistentDataContainer-tagged blocks; ordinary blocks never trigger
- Persistent Tracking - Lucky Block locations survive restarts with O(1) lookups
- Mining Spawn - Lucky Blocks can appear naturally as players mine in selected worlds
- Holograms - Floating text shows everyone what a player just won
š§ Admin Tools
- In-Game GUI Editor - Create, edit, and delete rewards without touching configs
- Action Editor - Add, edit, reorder, and remove actions per reward
- Set Preview From Cursor - Click with an item to set a reward's preview icon
- Mining Spawn GUI - Toggle and tune natural spawns entirely in-game
- Live Reload - Update configs without restarting
ā” Performance Optimized
- Async Save System - Non-blocking saves prevent TPS drops
- O(1) HashSet Lookups - Instant Lucky Block verification
- Zero World Scans - Locations are cached, never scanned
- Cached Settings - Hot paths read from memory, not disk
- Graceful Shutdown - Synchronous final save guarantees no data loss
š Flexible Rewards
- Multiple Reward Types: Items, console/player commands, money (Vault compatible)
- Per-Reward Control: Weight, permission, cooldown, enabled state, preview item
- Effects & Spectacle: Titles, sounds, fireworks, explosions, mobs, potions, teleports
- Custom Hook: Fire a
CUSTOM_EVENTfor other plugins to listen to
šØ Action Variety
ā Give Item ā Console Command ā Player Command
ā Message ā Title ā Sound
ā Explosion ā Spawn Mob ā Potion Effect
ā Firework ā Random Teleport ā Give Money
ā Custom Event ā Hologram
š¦ Installation
- Download the latest
.jarfile - Place in your server's
pluginsfolder - Restart your server
- Configure
config.yml,rewards.yml, andlang/*.yml - Reload with
/lb reload
š® Commands
Player Commands
/lbor/luckyblocks- Show plugin help- Break a Lucky Block to roll a reward
Admin Commands
/lb give <player> [amount]- Give Lucky Block items/lb editor- Open the GUI editor/lb list- List all rewards/lb reload- Reload all configs/lb debug- Toggle debug + show tracked block count
š Permissions
luckyblocks.use- Break Lucky Blocks for rewards (default: true)luckyblocks.admin- All admin features (default: op)luckyblocks.give- Give Lucky Block items (default: op)luckyblocks.editor- Open the GUI editor (default: op)luckyblocks.reload- Reload configs (default: op)luckyblocks.debug- Debug command (default: op)
āļø Configuration
Clean, documented config files:
config.yml- Block material, holograms, mining spawn, economy, languagerewards.yml- Reward definitions, weights, and action listslang/en_US.yml,lang/id_ID.yml- Fully localized text (MiniMessage)
Example Mining Spawn Setup:
mining-spawn:
enabled: true
worlds: [world]
chance: 0.01
trigger-blocks: [STONE, DEEPSLATE]
min-y: -64
max-y: 320
š¤ Compatibility
- Minecraft Version: 1.21+ (Paper)
- Java Version: 21+
- Optional Dependencies:
- Vault (economy / money rewards)
š Performance Stats
- ā Scales to thousands of Lucky Blocks with O(1) lookups
- ā Async, non-blocking saves ā zero TPS impact
- ā No world scanning at any point
- ā Non-persistent holograms ā no ghost entities after restarts
- ā Cached settings keep the break hot-path lightweight
š Support & Feedback
Found a bug or have a suggestion? Please report issues with:
- Server version (e.g., Paper 1.21)
- Plugin version
- Steps to reproduce
- Console errors (if any)
Made with ā¤ļø by ResistanceCore If you enjoy this plugin, please leave a ā¤ļø love and share with other server owners!


