Enabling Block Stacking
Block stacking is controlled by both global and per-player settings:Global Setting
Configure inconfig.yml:
false to completely disable the feature server-wide.
Per-Player Toggle
Players can toggle block stacking for themselves:superior.island.toggle.blockspermission- Global stacked blocks must be enabled
When block stacking is toggled on, placing blocks of the same type on existing blocks will stack them instead of replacing.
How Block Stacking Works
Whitelisted Blocks
Only specific blocks can be stacked, configured inconfig.yml:
- Prevents accidental stacking of unwanted blocks
- Controls which blocks can be optimized
- Maintains server balance
Players need the
superior.island.stacker.* permission to stack blocks, or specific permissions like superior.island.stacker.DIAMOND_BLOCK for individual block types.Stack Limits
Limit the maximum stack size for specific blocks:- Additional blocks cannot be added to that stack
- Players must create a new stack elsewhere
- Helps prevent excessive stacking
Hologram Display
Stacked blocks show a hologram above them with:- Current stack amount
- Block type name
- Formatted numbers for readability
Custom Hologram Name
Configure the hologram format:{0}- Stack amount (raw number){1}- Block type name (capitalized){2}- Stack amount (formatted with commas)
&ex1000 Diamond Block
Auto-Collect Feature
When breaking stacked blocks, items can go directly to inventory:- Blocks don’t drop on the ground
- Faster collection
- Reduced item entities = less lag
- Works with full inventories (excess drops normally)
Deposit Menu
Quickly deposit blocks into a stack:The deposit menu is especially useful for quickly adding large quantities from your inventory to an existing stack.
Disabled Worlds
Prevent block stacking in specific worlds:- Event worlds where stacking shouldn’t work
- PvP arenas
- Special game modes
Performance Benefits
Block stacking significantly reduces server load: Without Stacking:- 1000 diamond blocks = 1000 block entities to track
- Increases chunk save/load times
- More data to serialize
- 1000 diamond blocks = 1 stacked block entity
- Faster chunk operations
- Reduced memory usage
- Less network traffic
Integration with Island Values
Stacked blocks are properly counted for:- Island worth calculation: Each block in the stack counts toward total worth
- Island level: Stack amounts are included in level calculations
- Block counts:
/island countsshows accurate numbers including stacks - Block limits: Each stacked block counts toward island block limits
When island values are recalculated, stacked blocks are automatically detected and counted correctly.
Breaking Stacked Blocks
When you break a stacked block:- One block is removed from the stack
- Stack count decreases by 1
- Hologram updates to show new amount
- If stack reaches 0, the hologram is removed
- Block drop follows normal drop rules (unless auto-collect is enabled)
Admin Commands
There are no specific admin commands for block stacking, but admins can:- Modify
config.ymlto change stacking settings - Grant or revoke
superior.island.stacker.*permissions - Configure whitelisted blocks and limits
- Disable stacking in specific worlds
Use Cases
Storage Systems- Stack valuable blocks in compact storage
- Reduce chest clutter
- Visual indicator of quantities
- Stack crops for compact harvesting
- Reduce entity count from drops
- Easier inventory management
- Store construction materials as stacks
- Quick access to large quantities
- Save space in build areas
- Create visually impressive currency displays
- Stack valuable blocks in shops
- Show stock quantities with holograms
Best Practices
Whitelist carefully
Only whitelist blocks that benefit from stacking. Avoid blocks with states or NBT data.
Troubleshooting
Blocks won’t stack:- Check if block type is whitelisted
- Verify player has
superior.island.stacker.*permission - Ensure block stacking is toggled on with
/island toggle blocks - Confirm stack hasn’t reached its limit
- Check that the stack has more than 1 block
- Verify hologram service is running
- Ensure the block is a valid stacked block
- Limit maximum stack sizes
- Reduce whitelisted blocks
- Enable auto-collect to reduce item entities