StackableItems
StackableItems
StackableItems allows you to raise or lower the default stack amounts for any item. Items can also be disabled (disallows pickup and crafting). Items can be set in three different ways: individual players, permission groups (requires Vault), and universally.
Example use cases:
- Carrying 16 snowballs while carrying 64 cubic meters of dirt is ridiculous.
- Carry a stack of water buckets or mushroom soup with you so you never run out
- Make potions stack
- Limit stacks of food for a hardcore survival server
- Allow only privileged users to craft/pickup TNT
- Allow individual players to craft custom items
Download: BukkitDev
Source Code: Github
Example configurations
- Items are capped to 127 max to prevent item loss.
- Configurations use Bukkit Material names.
More info on the Configurations page.
Custom configs per group/player
Each Permissions group or player can be setup to use their own custom config by creating a new file in the StackableItems directory. Examples for me would be: I am in group admin and player haveric, so I could use admin.yml or haveric.yml
A group file will override defaultItems for the Permission group.
A player file will override a group file or defaultItems for the given player.
Permissions
- - stackableitems.admin
- Allows a player to use in-game commands to set stack amounts and reload the config.
- Permissions can also be used to create groups which can be handled with group.yml (ex: admin.yml) files
Options
See the options page for detailed descriptions of each option in options.yml
Changelog
See the full changelog on github.
Problem or Bug?
If you are having any issues or encounter any bugs, check the issue tracker on github first, and submit a new one if needed. If you're not sure if you've found a bug or just want to ask for help, jump on the Discord server below to ask around.
If you find my plugins useful and want to help support future development and faster updates, please consider donating and fueling my need for coffee:
While it worked great at first, I've noticed that a stack of 64 enderpearls will occasionally delete itself when you pick up the stack to move it. Any ideas on how to fix this?
64 buckets of lava, 64 snowballs, 127 torches in one hand? Well it just makes sense doesn't it? This is one of the most practical plugins you will find. It is, of coarse, impractical to assume any backpack or other 3rd part container plugin will be coded to work with bigger stacks so no worries when they don't but of coarse chests will let anything stack to 64 so that works out really well. Overall one of the best plugins you can add to your server. It quickly brings compliments from newly joined players. Impressing newbies is one of the most important aspects of a server to gain popularity and this plugin offers those results. 10 of 10 in my book. Many thanks to the author!
Looks like items for extend texture purpose will mix around in creative mode in 1.12. I've applied some textures for diamond sword with different durability in unbreakable state, so they can act as anything else; but these items will mixed into the clicked item under creative mode, while things working normally in survivor mode with same version & same item. Really wired...
BTW, is there some way to forcely stack specific item? Some plugins will give player items in uncontrolled ways (like BossShop) that leaves my special diamond swords alone in player's inventory.
U can't transfer stacked amor into your player vault cause when u do it will auto unstack plz fix this issue
Please update to 1.10.2
Is there a way to make stacking work with hoppers?
Is there anyway to have the requirements for stacking for things other than item and data? I am wanting to have it only stack certain items with the {Unbreakable:1b} tag. Is this possible??
Lmao, making custom rpgserver or adventure map now are we ;3
i know how you feel im looking for the same thing except im looking for 1.10.2
In reply to WIZARD_OF_WILLY:
buckets are able to be duped with spamming https://www.youtube.com/watch?v=zKVng0Fakr4
@BornToCode
Groups can be applied together. Take a look at the advanced configuration.
I have just started using this plugin and like it very much so far.
We have about a dozen different groups (ranks). However, they inherit from each other, one group inheriting from another and adding a few more permissions. Is there a way to use permissions instead of groups in the configuration? That way we would only need to add a permission to a single group and all other groups that inherit from it would inherit the stacking. With our current understanding of this plugin we would have to duplicate our configuration, once for each group that we want to have the stacking behavior.
@MehBoss
Try using the following to disable stacking in specific inventories:
@Skarsni4
You should just need the following:
@FatherWh0
Let me look into some solutions for forums. I've been meaning to work on a more official location for my plugins by creating a website and setting up a forums will probably give me the motivation to get that going again.
@Skarsni4 et al
I'd like to be audacious enough to offer my items.yml file for others to use as a base. It is a bit tailored to my server in the following ways. Shift clicking into a container that does not support the inventory stack will cause a loss of items. We use chestshop (dying?) which supports stacks to 64 and player vaults which doesn't support super stacking so valuables such as diamond blocks and ores have been left out. Most other items have been stacked to 64. Valueless items such as cobble and dirt stack to 127. Enchantable items have been left out since the vanilla code will always want to apply 1 sharp V book to a stack of 64 diamond swords. Potions are also removed for the same reason involving the brewing stand. However, I was unable to get splash potions to be exploited so those are included in my file. Nothing better than carrying 64 splash harming into battle.
http://pastebin.com/5gLf0PyR
Request to the dev: Would you consider adding a forum with a community section or perhaps give me permission to start an unofficial StackableItems thread in mcforums?
Sorry before hand. i cant get it to work with 1.10. could someone send how an item file with just the mushroomstew stack changed to 64 should look like. Thanks a lot for any help.
There is a big bug, you need to add a brewing stand feature stacking option in the config. I have potions set to 32 and when I shift click the 32 stack of potions into my brewing stand and make a strength or other potions a stack of 32 in the brewing stand can all be made at the same time with just ONE material to make it.
@unclemark
Are you stacking books or a tool? What is your items.yml set to?
@PhanaticD
This is a known issue for over 4 years now and there is no workaround that I have found yet.
@Latamier
It should work just fine for 1.10, but if you encounter any issues, please report them.
So how does this do with 1.10 ? Any one try it yet ?
i have potion stack size set to 16, but if your inventory is full it does not pick them up
Plugin stacks enchanted items.... a fortune 5, u3 will stack with a u3 to make 2 x u3 losing the fortune... when separating the stack yu get two U3's !!