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 Aug 17, 2012@Tealk123
That's strange, I'm not sure why it would be doing that, but I'll take a look this weekend and see if I can figure it out.
-
View User Profile
-
Send Message
Posted Aug 17, 2012i have set up my server with this plugin and if i craft 1 goldblocks i get with 1 shift klick 1 stack goldblocks
my settings:
ALL ITEMS MAX: -1
54: 1
61: 1
91: 1
260: 10
281: 6
282: 1
297: 6
319: 6
320: 6
322: 1
349: 10
350: 10
357: 10
360: 9
363: 6
364: 6
365: 6
366: 6
373: 3
382: 1
-
View User Profile
-
Send Message
Posted Aug 17, 2012@antidust
So you are saying that it works when setting both 387 and 386 but not with one of them, or that it doesn't work with both of them?
-
View User Profile
-
Send Message
Posted Aug 17, 2012Book and Quill Bug..... One book empty + One book Full text
2 book then Seperate
2 BOOKS HAVE FULL TEXT DAQFUQ!!!
i need to change config
-
View User Profile
-
Send Message
Posted Aug 16, 2012@Master__Jonny
If you want it to apply to everyone, add them to defaultItems.yml. Otherwise, see the "Custom configs per group/player" above. If you want cake to stack to 64, simply add "cake: 64" without the quotes to defaultItems.yml
You can then either reload the server or go in game and type "/stackableitems reload" if you are an op or have the correct permissions.
For a bit more info and a list of names you can use, take a look at the sample groups file here: https://github.com/haveric/StackableItems/blob/master/versions/latest/groups.yml
Note that you can use ids or Bukkit Material names or a group name from groups.yml
I'll be working on some better examples and trying to integrate some more documentation into the config files in the near future.
Let me know if you have any more questions,
Haveric
-
View User Profile
-
Send Message
Posted Aug 16, 2012@haveric
Could you be more specific about this configuration file? I have no idea of what to write in it...
I wanted to make cakes stackable up to 64 (like sugar)... You could give us a sample of the config for specific items and where to write it (there are many different files).
-
View User Profile
-
Send Message
Posted Aug 14, 2012@haveric
It makes perfect sense. Thank you very much!
-
View User Profile
-
Send Message
Posted Aug 14, 2012@Flubausterus
Creative was causing some issues in the past so I disabled it there. With the new creative inventory, it could cause problems as well, but I'll see what I can do.
-
View User Profile
-
Send Message
Posted Aug 14, 2012this plugin does not seem to work when in creative mode, other then that great plugin! thanks for making it so much.
-
View User Profile
-
Send Message
Posted Aug 14, 2012@xclucky
I did not have one, but I do now: http://dev.bukkit.org/server-mods/stackableitems/pages/options/
Let me know if anything is not clear enough.
-
View User Profile
-
Send Message
Posted Aug 13, 2012What does all this mean? Could you please explain your configuration somewhere or link me to one if it already exists? Thank you.
-
View User Profile
-
Send Message
Posted Aug 13, 2012@haveric
Thanks for checking, I'll look into it tomorrow when I readd the plugin.
My best guess atm is the server was lagging.
-
View User Profile
-
Send Message
Posted Aug 12, 2012@BobbySoSlo
I just did some testing and I am unable to reproduce that issue. Eggs still drop like normal from chickens. StackableItems does not affect mob drops in any way. I can only assume that it is another plugin causing the problem or you didn't wait long enough for the eggs to start dropping.
Let me know if you are still having issues and I'll see what I can do, but I don't think it's related to my plugin.
-
View User Profile
-
Send Message
Posted Aug 12, 2012@haveric
Sorry for saying there was a bug but not coming back to explain better (I was testing a lot of stuff)
I stopped the server, added StackableItems only, restarted it, eggs stopped dropping. When I took it off, they started again, and putting it back stopped them.
Not a very comprehensive test I know, but it was enough that I moved on when my players said they didn't need it that badly so it became a to-do-later (although I think it's an amazing idea to fix some of the silly stacking mechanics)
My only other plug in I'm using that could be related is OtherDrops.
My actual guess was that the chicken farm was suffering from lag (lots of entities) and this plug in took up enough power to lag the egg laying process?
Anyways that's what I got, I'm sure I'll be tempted to try adding this mod back again soon so I'll investigate further.
-
View User Profile
-
Send Message
Posted Aug 11, 2012@diannetea
Thanks, I'll look into that tomorrow. I'm not quite sure how trading is handled currently with bukkit (or if it is at all), but I'll see what I can do.
-
View User Profile
-
Send Message
Posted Aug 11, 2012Just so you know, there's a pretty bad item duplication bug when holding shift and trading with villagers in 1.3.1
-
View User Profile
-
Send Message
Posted Aug 11, 2012@Ceryn_
That is good to hear.
@polo3400
There will be an update coming this weekend. There are still a couple things left to fix though and some testing that needs to be done before I will release it.
-
View User Profile
-
Send Message
Posted Aug 11, 2012Please update.
-
View User Profile
-
Send Message
Posted Aug 11, 2012@haveric
Awesome, that works perfectly :) Thank you!
-
View User Profile
-
Send Message
Posted Aug 10, 2012@Ceryn_
What I think is going on is that because you only have '369 1' set, my plugin is ignoring the normal rods and using vanilla stacking. I don't have anything set up to test this at the moment but what should work is adding '369' or '369 0' along with '369 1'. If you want the normal stack amounts, you should just be able to set either of those to 64. So something like this: 369: 64 369 1: 1
That should then use my custom stacking and avoid stacking with each other. Let me know whether that works or not.
I'll be looking into OpenInv tomorrow to make sure it is working properly alongside StackableItems. Vault should be optional, yes. It's always possible that I broke that at some point so I'll look into it as well.
Thanks, haveric