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 Oct 9, 2012I noticed recently on my server an error that continues to come up, and i don't know what its related to or what causes it appears at random times. please see link for error: http:pastebin.com/pgcs8fsM
Currently running: Latest version of StackableItems and Bukkit 1.3.2-R1.0 build 2377
-
View User Profile
-
Send Message
Posted Oct 9, 2012@haveric
Oh, my bad then, I got it wrong when read the changelog. Sorry.
Then the plugin is working as intended here, no issues :)
About upgrading to 1.3.2, I am working on that atm, I know it´s best to have always the latest version with all up to date, so I am trying to make everything I need here works with 1.3.2.
Thank you very much for the answer, and for this great plugin.
-
View User Profile
-
Send Message
Posted Oct 9, 2012@fernando2112
The correct amount should still be there, but it will only show 64. That is default behavior for Minecraft and there is nothing I can do currently about it. I believe the only inventory that is different is the player inventory where it will show up to 127.
What you saw in the changelog, "Fix chest stacking maxing out at 64 (Client won't show the correct number above 64) " was that chests were limited to only 64 items and caused a loss of items when putting anything in them greater than that. The parenthesis are saying the current state is that the number does not show correctly. Again, this is a client issue and cannot be fixed in the plugin. Also I probably could have made that clearer in the changelog.
This plugin is doing something that Mojang never intended anyone to do, but hopefully it will be fixed someday.
Also, if you are running CB 1.3.1 with StackableItems 0.8.7 or newer, I highly suggest you upgrade to CB 1.3.2 as you will get errors when picking up items due to the Sound API not existing.
-
View User Profile
-
Send Message
Posted Oct 9, 2012Hi, I am running CB 1.3.1, but stacks do not show properly inside chests. I already set max items to 127, and even less, but still it does not works. Always shows 64 inside chests.
I read the changelog and it seems this chest issue was fixed since version 0.8, so it´s odd that it´s not working on the latest version for 1.3.1.
I am using the following plugins, in case of any known incompatibility:
KeepItems - MobHealth - Multiverse-Core - Multiverse-Portals - StreetLights - Timber - WoolTrees - WorldEdit
Thanks :)
-
View User Profile
-
Send Message
Posted Oct 6, 2012@haveric
I would like for multiworld support to be added fora minez plugin to be able to make certain unstackable items for just the selected worlds
-
View User Profile
-
Send Message
Posted Oct 6, 2012@kaitachi
You aren't the first one to report that. As of now, RepairRecipe won't work alongside StackableItems.
-
View User Profile
-
Send Message
Posted Oct 6, 2012Hello, I just found a small bug incompatibility with the plugin "RepairRecipe."
Here's what it does when I SHIFT + CLICK (not normal) : http://youtu.be/cHh27sm_WOQ
Here's what it does when I CLIC + Moves (normal) : http://youtu.be/5inwjiKKlyQ
-
View User Profile
-
Send Message
Posted Oct 4, 2012@allpeg
I have already released 3 versions that require 1.3.2 due to the new Sound api. I will not sit back and not use new features just because other plugins don't get updated as quickly.
If you really feel that a certain plugin is important enough to not go to 1.3.2, then you are free to run older versions (0.8.6) for 1.3.1 but I cannot offer any support for them.
-
View User Profile
-
Send Message
Posted Oct 4, 2012There is no support for 1.3.1-R2.0? I tried different versions, everything works almost fine almost without spamming console with errors (InventoryClickEvent and PlayerPickupEvent). Many plugins (both client and server) still doesn't have 1.3.2-compatible version
-
View User Profile
-
Send Message
Posted Oct 3, 2012@kaitachi
I cannot replicate your issue. It seems to be working fine on my end.
-
View User Profile
-
Send Message
Posted Oct 1, 2012@kaitachi
That is not normal. I'll take a look when the minecraft servers aren't so overloaded and I can log back in.
-
View User Profile
-
Send Message
Posted Oct 1, 2012Hello! Is it normal when I put the plugin "vault" with stackableitem .. If I made SHIFT + CLICK in a safe to retrieve the objects, it does not work?
Video : http://youtu.be/Xn6rdI5MKcw
-
View User Profile
-
Send Message
Posted Oct 1, 2012@XeonG8
I don't add items to this todo list anymore as it is a poor way of handling them. I honestly should remove it, but I haven't yet. It's not something that I will forget though and I'll include it when I get the chance. If you want though, you are free to add it to the github issues tracker and then there can be discussion about it if needed.
@EpicTrance
Multiworld support would be good, but it would require a major revamping of the current system to handle it. May I ask how you would want this to work specifically? There are many ways this could be done and I'm not quite sure on the correct one yet.
-
View User Profile
-
Send Message
Posted Oct 1, 2012multiworld support?
-
View User Profile
-
Send Message
Posted Sep 29, 2012Just wondering you said you had thought about the infinite items feature.. but you never put it on the todo list?
-
View User Profile
-
Send Message
Posted Sep 27, 2012@Q2Lummox
I am unable to replicate the problem on 0.8.9 and my latest test version using both Craftbukkit 1.3.1 and 1.3.2
This would lead me to believe that it is either a plugin conflicting with mine or since only certain people are having it happen, that a mod they are using is interfering.
Can you provide the list of plugins that you are running and if these players are using any mods?
-
View User Profile
-
Send Message
Posted Sep 27, 2012@Q2Lummox
Well first you may run into issues using 1.3.1 with the latest version as there is at least one part (picking up items) which requires the new Sound api in 1.3.2. You should be getting errors every time someone picks up any of the items in your items config.
I don't think that would cause issues with shift clicking armor though so I'll still take a look after work tonight.
Also, if you want to shorten your items file, you should be able to just use the id without the durability if you want them all to be the same amount.
Example:
-
View User Profile
-
Send Message
Posted Sep 27, 2012Use the latest version of your plugin.
The Craftbukkit version is 1.3.1-R2.0
I tested only with your plugin and fails. I tried to stick a permissions plugin, and also fails.
Options.yml file:
Use_Stack_Amounts_In_Furnace: false
Use_Stack_Amounts_In_Trading: false
Use_Stack_Amounts_In_Crafting: false
Virtual_Items: false
Furnace_Amount: -1
Debug: false
The file is very large items. I'll step pastebin.
http://pastebin.com/P2NYxhdR
And the video I been a player, I did not: D
-
View User Profile
-
Send Message
Posted Sep 27, 2012@Q2Lummox
Some more info could be helpful, such as StackableItems version you are running, CraftBukkit version, other plugins on the server, current settings for options.yml and item config files (defaultItems.yml, etc). I can't take a look until tonight but the more info you give me, the better chance I have of replicating the issue.
Also, what did you record that video with, a potato? There are plenty of free recording programs out there(fraps, camstudio, etc), please try to use one of them next time.
-
View User Profile
-
Send Message
Posted Sep 27, 2012I have this error:
http://www.youtube.com/watch?v=J4bRagh8eOo&feature=youtu.be
Only certain players, not at all.
When you press "Shift" to equip automatically, what is happening in the video. It puts such a helmet, but quickly removed, put it back, and the second or third try, it gets properly.
It is your plugin, because when I remove it, stop having this error. When you put it back, certain players, have this "glitch".
The same goes for the chests. If you press "Shift" in a stack in your inventory, to add a whole chest, makes the same effect. Add the whole stack, but is automatically removed and returned to inventory. On the second or third try, is when it works.