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:
Is there a way to have different stack sizes for the same item but with different NBT like CustomModelData?
In reply to DanMizu:
Not at this time, no.
I just downloaded the plugin and encountered an issue with the MIN and MAX settings.
I tried the following:
allWorlds: default: MIN: 120
inventory: chest: MAX: 65
The overall MIN setting works just fine. But the MAX setting for chests behaves weird.
Everything above MAX 63 turns the stack-size inside a chest to 120.
But MAX 30 or MAX 63 will work as expected.
What I want to achieve is to have higher inventory size for all players on my papermc server but chests need to stay at default stack size.
Can somebody give me an idea what I'm doing wrong?
Edit: Just tried the following:
allWorlds:
player: 6dxxxxe0-xxxx-xxxx-xxxx-64e2cxxxx7a6: original-name: inn0s MIN: 100 inventory: chest: MAX: 64
It will result in the same issue described above.
stacksize for me is 100 but chest stacksize is also 100.
I tried commenting inventory:chest out but with no luck. same issue.
In reply to Forge_User_38305099:
MIN and MAX are confusing and I wish I would have designed them better and had clearer documentation behind them. The complication is that they aren't intended to override each other, but instead the vanilla behavior.
What you can do is instead of setting the default for everything to be a MIN of 120, you can set the player inventory to a MIN of 120 so that everything else is left as vanilla.
In reply to Ryan_plays_mediocrely:
Thank you for your fast response. I just read the example.yml a second time. Now I grasp the idea a bit better. Thank you very much for clearing this up and giving me an example.
EDIT: works great. great plugin. Thank you for your effort.
Is that possible to support 1.13?
In reply to marcus_cactus:
Due to the complexity of the plugin, I do not plan on supporting older versions anymore. It became too complex trying to support multiple versions and all of the differences between them.
This is a minor annoyance I can't seem to fix. Whenever I try to use Shift+Click to automatically equip an Elytra, it will fail to equip and get placed back in my inventory. I was able to fix this bug when it occurred with fuel but I couldn't find a fix for Elytras.
In reply to NefariousDestiny:
Sorry for the late update, but this is fixed in the just released v1.0.11 (Currently waiting on file approval)
No updates this week as I've been pretty heavily focused on RecipeManager lately. I am opening up a discord server though that I'll be using for all of my projects. Please feel free to jump on and bring any issues/questions/ideas with you. It will also be used for dev builds when there are any.
I tryed to add shulker boxes to the list but it doesntT seem to work.
They are only affected,when i set the overall default to something higher but i only want to set shulker boxes higher. What can i do ?
In reply to Forge_User_60181693:
Already replied in private message, but please use the issue tracker ONLY next time instead of posting it three times.
Hi,
What does this mean :
[Server] ERROR Could not pass event FurnaceSmeltEvent to StackableItems v1.0.6
In reply to Forge_User_50757523:
It means that there's a newer release (1.0.7) that already fixed that issue.
In reply to Ryan_plays_mediocrely:
Can i just install the new version, and config wil stay like it is ?
In reply to Forge_User_50757523:
With any plugin update, I would recommend keeping backups of your configs just in case. With that said, my plugins are fairly stable regards to configs and should never break without warning. In this case, it was just a minor update that has nothing to do with configs so you are 100% safe in updating.
I am working to get a 1.14 build out soon. Most of the work has been done updating, but I have some testing to do to verify functionality.
please update to 1.14!
Would love this if you had some time to update to 1.14!
Still in developpment?