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 Dec 4, 2013@haveric
Alright, understandable, for the most part it seems to be working with 1.7.2 without issues, the only issues I still see are the previously mentioned.
-
View User Profile
-
Send Message
Posted Dec 3, 2013@xBlueXFoxx
I've been pretty busy with other projects and haven't worked on it as much as I'd like to have. With that said, I'm going to set some time aside to get all of my plugins updated for 1.7 and will fix what I can for StackableItems as well.
-
View User Profile
-
Send Message
Posted Nov 29, 2013Are you still working toward these issues? A lot of people have been using horses to stack their items, I was thinking a possible inventory check (for all items in the inventory) on either a timer (CPU effective) or on item movement (more dynamic) would be a good method to future proof from further inventory updates. Right now it only appears to effect individual stacks based on what the user picks up/puts in their inventory.
-
View User Profile
-
Send Message
Posted Oct 15, 2013Horse fix worked, but actually ran into another problem. Players can stack items in their inventory when sitting on a horse.
-
View User Profile
-
Send Message
Posted Oct 14, 2013@haveric
I made a test server with your plugin, essentials, and Natural Horses, to test these few exploits, I've confirmed it's your plugin. I too cannot replicate the glitch, but it is definitely possible, I've already caught 3-4 people abusing it in the past week and each ones mentioned the same steps to recreate this issue.
-
View User Profile
-
Send Message
Posted Oct 13, 2013@xBlueXFoxx
I can't control other plugins adding items to the inventory unfortunately. I have uploaded a new dev version on github that has a temporary solution for the horse inventory issue.
When you say that you confirmed it is my plugin, did you do this by only using my plugin or by just removing NCP? (I'm not doubting it's my plugin, just need to make sure as this is something that I can't easily replicate)
-
View User Profile
-
Send Message
Posted Oct 12, 2013Also another issue, in survival mode you can put any item in the saddle slot of a tamed horse and it will behave like a saddle.
-
View User Profile
-
Send Message
Posted Oct 11, 2013It appears essentials has a minor conflict also, if you to /kit or buy things through shops the items stack.
-
View User Profile
-
Send Message
Posted Oct 11, 2013Confirmed it's your plugin in a test server.
-
View User Profile
-
Send Message
Posted Oct 11, 2013Confirmed not NCP
-
View User Profile
-
Send Message
Posted Oct 7, 2013The only plugin I have that also effects inventories (and could be a likely cause) would be NoCheatPlus.
-
View User Profile
-
Send Message
Posted Oct 7, 2013@xBlueXFoxx
I haven't had time to look into the issue yet, but will be this week. What other plugins are you running? It is possible this is a plugin conflict. If you could try running just StackableItems and see if you can still replicate this, that would be helpful.
@darkness1999
Dev builds can be found on github.
-
View User Profile
-
Send Message
Posted Oct 4, 2013Where can I download Dev-Builds?
-
View User Profile
-
Send Message
Posted Oct 3, 2013Concerning this issue, it's appearing to become a more commonly known exploit on my server. I've done some testing myself to see if it's another plugin conflicting causing the issue but it doesn't appear so.
-
View User Profile
-
Send Message
Posted Sep 28, 2013let me know when you have a test build up and I'll see if it can still be exploited.
-
View User Profile
-
Send Message
Posted Sep 28, 2013@xBlueXFoxx
I haven't been able to recreate this, which makes me think latency is definitely a factor in this. I have a couple ideas though that I will look into for this, thanks for letting me know.
-
View User Profile
-
Send Message
Posted Sep 28, 2013Confirmed able to recreate with stacks of items too.
-
View User Profile
-
Send Message
Posted Sep 28, 2013It appears there's a duplication issue, steps to recreate. IE gold apples can stack to 1 with this plugin. 1. Get 2 gold apples 2. Attempt to stack them in your inventory, but while it "stacks" client side, quickly press esc. 3. One apple will drop to the ground, go back to your inventory and you'll still be holding one on your mouse, toss it out of your inventory at that point, pick both apples up and you'll have three apples.
Note: When attempting myself I tried about 30 times then gave up, when dropping the apple it appears client side, but when another player tested it for me he was able to make 3 physical apples, he had a much lower performing PC and that may influence this issue. I picked up all 3 apples he dropped, reconnected, and all 3 apples were physical and not client side.
-
View User Profile
-
Send Message
Posted Sep 23, 2013Hi, is there any way to fix such situation: when you get 3 potions in brewing stand and place them in inventory they doesn't stack, you need to drop them and while picking up they stack. Is it possible to make like it happens when you for example take smthng cooked from multiple furnaces using shift+click, or while you are moving smith from multiple stacks from chest to inventory?
-
View User Profile
-
Send Message
Posted Sep 7, 2013Thanks, it worked a charm!