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 Nov 18, 2012@haveric
Looks like the InventoryClickEvent error is still happening, much less frequently though.
-
View User Profile
-
Send Message
Posted Nov 18, 2012@Faldonboy
Try updating to StackableItems 0.9.0.1 and let me know if you are still getting these errors.
-
View User Profile
-
Send Message
Posted Nov 18, 2012@haveric
Craftbukkit 1.4.4 R0.1 - Dev build #2469
There really isn't anything else in that error, heres a copy of that portion of our server.log that includes both errors(two instances of the first one I posted) Server Log
-
View User Profile
-
Send Message
Posted Nov 18, 2012@Faldonboy
It would appear you are having multiple errors. The first one you sent me was an ArrayIndexOutOfBoundsException where this one is a NullPointerException. What version of CraftBukkit are you running and can I get the rest of the ArrayIndexOutOfBoundsException error as well?
Thanks, haveric
-
View User Profile
-
Send Message
Posted Nov 18, 2012@haveric
crap, sorry! I thought I had the whole thing copied. Here it is Error
EDIT: WAIIIITT this is actually a different error o.O the one I posted before was actually the entire error for that one, there is nothing after the Caused by: java.lang.ArrayIndexOutOfBoundsException line
-
View User Profile
-
Send Message
Posted Nov 18, 2012@Faldonboy
That is only the first part of the error. I need everything after "Caused by: java.lang.ArrayIndexOutOfBoundsException"
-
View User Profile
-
Send Message
Posted Nov 18, 2012@haveric
Thats the full error, taken from our servers server.log Its also being spammed several times a minute now instead of randomly
EDIT: I'm trying to find out if its some kind of plugin conflict, removing them and putting them back one at a time but the server has 70 plugins so its taking awhile. Stackableitems is something we can't get rid of though, too many things rely on it so this is becoming a problem. No one is complaining about anything going wrong when the error is being spammed though so I'm not really sure what its doing/whats causing it.
-
View User Profile
-
Send Message
Posted Nov 18, 2012@Faldonboy
I need more of the log to determine where this is happening.
-
View User Profile
-
Send Message
Posted Nov 18, 2012This shows up randomly, when it starts showing up it does it about 20 times before it stops.
-
View User Profile
-
Send Message
Posted Nov 18, 2012@akivaweil
I do plan on including one at some point, but until then, you can download the groups.yml from the Downloads on github: https://github.com/haveric/StackableItems/downloads
-
View User Profile
-
Send Message
Posted Nov 18, 2012can you please set up a default groups.yml so i can see how it is set up mine came empty
-
View User Profile
-
Send Message
Posted Nov 12, 2012@haveric
Thanks! You've been a great help :D
-
View User Profile
-
Send Message
Posted Nov 12, 2012@Zilacon
You need to set chests up separately in chestItems.yml. Note that it will appear to only put 64 in after setting them up there as well, but they will all be there.
-
View User Profile
-
Send Message
Posted Nov 12, 2012@haveric
That got the stacks working but now it dont work in the chests when you put 120 into a chest it only puts 64 in the chest.
-
View User Profile
-
Send Message
Posted Nov 12, 2012@Zilacon
You want a positive number for min. -1 is there for default values, The only other negative value would be -2 which is for infinite stacks. You want to stack to 126, not to -126.
Ex:
MIN: 126
-
View User Profile
-
Send Message
Posted Nov 12, 2012@haveric
MIN: -126 MAX: -1
Like this? It still does not work :(
-
View User Profile
-
Send Message
Posted Nov 12, 2012@Zilacon
Two things: Min and max work the opposite way you are thinking. Max restricts the maximum stack (ie setting 32 will set all stacks above 32 to be 32. Min will set all stacks below it, to the value you set. In your case, you want to set Min to 512.
Second thing is that the maximum value that can be set currently is 127. This is due Minecraft not saving anything above that and then you could lose items. I plan to fix this at some point, but it will be a while before I get to that.
-
View User Profile
-
Send Message
Posted Nov 12, 2012@Zilacon
The maximum stack amount is 127 to prevent item loss.
-
View User Profile
-
Send Message
Posted Nov 12, 2012I cant get this to work...
I want the stacks to be 512 and i got Min: -1 Max: -512 or 512 (neither works)
Please help!
-
View User Profile
-
Send Message
Posted Nov 7, 2012@Q2Lummox
Can you give me your config file for iprofessions and whatever steps are necessary to test it after first installing iprofessions?