本文へ移動
無料MineBuilders プラグイン1.8–26.3

ItemStacker | Efficient Item Stacking

作:lHawk_

購入・ダウンロード・保存

無料

プラグインを無料でダウンロードして、自分のサーバーで使えます。

ログインしてダウンロード

あなたのサーバーで使えます。ファイルの転売、再配布、自分の作品としての公開はできません(規約)。

お気に入りに保存

ダウンロード 32 回 · 閲覧 124 回

ItemStacker | Efficient Item Stacking

プラグインについて

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


YouTube の動画です。見るためにクリックしたときだけ読み込まれます。


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.yml or 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 (&#00d2ff). Rich colors automatically downsample cleanly on legacy client versions.
  • Toggleable Displayname Timer: Controlled directly in config.yml via despawn_timer_active with 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

PlatformSupported VersionsStatus
Paper1.16.5 to 26.2+Fully Compatible
Spigot1.16.5 to 26.2+Fully Compatible
Purpur1.16.5 to 26.2+Fully Compatible
Folia1.19.4 to 26.2+Fully Compatible (Thread-Safe Region Schedulers)
Legacy Spigot1.8.8 to 1.15.2Supported (Java 8 bytecode, legacy color downsampling)

4. Requirements & Dependencies

RequirementDetailsStatus
Java RuntimeJava 8, 11, 17, 21, or 25+Universal Java 8 bytecode
PacketEventsBundled and relocated internallyNo external installation required
ViaVersion / ProtocolLibOptional soft-dependenciesSupported seamlessly if present

5. Installation Guide

  1. Download the latest ItemStacker-1.1.0.jar.
  2. Place the jar file into your server's plugins/ directory.
  3. Start or restart your Minecraft server to generate default configurations.
  4. Customize your desired stacking distance, format, and timer settings in plugins/ItemStacker/config.yml.
  5. Type /itemstacker reload in console or in-game to apply configuration changes instantly.

6. Commands & Permissions

CommandPermissionDescription
/itemstacker helpitemstacker.admShows the list of available commands and instructions.
/itemstacker reloaditemstacker.admReloads config.yml, message formats, and world despawn rates.
/itemstacker statsitemstacker.admDisplays 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 (&#00d2ff), 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: true

8. 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.1.0公開中2026年10月14日に公開

    Spigot、PaperとFolia · Minecraft 1.8〜26.3

    このバージョンにはメモがありません。

  2. 1.0.0以前2026年10月11日に公開

    Spigot、PaperとFolia · Minecraft 1.8〜26.3

    このバージョンにはメモがありません。

レビュー

まだレビューはありません。

評価する

プラグインを持っている人(無料でダウンロードした人、販売中に購入した人)が 1〜5 の星で評価し、感想を書きます。ログインしてレビューしましょう。

似たプラグイン

MineBuilders を支援する

好きな金額を PIX またはカードで寄付できます。支援は任意で、何かを購入するものではなく、7 日以内なら取り消せます。 仕組み