HomeJavaModsItem_Stacker
Item_Stacker
Item_Stacker

This plugin allows you to stack all items of the same type like the one in your hand into one stack.

Fifth birthday is near!
Time for a revival?
[Read more]

It automatically combines only identical items, so you can even stack things like books or other items containing custom NBT Tags.
It merges all items together into complete stacks. The stack size and many other things can be defined in the config.yml:

Functions:
Commands:
Code (Text):
/stackitems -> Merge all items like the one in your hand together
Permissions:
Code (Text):
itemstacker.use -> needed to use any function of this plugin

itemstacker.stack.<Material>
  -> when "per-item-perms" in config.yml is true, these permissions are needed for each item a player should be able to merge.
  All Materials can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  Missing material permissions will be displayed in the default deny-message, so you could look up the material name there, too.
Configuration:
Code (YAML):
# Do you want to use this command only for specific items?
# If this is true, players will need the itemstacker.stack.<ITEM> permission.
# e.g. itemstacker.stack.COBBLESTONE
# All item names can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
per-item-perms
: true

# Default stack size for every item
# ! DO NOT SET SIZE HIGHER THAN 127 !
# Maximum possible stack size of Minecraft vanilla clients is 127
# Value 0 -> will stack each item on its normal vanilla-default value
stack-size
: 0

# Different stack size for specific items
# Stack sizes in here will override default stack-size defined above
# e.g. 'EGG': '32'
# You need to use Item names, like they are defined here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
# An empty map would look like this: special-sizes: {}
special-sizes
:
  'WATER_BUCKET'
: '16'
  'LAVA_BUCKET'
: '16'

# Define the ingame messages.
messages
:
  'no-perm'
: '&7 [&eStacker&7 ]&2 You are not permitted to use this command.'
  'no-itemperm'
: '&7 [&eStacker&7 ]&2 You need &a&o<PERM>&2 to stack this item.'
  'no-player'
: '&7 [&eStacker&7 ]&2 Only players can use this command.'
  'no-item'
: '&7 [&eStacker&7 ]&2 You need to hold the item you want to stack in your hand.'
  'stacked'
: '&7 [&eStacker&7 ]&2 All &a&o<TYPE>&2 items has been combined.'
Need additional Features or got some interesting ideas?
Leave a reply and i'll add this or other functions if requested.

Special thanks to @DfieldJr who game me the idea of this plugin ( here).

Replys, ratings and suggestions welcome.

[​IMG]
Spoiler: Be aware with higher than default stack sizes
You can use this plugin to bypass default stack size limits.
But the plugin does not affect how minecraft (spigot) treats these stacks!
Few examples:
  • if you stack lava / water buckets, spigot will empty all buckets of the stack
  • if you stack any kind of tools (pickaxes, shovels,...) spigot will damage all tools of each stack together
This is how minecraft handles stacks exeeding the default maximum amount and it's not controlled by this plugin.

Maybe I'll start correcting these minecraft "malfunctions" of too high stack sizes in the future, but to find, modify and correct all of them will be a never-ending story.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Item_Stacker is a free Minecraft Java mod. Downloaded 5,277 times (via Spigot). Download it and open it directly in the game.

Explore more