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 Jun 19, 2013@SubwayCake
Which version of CraftBukkit are you running?
-
View User Profile
-
Send Message
Posted Jun 19, 2013Trying to take and drop a stack from my inventory bugs quite alot. Sometimes I have to click about 3 times to take or drop it. Is this normal?
-
View User Profile
-
Send Message
Posted Jun 17, 2013@CraftySubZero
That should not happen and I haven't been able to replicate it with my current dev version. Once I get a new version out, I'd like to have you test this again, and will created a ticket on github tonight to remind me.
@jusobreira
If you don't want something to stack, set it to 0 in the config and leave min and max at -1 (default)
-
View User Profile
-
Send Message
Posted Jun 17, 2013can i choose the item i don't want to stack?
-
View User Profile
-
Send Message
Posted Jun 15, 2013Im not sure if this bug has been previously mentioned. But, when a player shift clicks an item into his inventory. If all other slots are taken, the items will be pushed into a slot containing the same items, but it will overide the stack limit for that specific item. Hopefully that makes sense :)
If the items remaining after exceeding the limit (Upon shift clicking) could be dropped onto the floor or something, that would be great.
-
View User Profile
-
Send Message
Posted Jun 14, 2013@XxShadowNinjaxxX
From the comment just before yours: "I'm currently working on switching over the item config to handle worlds"
World support and 1.5 inventory events are the next things being added.
-
View User Profile
-
Send Message
Posted Jun 14, 2013Could you add support for multiple worlds? Cos I want to use this for a MineZ sort of thing but its not in all worlds thanks
-
View User Profile
-
Send Message
Posted Jun 14, 2013@Q2Lummox
I'm currently working on switching over the item config to handle worlds and merged into one file. Bukkit just recently added 1.5 inventory events (about a week ago) and I haven't had a chance to test them. Once I get the new item config handled, I'll be working on this, but note that it is only in dev builds of CraftBukkit at this time.
-
View User Profile
-
Send Message
Posted Jun 14, 2013@haveric
Could be. Think you has a solution?
-
View User Profile
-
Send Message
Posted Jun 14, 2013@Q2Lummox
It sounds like the same issue Shraven420 was talking about where the 1.5 inventory events aren't being handled.
-
View User Profile
-
Send Message
Posted Jun 14, 2013Any explanation why this is happening, haveric?
-
View User Profile
-
Send Message
Posted Jun 11, 2013Could you compatible craftingplug plugin? ( http://dev.bukkit.org/bukkit-mods/craftingplus/ )
(shift + click item copy bug lol...)
-
View User Profile
-
Send Message
Posted Jun 11, 2013I tried to make a video, but I could not.
What happens is the following.
I have a stack of "bread", for example, 64 units.
I open the inventory by pressing "E", and try to move the stack of bread (entire stack) into another hollow inventory. But when clicking on the stack, to "grab and drag" to another hole, it returns instantly to your hollow original, when putting in another hole.
If "hold" the stack, and pulse with the right mouse button, to "drop" the "bread" one by one, if it works, I can move to another hole without problems, but one at a time.
This happens with the inventory, and the chests.
If you do not clear, I will try to make a video, but I think you'll know what I mean :D
-
View User Profile
-
Send Message
Posted Jun 11, 2013@Shraven420
This is something that bukkit has supposedly added support for finally so I will be looking into it when I get a chance to.
@Q2Lummox
I'm not quite sure I understand, can you provide a specific example or image/video of this?
-
View User Profile
-
Send Message
Posted Jun 11, 2013I have a problem with this plugin.
When I try to take a "item" or block inventory, replenish me again in the inventory (I removes the of the "hand").
When I move objects in the inventory with the "right click" is fine, but if I move to left click, does many strange things. As removed from the "hand"...
-
View User Profile
-
Send Message
Posted Jun 6, 2013there is a weird problem with placing down stacks of certain items when i have this plugin installed potions for one but the odd thing is glowstone blocks are the same way have to click several times to get it to stay in the inventory and no matter how much i click it wont pickup a stack of potions
-
View User Profile
-
Send Message
Posted Jun 5, 2013@Shraven420
I am working on an update, but there is no reason the latest version should not work as is. If you run into any problems or have any errors, let me know.
-
View User Profile
-
Send Message
Posted Jun 5, 2013can this be updated for 1.5.2?
-
View User Profile
-
Send Message
Posted May 27, 2013@haveric
"Fixed" the problem by creating kits on CommandBook. Apparently it handles stacks of potions to players..
Great plugin. :)
-
View User Profile
-
Send Message
Posted May 26, 2013@DruidKiria
StackableItems does not currently work with the /give command. It only works for picking up items or moving them around in the inventory.
The error you listed should not affect normal functionality. It is something that has been fixed for the next version, but you can always add the file manually to get rid of the error.