ItemStacker | Efficient Item Stacking
作者:lHawk_

关于这个插件
Reduce your server lag by stacking dropped items on the ground!
Paper, Spigot & Folia Support.
文档
ItemStacker
Ultra-Optimized Ground Item Stacking Plugin with Virtual Packet Names and Despawn Timers
Author: lHawk_ | Contact: https://minebuilders.com.br/discord

1. Overview
ItemStacker is an ultra-high performance Minecraft item stacking plugin designed for modern survival, skyblock, and farm-heavy servers. Large mob farms and automatic crop harvesting systems frequently drop hundreds of thousands of loose item entities on the floor, resulting in severe tick lag, entity processing bottlenecks, and memory bloat.
ItemStacker solves this problem by merging nearby ground items into a single representative item entity. Rather than creating heavy server-side armor stand holograms or modifying persistent entity display names, ItemStacker renders stack counts and real-time despawn timers exclusively through client-side packets using PacketEvents. The server tracks large numbers cleanly as hidden 64-bit integers while preserving vanilla item mechanics, hoppers, and player inventory distribution.
2. Key Features
- Pure Packet-Based Displays: Stack labels and amounts are rendered entirely via client metadata packets. Zero physical holograms, zero invisible armor stands, and zero server-side custom name corruption.
- Despawn Countdown Timer: Real-time display of the remaining time until a pile despawns using the
{time}or{timer}placeholder (similar to RoseStacker). - Fork-Native Despawn Detection: Automatically reads and respects the item despawn rate defined in your server's fork configuration (such as
spigot.ymlor Paper world configurations), rather than forcing a rigid hardcoded timer. - MiniMessage & HEX Color Support: Full support for rich Adventure MiniMessage formatting (
<gradient:#00d2ff:#3a7bd5>,<#00ffc8>,<green>) and legacy HEX codes (�d2ff). Rich colors automatically downsample cleanly on legacy client versions. - Toggleable Displayname Timer: Controlled directly in
config.ymlviadespawn_timer_activewith customizable formatting (e.g.{mm}:{ss}or{m}m {s}s). - Extreme Scalability: Supports pile quantities up to millions of items per stack without entity overflow or client crashes.
- Smart Item Merging: Only merges items that share identical attributes (Material, durability, custom display names, lore, enchantments, and persistent data tags). Custom RPG items and enchanted gear are never accidentally merged with vanilla items.
- Intelligent Inventory Filling: Picking up a pile tops up existing partial stacks in the player's inventory first, then fills open slots up to capacity, leaving any remainder safely on the floor.
- Optimized Hopper Transfers: Hoppers collect items with rate-limited transfer ticks, preventing hopper lag storms across dense mob grinders.
- Native Folia & Paper Compatibility: Built from the ground up to respect Folia threaded regions, entity schedulers, and asynchronous packet events.
3. Platform Compatibility
| Platform | Supported Versions | Status |
|---|---|---|
| Paper | 1.16.5 to 26.2+ | Fully Compatible |
| Spigot | 1.16.5 to 26.2+ | Fully Compatible |
| Purpur | 1.16.5 to 26.2+ | Fully Compatible |
| Folia | 1.19.4 to 26.2+ | Fully Compatible (Thread-Safe Region Schedulers) |
| Legacy Spigot | 1.8.8 to 1.15.2 | Supported (Java 8 bytecode, legacy color downsampling) |
4. Requirements & Dependencies
| Requirement | Details | Status |
|---|---|---|
| Java Runtime | Java 8, 11, 17, 21, or 25+ | Universal Java 8 bytecode |
| PacketEvents | Bundled and relocated internally | No external installation required |
| ViaVersion / ProtocolLib | Optional soft-dependencies | Supported seamlessly if present |
5. Installation Guide
- Download the latest
ItemStacker-1.1.0.jar. - Place the jar file into your server's
plugins/directory. - Start or restart your Minecraft server to generate default configurations.
- Customize your desired stacking distance, format, and timer settings in
plugins/ItemStacker/config.yml. - Type
/itemstacker reloadin console or in-game to apply configuration changes instantly.
6. Commands & Permissions
| Command | Permission | Description |
|---|---|---|
/itemstacker help | itemstacker.adm | Shows the list of available commands and instructions. |
/itemstacker reload | itemstacker.adm | Reloads config.yml, message formats, and world despawn rates. |
/itemstacker stats | itemstacker.adm | Displays real-time performance metrics, active groups, hidden items, and execution averages. |
7. Configuration Reference (config.yml)
Below is an excerpt of the core options available in config.yml:
Config:
# Prefix shown in console messages.
tag: "&6[ItemStacker]"
# Name format. Supports MiniMessage (<gradient:#00d2ff:#3a7bd5>, <#00ffc8>),
# HEX colors (�d2ff), and legacy color codes (&b).
# Placeholders: {displayname}, {amount}, {short}, {time}, {timer}, {despawn}
displayname_format: "&b{displayname} &a{amount}x"
# Display remaining despawn time above stacked items.
despawn_timer_active: false
# Despawn time format: {mm} (minutes), {ss} (seconds), {total_seconds}.
despawn_time_format: "{mm}:{ss}"
# Suffix appended when despawn_timer_active is true and {time} is omitted.
despawn_timer_suffix: " &7({time})"
# Visibility controls
displayname_active: true
displayname_always: true
displayname_min_amount: 2
view_range: 32
visual_interval: 5
# Merge behavior
stack_distance: 8
delayCheckItems: 3000
merge_on_spawn: true
stack_size: 100000
playsound: true8. Frequently Asked Questions (FAQ)
How does ItemStacker prevent entity lag?
Traditional servers create a separate entity for every dropped item stack (e.g. 64 items per entity). When thousands of items drop, entity ticking exhausts CPU cycles. ItemStacker bundles the items into a single physical entity holding up to a safe vanilla stack count, keeping the remaining quantity stored efficiently in memory and persistent data containers. Pile display names are delivered as client-side packet updates, preventing entity overhead.
How does the despawn timer detect server despawn times?
ItemStacker dynamically inspects your server fork's world settings (such as item-despawn-rate in spigot.yml or Paper's world configuration). It tracks the item's age (ticksLived) and calculates the exact remaining time until the server will remove the item, ensuring the countdown matches your server's gameplay rules.
Can I use MiniMessage and HEX gradients?
Yes. MiniMessage is the recommended formatting system for ItemStacker. You can use gradients like <gradient:#00d2ff:#3a7bd5>{displayname}</gradient> <green>{amount}x</green> <gray>[<yellow>{time}</yellow>]</gray>. On modern Minecraft versions (1.16+), players will see full 24-bit RGB gradients, while older clients will receive cleanly downsampled colors.
Is Folia supported?
Yes. All chunk operations, entity pickups, and merging tasks utilize Folia's region scheduler and entity schedulers. Shared state is isolated across thread boundaries to guarantee thread safety without deadlocks.
Need help or support?
Author: lHawk_ | Community Discord: https://minebuilders.com.br/discord
版本历史
- 1.1.0已上线发布于2026年10月14日
Spigot、Paper和Folia · Minecraft 1.8 至 26.3
这个版本没有说明。
- 1.0.0旧版本发布于2026年10月11日
Spigot、Paper和Folia · Minecraft 1.8 至 26.3
这个版本没有说明。
评价
还没有评价。
评价
拥有该插件的人(免费下载或购买出售版)给出 1 到 5 星的评分并分享使用感受。登录后即可评价。
相似插件

MineBuilders 插件1.16–26.3AntiXray | Folia/Spigot/Paper 1.16-26.3
Advanced packet-level Anti-Xray: hides ores, structures and entities behind walls with adaptive motion-cached…
平台: SpigotPaperFolia
作者:lHawk_免费
101 次下载334 次浏览

MineBuilders 插件1.8–26.3TreeCollapse | Tree Felling [1.8-26.3]
Chop down entire trees with a single swing! TreeCollapse brings smooth, realistic tree-felling anima
平台: SpigotPaper
作者:lHawk_免费
32 次下载132 次浏览

MineBuilders 插件1.16–26.3CraftPanel Web, Minecraft Server Manager
Manage your Minecraft server through a web panel with real-time console, plugin management, configuration editor…
平台: SpigotPaperPurpurFolia
作者:lHawk_平均评分 5.0(满分 5),2 条评价
免费
16 次下载73 次浏览

MineBuilders 插件1.8+PacketScreen | In-Game Image & Gifs
Display images, GIFs, and videos on in-game screens. Compatible with Spigot, Paper, and Folia (1.8–26.3).
平台: SpigotPaperFolia
作者:lHawk_免费
11 次下载50 次浏览
