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:


-
View User Profile
-
Send Message
Posted Mar 28, 2013@MonthOLDpickle
To get item-stacks bigger than 64, you must pick up items from the ground; you cannot combine stacks directly in your inventory to achieve this.
@haveric
Speaking of which, why isn't this possible? Is it just that vanilla Minecraft or Bukkit doesn't allow for directly combining item stacks to form stacks greater than 64?
-
View User Profile
-
Send Message
Posted Mar 28, 2013I somewhat understand..in defualt Potion: 3 will make potions stack in player inventory...while in chest Potion: 10 means they stack to 10 in chests...question I noticed this doesn't work in ender chests any way to make that work?
Also I can't get nether warts to stack to 100..they stay at 64. I tried Nether_Warts: 100 Netherwarts:100 and with no s either.
-
View User Profile
-
Send Message
Posted Mar 27, 2013@marubal21
I have an idea of what might fix this, but I haven't actually been able to replicate it. What version of CraftBukkit are you running? Does this happen every time you place things in or only occasionally? Does the direction of the furnace change anything? (I doubt it, but you never know) And are you using any other plugins that would be affecting furnaces or maybe even recipes?
If I can't replicate it after getting more info, I'll try my idea even though it really shouldn't be necessary as the smelt event should always return a Furnace.
-
View User Profile
-
Send Message
Posted Mar 27, 2013@marubal21
Thanks, I've added it to github here and I'll take a look when I get a chance.
-
View User Profile
-
Send Message
Posted Mar 27, 2013I'm using v0.9.2 of the plugin i'm not sure sure what causes it, but the following error only tends to happen as i'm placing items in the furnace to cook. http:pastebin.com/VKM9S8bZ
-
View User Profile
-
Send Message
Posted Mar 23, 2013@CommodoreAlpha
That'd be awesome, thanks.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@haveric
In that case, I'll poke around the two plugins a little, and see if I find any bugs. When I do, I'll comment them on that ticket.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@CommodoreAlpha
I actually haven't tested it recently. The last time I did test it, it wasn't compatible at all, but someone mentioned that it was mostly working a while ago. It's probably here in the comments somewhere so I'll add what they said.
-
View User Profile
-
Send Message
Posted Mar 23, 2013I saw the "How to make RecipeManager compatible" ticket on github, and I was wondering if you could make a comment on some (or all) of the ways StackableItems and RecipeManager don't work together (or may not work together), so others and I will know what "issues" to expect when running the two together.
For example, it wasn't until recently (when I used a crafting table for the first time in two months) that I found out crafting was a bit iffy with both plugins installed.
@Zilacon
If you don't like what you're currently getting, consider forking the project to suit your own needs. It's the exact same reason why I decided to make my own server, even without the resources or human capital (AKA knowledge of Java and hardware) to do it; I simply wasn't satisfied with what was currently out there, and was determined enough to start working on my own vision of a server.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@Zilacon
There is an update that has been sitting in the queue for 21 hours now. If you cannot wait for that to be approved, you can get the same file on github under downloads.
I've had dev versions out in the past that have fixed several of the issues you mention, but you don't seem willing to use them anytime I've mentioned them.
Also, how many times have you actually added any of the issues you mentioned on the github tracker? Don't complain about issues if you aren't willing to report them properly or follow up on them.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@harl
Stackable Items has had so many bugs and glitches i have reported since 1.4.5 that its driving me nuts. Haveric here has yet to fix any of these issues since i have mentioned them. Are you going to sit there and tell me he was still "waiting" for a recommended build for 1.4.5 and 1.4.7 to fix all those bugs?
This plugin makes people able to duplicate items, it merges other items into eachother, if you have a stone slab and a sandstone slab and you place 1 down all of the other slabs will merge into the one you placed down, players can put items or any kind of gear into their armor slots, people can duplicate items upon death, they can still duplicate items from the anvil if you spam click it enough times to make the plugin error. When you pickup 2 spawners and there different it merges both spawners and changes their item type making you have 2 of the 1 which has pissed off several of my players. I am losing a player base because of broken plugins that the author refuses to fix like this. PetCreeper was a huge issue for me cause NOTHING WORKED he claimed it was always updated and fixed everything, no mobs would attack anything, when a creeper teleported to you or you just popped on the server it would blow up and kill you, tons of crap like that made me remove it because it was literally killing people.
When you make a plugin you take on the responsibility of keeping it maintained, if someone reports a problem you fix it, if you cant find a new author or a assistant to make the fixes for you.
All im saying is i have told Haveric about these problems MONTHS ago and he always uses excuses to throw them aside.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@ZilaconKeep in mind that Spigot is no less a development build than CraftBukkit is for the most parts. The fact that Spigot is largely based *on* development builds of CB should be the strongest hint here, the main difference in releasing it is that CB doesn't offer development builds as an only option, and also doesn't recommend inexperienced people to use them, while with Spigot people know they basically use dev builds of dev builds anyway, and either it works or it doesn't. In other words: dev builds are prone to be unstable, thus they're not for "the regular user" anyway - running custom builds and mods can be a rocky juggle with unknowns. Some mod developers prefer to wait for all the spindrift to calm down that's involved with major updates - others don't.
CB may have seemed to be two days "late" with offering a 1.5-compatible build - nevertheless, that alone doesn't make Spigot the superior build over CB, nor does it mean the CB team was incapable of programming, nor are either of them getting paid by the majority of people using CB/Spigot - they're probably just different people under different circumstances.
I realize that people generally don't like changes. Still, they did play Minecraft before and they were more or less happy with it - eventually, they will become happy with 1.5 too.
What's more and quite related to the whole "X based on Y" story is, that CB has had 1.5.1-compatible builds available since about the same time as the Spigot fraction, so they obviously aren't unwilling to work on it, otherwise they just wouldn't do it. Those 1.5.1 CB dev builds have been running quite well for me - but if haveric would rather wait for a beta or recommended build to update StackableItems, that's totally his choice.
TL;DR - Have some tranquillity. Be patient. It'll likely work itself out - or it won't - you'll see.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@Zilacon
Spigot is built off of CraftBukkit. This means that anything that is updated in CraftBukkit gets updated in Spigot as well. This allows the Spigot team to focus on other improvements or test things earlier. As far as I know, the API stuff that I was waiting on was not implemented in Spigot until CraftBukkit updated them.
-
View User Profile
-
Send Message
Posted Mar 22, 2013@haveric
I am wondering why it took md_5 1 day to upgrade Spigot to 1.5 and 5 hours to update to 1.5.1 yet it takes bukkit weeks. Shows how bad their development team is, maybe you should switch to building off spigot?
-
View User Profile
-
Send Message
Posted Mar 16, 2013@Zilacon
You do realize that you posted that at the time before I could even have access to a legitimate CraftBukkit version to test against? I can't support unofficial builds and that is what you were using.
I also want to note that I have no problem with Spigot, but the fact that it was using an unofficial build simply means I had no control over what could be fixed and have no way of testing it. I'm not sure why you or @md_5 would have any hate over the fact that it is an issue out of my control. The fact is that the server software (CraftBukkit) is/was broken and not my plugin.
There are several bugs fixed in the dev version including armor slots. Please try that while you wait for an official update.
I am waiting for bukkit to implement Droppers and Hoppers as well as a few other inventory things. There are only a few dev versions out and they are fixing much more vital bugs at this point. When bukkit has something that I can use, I will be fixing them and putting out a new version. I also probably won't release until there is at least a beta build to avoid people using the wrong dev version.
-
View User Profile
-
Send Message
Posted Mar 16, 2013@haveric
Plus you still have not fixed the gear bugs. Players can still place any item type in their armor slots be it swords blocks or food. Please make a fix for this.
Also update it to work in droppers and hoppers.
-
View User Profile
-
Send Message
Posted Mar 16, 2013@haveric
My chat with Spigot Creator lol:
-
View User Profile
-
Send Message
Posted Mar 14, 2013@Zilacon
Well that narrows it down to the InventoryClickEvent which is about 800 lines of code. Could you provide more info please? What version of CraftBukkit (equivalent version since you are using Spigot)? Anything else you can provide me could be useful. Remember, it is better to give me too much information than not enough.The part of the error that you provided is virtually useless in this case as it is in such a huge function. If there is anything after "Caused By", it would help by providing line numbers to the exact cause. Note that everything before "Caused By" is stating it is from minecraft server, spigotmc, and bukkit. You want something afterwards that states "StackableItems", otherwise, I can't help.Edit: Didn't see that it said the StackableItems version.Did you recently add or update any plugins that may have caused a conflict?Please read the comments here: https://bukkit.atlassian.net/browse/BUKKIT-3737
Nothing I can do as Spigot is running an unofficial build of CraftBukkit for 1.5.
-
View User Profile
-
Send Message
Posted Mar 14, 2013@haveric
Being spammed by this error:
Please fix!
-
View User Profile
-
Send Message
Posted Mar 13, 2013@haveric
yeah, i'll throw into my test realm and let you know what happens.