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 Feb 17, 2014@X00LA
What CraftBukkit version are you running? Have you tried updating it?
-
View User Profile
-
Send Message
Posted Feb 17, 2014Hi, I cant use 1.7.4. Can't join on my server when using it. I don't use any plugin or mod who affects the inventory in any way. You can download my config-files on dropbox.
Regards,
X00LA
-
View User Profile
-
Send Message
Posted Feb 17, 2014@X00LA
This sounds like the client side issues related to 1.7.2. The items are likely not disappearing permanently. Please make sure you are using 1.7.4 client side. If that doesn't fix the issue, I'll need some more info about your setup:
-
View User Profile
-
Send Message
Posted Feb 17, 2014I'm planning to use your plugin on my server, but there are some problems. When i put some items in my inventory some of them disappear, the same happens when i use the crafting table. Hope you can fix it.
Regards,
X00LA
-
View User Profile
-
Send Message
Posted Feb 16, 2014@Adam_Nox
I'll need to review the code for handling furnaces to see if I can easily do this without causing any issues. Ideally, it just would let vanilla handle it in your case which I think is possible.
-
View User Profile
-
Send Message
Posted Feb 16, 2014@haveric
Could you possible add a config line to enable or disable handling furnace events depending on whether or not Use_Stack_Amounts_In_Furnace: is set to true?
That would solve my issue as I am really just using this for snowballs, eggs, and potions :)
I would take a dev build as well if you can PM me a link, and I'll let you know if I find any bugs.
-
View User Profile
-
Send Message
Posted Feb 16, 2014@Adam_Nox
defaultFuel (and customFuel) configs are to handle custom stacking in the fuel slot of furnaces because there is no way (that I know of) to get the allowable fuels from bukkit. If you are using plugins that add/remove fuels, you can copy the defaultFuel contents over to the customFuel file and change them as necessary.
In order to handle custom stacks properly, I have to cancel the furnace events and provide a custom method of adding items to the inventory. By doing this, I also need to handle giving xp and that is what furnaceXP is for. While this should only be happening on items with custom stack values, it looks like it might be happening for all items with the current code and I will certainly look into that. I would suggest using the StackableItems furnaceXP config for now to handle xp. Any other plugins that handle xp will likely conflict.
-
View User Profile
-
Send Message
Posted Feb 16, 2014What is default fuel and furnaceXP yml files?
I have other plugins that modify XP from using the furnace, is this going to interfere? Option to disable all but the stacking part of this?
Thanks.
-
View User Profile
-
Send Message
Posted Feb 15, 2014@mogaruith
I'm away from my dev machine this weekend, but I'll look into this as soon as I get back.
-
View User Profile
-
Send Message
Posted Feb 15, 2014Love the mod, but I've found a bit of a bug with hoppers when you set block sizes to 1!
The hopper will still suck items from a container above even if it doesn't have room, it then spits out the item on the top floor.
Also, if there is no room in the chest below, the hopper still pushes the item in, but then the chest spits it out.
I can kind of see why, the mechanism that changes the stack sizes fires AFTER the item moves. But it would be great if this could be fixed in a later version!
-
View User Profile
-
Send Message
Posted Feb 7, 2014@jessefjxm
Not currently, but I'd like to figure out some way to in the future.
There are few issues with stacks above 127:
I'm actually considering a Lore based method, but it complicates every item interaction.
-
View User Profile
-
Send Message
Posted Feb 7, 2014Wondering if it's possible to stack more than 127 0.0
-
View User Profile
-
Send Message
Posted Feb 6, 2014@ZwingGX
I thought I had replied to you, but I must have closed the window before hitting post. Anyway, this will be fixed in the next version, but that also means if you keep your current setup, potions will not move into the brewing stand from a hopper above it. It looks like vanilla only lets potions come in from the sides.
@X00LA
The latest version no longer needs new files for players. Assuming Delta is a player, it would work exactly like he has it setup.
@My_Name_Was_Stolen
Since you have allWorlds default set, there is no need to set it to the same thing for Delta, because the allWorlds default should cover everything.
I need some more info to help determine what the issue might be:
-
View User Profile
-
Send Message
Posted Feb 6, 2014@My_Name_Was_Stolen
You need to define what Delta is. Is it a World, you need it this way:
This should be working.
Regards,
X00LA
-
View User Profile
-
Send Message
Posted Feb 5, 2014Try as I might, I can't get this plugin to work for me.
Here is a copy of my items.yml http://pastebin.com/t3Wd3qwX
I am not getting any errors, and I have the latest version of bukkit.
Any help?
-
View User Profile
-
Send Message
Posted Jan 26, 2014Brewing hopper issue
https://dl.dropboxusercontent.com/u/78671707/stack.png
my options:
Use_Stack_Amounts_In_Brewing: false
Use_Stack_Amounts_In_Hopper: false
my items.yml :
default:
MIN: -1
MAX: -1
POTION: 64
chest:
MIN: -1
MAX: -1
POTION: 64
-
View User Profile
-
Send Message
Posted Jan 25, 2014Created a ticket.
-
View User Profile
-
Send Message
Posted Jan 17, 2014@frol1
Simply put, it can't currently be done with a plugin. Feel free to check mojira for any similar issues or add it there.
-
View User Profile
-
Send Message
Posted Jan 17, 2014@haveric
Hmm so what do you recommend?
-
View User Profile
-
Send Message
Posted Jan 17, 2014@frol1
This is another limitation of Minecraft currently. Anything above 127 starts acting very strangely in inventories and does not save properly with the world. The saving part could be handled, but a stack of 128 items looks like a single item, which becomes very confusing to the user.