Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Tags
Creators
Details
Licensed ARR
Published 3 weeks ago
Updated last month
๐ 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!


