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 Jan 26, 2013Good work! You are a great devlopper
-
View User Profile
-
Send Message
Posted Jan 26, 2013@CommodoreAlpha
I might have considered it a part of another issue. Feel free to add any on github if they are still happening in the latest version.
-
View User Profile
-
Send Message
Posted Jan 26, 2013Uhh, sorry for pestering you, but I don't see the bPermissions issue on the github issue tracker. Am I missing/overlooking something?
-
View User Profile
-
Send Message
Posted Jan 26, 2013To everyone who has reported a bug in the last couple months, please download the latest version, 0.9.1 and test it to see if any of them are still happening. Also, please check out the github issue tracker as I've added most of them there and either left comments on some or closed them after they were hopefully fixed. Please leave a comment on any issues there, whether they were fixed or whether you are still having issues with them.
I know I've been absent lately with updates, but this one should fix a majority of bugs that people are having. I'm still expecting there to be plugins that don't work together, but I'm hoping some of the bug fixes reduces that number of broken plugins.
-
View User Profile
-
Send Message
Posted Jan 26, 2013@y1985
This is one of those bugs that I have known about for a while, but there is nothing I can do currently about it as bukkit doesn't have any event for consuming food or milk. I added a ticket on github though since I didn't have one on there for it yet: https://github.com/haveric/StackableItems/issues/61
There are several issues on bukkit's bug reporter about this, but this one: https://bukkit.atlassian.net/browse/BUKKIT-280 appears to be the main one at this point. The best I can say is to go vote it up some more so it gets more attention.
-
View User Profile
-
Send Message
Posted Jan 26, 2013Found a bug When set bucket of milk to stackable (e.g. stack of 8) after drink the milk bucket will lost 1. Except the last one.
-
View User Profile
-
Send Message
Posted Jan 25, 2013nice plugin!! With default value and easy to add new stackable thing is awesome. Permission also great thing to have. Keep on good work :D
-
View User Profile
-
Send Message
Posted Jan 23, 2013@haveric
yes its definitely happening to crafting benches too.
-
View User Profile
-
Send Message
Posted Jan 22, 2013@Devidra
I'll take a look and see if I can replicate this.
@MrMightyGnome
I've only been able to replicate this in furnaces and with those, I believe I've found a fix for it. Are you sure this is happening in crafting tables as well?
-
View User Profile
-
Send Message
Posted Jan 22, 2013So, I found another bug but I dont know if anybody already mentioned this before but, if you click on the empty OUTPUT box in a crafting table/furnace/etc, it says a message which shouldnt show. I dont remember what it said but its really easy to do so go check it out yourself if you can. Just go to a crafting table or a furnace and just click on the right box with nothing on it and it will say the message, which gets annoying.
EDIT: Nevermind, what you NEED to do is put a random recipe that doesnt exist and click on the output box and it says "That item has been disabled", which makes no sense and is very annoying.
-
View User Profile
-
Send Message
Posted Jan 21, 2013I play now with a Clean Jar, and with the Plugins
Magic Torches
World Guard
World Edit
Super Wheat
Stackableitems
And they dont do anything with my Inventory, and I only stack Items if I pick them up from the Ground and I set the same Configs like in the defaultItems.yml in the chestitem.yml
PS: No Errors in the Log, only Server Cant Keep Up, cause I use worldedit with big changes
-
View User Profile
-
Send Message
Posted Jan 21, 2013@Devidra
Well, first of all, are you getting any errors on the console while using this plugin? Second, chests have separate stacking in chestItems.yml.
And the items stacking only when you throw them on the ground sounds like another plugin (or mod) conflicting with inventory. Are you using any other plugins that affect inventory in any way?
-
View User Profile
-
Send Message
Posted Jan 21, 2013Ok, but the other Problems are not from the Client Side Mod :)
If you need more Informations tell me pls
-
View User Profile
-
Send Message
Posted Jan 21, 2013@Devidra
Inventory Tweaks is a client side mod which means it will sort by its own rules and I have no control over that currently.
-
View User Profile
-
Send Message
Posted Jan 21, 2013Bukkit 1.4.7 R01
The Items only stack if you trow them on the Ground and pick up
The Items in the Chest dont stack correctly, sometimes it does not 100 or the Value I choose, it make 16 eggs 44 eggs 24 eggs etc
There is also a Bug with Inventory Tweaks ( Mod for Inventory sort ) you can sort it with R or Middle Mouse, but you got the Item in the Hand hope you understand cause im German :)
-
View User Profile
-
Send Message
Posted Jan 20, 2013Yes, here is the error:
Error occurred while enabling StackableItems v0.9.0.1 (Is it up to date?) java.lang.NoSuchMethodError: de.bananaco.bpermissions.api.World.getAll
(Lde/bananaco/bpermissions/api/util/CalculableType;)Ljava/util/Set; at net.milkbowl.vault.permission.plugins.Permission_bPermissions2.getGroups
(Permission_bPermissions2.java:186) at haveric.stackableItems.Perms.getGroups(Perms.java:64) at haveric.stackableItems.SIItems.loadGroupItemFiles(SIItems.java:116) at haveric.stackableItems.SIItems.reload(SIItems.java:109) at haveric.stackableItems.SIItems.init(SIItems.java:65) at haveric.stackableItems.StackableItems.onEnable(StackableItems.java:44) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin
(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin
(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_4_6.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_4_6.CraftServer.enablePlugins
(CraftServer.java:264) at net.minecraft.server.v1_4_6.MinecraftServer.j(MinecraftServer.java:321) at net.minecraft.server.v1_4_6.MinecraftServer.e(MinecraftServer.java:300) at net.minecraft.server.v1_4_6.MinecraftServer.a(MinecraftServer.java:259) at net.minecraft.server.v1_4_6.DedicatedServer.init(DedicatedServer.java:149) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
-
View User Profile
-
Send Message
Posted Jan 20, 2013@CommodoreAlpha
Are you getting any errors on the console?
-
View User Profile
-
Send Message
Posted Jan 20, 2013When I used to run my server with PermissionsEx, the server loaded the plugin just fine, but since I have switched to bPermissions, the plugin errors upon start-up.
I have tested this again on my testing server with only a few other (core) plugins, and I have found the problem to be specifically between bPermissions and StackableItems. (Whenever I remove just bPermissions, StackableItems starts up fine.)
I'm not sure what the issue is, though, or why it's having an issue in the first place.
-
View User Profile
-
Send Message
Posted Jan 18, 2013@CommodoreAlpha
It should stay in a stack of 100 as far as I know.
-
View User Profile
-
Send Message
Posted Jan 18, 2013What would happen if I put 100 of an item in the same stack in one chest with the plugin on, then removed the plugin? Would the item stack revert to an amount of 64?