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 29, 2012@haveric
so anyone who should be able to stack items should have stackableitems.stack and a .yml file named after their group.
Right?
-
View User Profile
-
Send Message
Posted Aug 29, 2012@Techtony96
Sorry, I meant to say Permission Group name. So add the permission node "stackableitems.stack" to a permission group and then create a file called groupName.yml
So you would likely have:
In this case, you could use ranked.yml to affect anyone in the ranked group and admin.yml to affect anyone in the admin group.
-
View User Profile
-
Send Message
Posted Aug 29, 2012@haveric
So i would create a file called stack.mushroomsoup.yml
and the permission would be stack.mushroomsoup?
-
View User Profile
-
Send Message
Posted Aug 29, 2012@Iomega0318
I thought I had that one fixed, but I'm going to try something new for the next release. How often are you getting these errors?
-
View User Profile
-
Send Message
Posted Aug 29, 2012@Techtony96
Create a permissionNodeName.yml file in the StackableItems plugin directory and add Mushroom_Soup: #
For example, if you have permission node admin, you would create admin.yml. If you want admins to be able to stack 100 mushroom soups, you would add Mushroom_Soup: 100
-
View User Profile
-
Send Message
Posted Aug 29, 2012How would i let people with a permission node stack mushroom soup?
-
View User Profile
-
Send Message
Posted Aug 28, 2012@haveric
Ok awesome I see how that works, thank you! I can add what ever other tools I need in.
Haha I didn't even realize your the one who did the Rail Switcher too, I'm just loving all your plugins :)
-
View User Profile
-
Send Message
Posted Aug 28, 2012@Iomega0318
If you have a groups.yml file setup for that, then yes. You can grab one that should work from the downloads section on github.
You should be able to add any that aren't there if it is outdated.
Otherwise, you can do them individually if you'd like.
-
View User Profile
-
Send Message
Posted Aug 28, 2012How can you do tools, do they have to be done one by one or can you just use "TOOLS"..? Same question with "FOOD"..
Also just got this error:
-
View User Profile
-
Send Message
Posted Aug 27, 2012@jac4son
Should just be Rotten_Flesh
Look here for others if you need to: http://jd.bukkit.org/apidocs/org/bukkit/Material.html I'll add that up above as well.
-
View User Profile
-
Send Message
Posted Aug 27, 2012What do I type for Rotten flesh as i have tried every thing and it just doesn't work
-
View User Profile
-
Send Message
Posted Aug 21, 2012[SEVERE] Could not pass event CraftItemEvent to StackableItems org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1094) at net.minecraft.server.Packet102WindowClick.handle(SourceFile:28) at net.minecraft.server.NetworkManager.b(NetworkManager.java:234) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at org.bukkit.craftbukkit.CraftServer.getRecipesFor(CraftServer.java:865) at haveric.stackableItems.InventoryUtil.getCraftingAmount(InventoryUtil.java:189) at haveric.stackableItems.SIPlayerListener.craftItem(SIPlayerListener.java:148) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ... 11 more
-
View User Profile
-
Send Message
Posted Aug 20, 2012@SsizzL
I have never tried to run it on a tekkit server. I have no idea if it will work at all. Can you provide a full log of the error so that I have a better idea of what is going on?
-
View User Profile
-
Send Message
Posted Aug 20, 2012Hi I am trying to use this plugin on my tekkit server to run certain items through an automatic crafting table.. it's not working. :( I keep getting the message: [SEVERE] Could not pass event Inventory Click to StackableItems
-
View User Profile
-
Send Message
Posted Aug 20, 2012@slimpyman
Unfortunately, RecipeManager is currently incompatible with StackableItems due to the way it handles recipes.
I'll either be creating a similar plugin to handle recipes that plays nice with other plugins or be working with the creator to make his compatible in the near future.
-
View User Profile
-
Send Message
Posted Aug 20, 2012@haveric
RB 2322 1.3.1 and only thing i use is recipe manager to make custom recipes. Its not affecting the emerald or emerald blocks...
I am using latest release of stackableitems.
max items is -1 and i put id 133 and 388 as a different then default stack value.
-
View User Profile
-
Send Message
Posted Aug 20, 2012@slimpyman
Are you running the latest version (0.8.6)? What version of CraftBukkit are you running? Are there any other plugins installed that affect inventory in any way?
-
View User Profile
-
Send Message
Posted Aug 20, 2012i threw this in and imediately my players starting duping stuff like crazy, and all i did was put a stack restriction on emerald and emerald blocks... any suggestions?
-
View User Profile
-
Send Message
Posted Aug 19, 2012@antidust
I think I see what the problem is now. Written books are not meant to be stacked as they have extra data. They would end up falling into the Virtual Items category if they were to stack properly with different books. In this case though, only books that are exactly the same should stack. I've added it to the issue tracker on github so I'll look into it when I get some more time.
-
View User Profile
-
Send Message
Posted Aug 19, 2012@Tealk123
I just tested this and I'm not able to replicate it. What version of StackableItems are you using? (type /stackableitems in game). What version of CraftBukkit? Are you using any other plugins/mods that deal with inventory or crafting in any way?