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:
@hondo11111111111
The top of the file should just look like this:
with whatever other settings below that (it auto creates some of the test ones, which I need to remove at some point)
Then either restart the server or run /si reload and you should be good. If you aren't seeing it working. What method of stacking are you trying?
@haveric
yes and i also tried putting the under min and max of all the others as well after the first one did not work
@hondo11111111111
Are you putting them under allWorlds default?
@hondo11111111111
i now got it to where they just wont stack and the lines will stay
@haveric
I added them but when i launch the server it doesnt work and then when i look at the file again the water and lava line dissappear!!
@hondo11111111111
Add the water and lava bucket lines to the items.yml file.
@haveric
ok but what file does that go into????
@hondo11111111111
@RustyDagger Thanks, I'll look into both of these issues.
@haveric
I am using the music Disks here is my config.
Drop All of a stack of them on the ground and pick them up they will Not stack.
Also with this plugin installed you can not hold down control and press the drop key to drop a whole stack of ANY item from your inventory. it works in vanilla.
Hi,
I am having a hard time trying to get this plugin to work. Well it works but i want to be able to stack lava and water buckets up to 16 but i spent around 2 hours trying different codes and trying different things but still cant figure it out what so ever and i really want this for my server but cant get to work if there is any way anyone can help me maybe like telling me where to put the code(i tried everywhere) and or what to put as the code that would be awesome what i need is for lava and water buckets to stack to 16. Thanks
@RustyDagger
What is the configuration you are using and what items are you trying to pick up that you experience this with?
@yyeerai
StackableItems is not compatible with Inventory Tweaks
When used this mod:http://build.technicpack.net/job/Inventory-Tweaks/,Will be stuck
BUG if a player DOES NOT already have a Stack started of an item and Tries to pick up say a stack of 7 items off the ground the Items are spread into slots as if it were vanilla.
This seems to be causing a similar issue when my economy plugin adds items to the players inventory if the player has some of what its adding it stacks if not Spread out every where..
@haveric
'brewing' works, thank you very much.
allows player to stack potions to 8 everywhere but not in the brewing stand, which is perfect!
@amasokin
I can't remember if there is a list somewhere, I really need to document these things. For brewing stands, try just "brewing". For player inventories, try "player" underneath inventory.
Let me know whether these work or not. I can help out more tonight if needed. I've created an issue on github as well to make sure I add documentation somewhere.
Hey, coming up with another question, I hope I'm not bothering you too much: what are the 'inventoryName's for the different inventories?
I want to make potions stackables in the Player Inventory and Chests but not in the Brewing Stand (because it would be OP, you can make StackNumber x 3 potions with just 1 ingredient). I need the inventoryName for the player's inventory and/or the Brewing Stand but I have no idea where to find that.
I tried
but it does not work, you can still brew entire potion stacks in the brewing stand.
Thanks!
@haveric
Thank you!
@amasokin
Sorry about that, I updated it in defaultGroups, but forgot to update this page to Spigot's version. They should be updated now to: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
Hey, great addon, would it be possible to have the Bukkit Material names posted somewhere so I can config the addon?
The link posted in the "Configurations" page (http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html) has now been down for several days...
Can't find an up to date list for 1.8 anywhere on Google.
Thanks!
@SolarShrieking
I'm not at a dev machine to test this, but this should work: