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 Mar 31, 2014Issues here, too. One thing that seemed to happen a lot was when RMB-dragging a stack of damaged items over free slots, the original stack would not decrease any. Downgraded to 0.9.4.4 for the time being, will see how that goes.
-
View User Profile
-
Send Message
Posted Mar 22, 2014Yes, because before update to newest version of SI i have these issues:
- Items losing custom name when player logged out with this item in eq
- Enchanted books losing enchantments -||-
- Custom heads losing player name / mob data -||-
- New potions from mcmmo turn into useless potion -||-
I am sure at 100% that this is StackableItems issue and I have verify this issue by deleting plugin and adding him again. I have only updated SI and these problems were solved except weared items (like heads or named armor).
-
View User Profile
-
Send Message
Posted Mar 21, 2014@Jacold
Are you sure this is a StackableItems issue? Can you replicate this after removing StackableItems from your plugins?
-
View User Profile
-
Send Message
Posted Mar 21, 2014@Drazhar753
@wonderdude73
I need more info from both of you in order to determine what the issue is:
-
View User Profile
-
Send Message
Posted Mar 21, 2014Custom head from Player Heads losing their data if equipped on helmet slot and relogging.
-
View User Profile
-
Send Message
Posted Mar 17, 2014I'm doing the same and having the same issue as Drazhar753 :/
It's not allowing me to stack anything past 64.
-
View User Profile
-
Send Message
Posted Mar 10, 2014I am having trouble getting this to work, it's all installed, folders and files are there. I added the permissions to myself (I use PEX and Vault) and made changes to the Items.yml. This is what I've done
allWorlds: default: MIN: -1 MAX: -1 potion: 64 dirt: 100
Yet it doesn't allow me to stack anymore.
-
View User Profile
-
Send Message
Posted Mar 1, 2014@kevin19961996
You can setup multiple worlds in the items.yml. There you can specify the stacksize for every world or for all worlds in one.
-
View User Profile
-
Send Message
Posted Mar 1, 2014Can you add multiple world support?
-
View User Profile
-
Send Message
Posted Feb 27, 2014@diannetea
I'll have to test it this weekend as I thought that would work, but I'm not at my dev machine right now.
You can always just disable StackableItems for Brewing Stands by setting Use_Stack_Amounts_In_Brewing: false in options.yml.
-
View User Profile
-
Send Message
Posted Feb 27, 2014@haveric
That's still letting the user stack whatever amount they are able to hold :(
I tried both brewing_stand and brewing_stand_item
-
View User Profile
-
Send Message
Posted Feb 27, 2014@diannetea
Brewing Stands are publicly accessible so it doesn't make sense to have different values per user/group as for example a VIP could help a user stack more in the brewing stand.
You can however set a brewing stand limit similar to this:
-
View User Profile
-
Send Message
Posted Feb 27, 2014Sweet, you were both ridiculously helpful, I figured out a good portion of it on my own, but now I have another thing.
I've set it so my various groups can have stack potions, up to 16 for VIP, but that means they can also put 16 in a brewing stand. How can I limit the brewing stand for each group? I'd like to do something like 2 user, 3 experienced, 4 VIP
-
View User Profile
-
Send Message
Posted Feb 26, 2014@ZwingGX
I don't see any source available on that plugin. It is likely the author has the EventPriority set incorrectly for the inventory click event or they are not cancelling the event. They should be using a LOW or LOWEST priority to handle their events first and prevent StackableItems from interfering.
@diannetea
The items.yml file is the only one you need to edit. An example can be found here: http:dev.bukkit.org/bukkit-plugins/stackableitems/pages/configurations/
If you are using a permission group (such as admin in the above example), you will need to give the admin group the stackableitems.stack permission.
groups.yml is used for shorthanding groups of items used in the items.yml file. I don't have a good example of this offhand, but it is used similar to this (Note: I need to verify the format, I'm not at my usual dev machine):
and then in items.yml you can set
I have plans to include a default file for groups in the future, but have not gotten to it yet.
Custom Fuels set with StackableItems will allow shift clicking from the inventory to the fuel slot for those items and is needed for any custom fuels you have added with other plugins or any fuels that have custom amounts set.
You should match furnaceXP with whatever you are currently using for XP as StackableItems overrides most of the inventory handling. (Future versions will try to override less and let vanilla handle anything not specifically overridden)
Creative should work in the latest version for everything EXCEPT the player inventory. The player creative inventory is not handled very well in the bukkit api yet and causes strange duplication issues when I've experimented with it.
If you have any more questions or are still confused about anything, feel free to ask.
-
View User Profile
-
Send Message
Posted Feb 26, 2014@diannetea
I have a package for you. Download this config-pack and you good to go. They are pre defined for vanilla MC. Replace any group1, group2 and so on, with your groups. You can easily add custom Id's with the example in the files.
DOWNLOAD
About your custom fuels. You have to put them into your /lists/customfuel.txt. For an example look into the /lists/defaultfuel.txt. If the custom ones listet in the deafult one and the amount are the same your don't need to change anything.
You do not need this in Creative because you have there already unlimited items.
-
View User Profile
-
Send Message
Posted Feb 26, 2014I am having trouble with some of the documentation on this. It is not very clear how to use the groups.yml vs items.yml (or which?) and are there permissions or do you just use the group name?
Also, I do not really understand what the furnace xp does, and I use CraftBook so will the custom/default fuels interfere with that at all or can I just pretend they don't exist? (I have custom fuels set in CraftBook)
I think that's everything I'm confused about..
Oh, this doesn't appear to work in creative... can that be fixed?
-
View User Profile
-
Send Message
Posted Feb 26, 2014Hello haveric,
i have problem quick slot swap bug
StackableItems with use chest command GUI plugin
(http://dev.bukkit.org/bukkit-plugins/chest-commands/)
swap bug screenshot
https://dl.dropboxusercontent.com/u/78671707/itemswapbug.jpg
-
View User Profile
-
Send Message
Posted Feb 17, 2014I tested 1.7.4 but i can't join to my server. I'm looking forward to the next Bukkit Snapshot. Eventually it fixes the join problem for me. It's not that big problem for me. The server is in Alpha status and only me and my testers can join. So no one can cry when some items disappear. ;-)
-
View User Profile
-
Send Message
Posted Feb 17, 2014@X00LA
Then there should be no reason 1.7.4 shouldn't work. There is a bug with the 1.7.2 client that causes the items to temporarily disappear like you had mentioned.
-
View User Profile
-
Send Message
Posted Feb 17, 2014@haveric
I use the latest Snapshot aka 1.7.2-R0.4 3023.