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 May 7, 2014hello,
is is possible you change the cap of stackable item? (for example 512)
thanks for answer
-
View User Profile
-
Send Message
Posted May 5, 2014@Jleeevinnn
There's a fix pushed to github, but I have breaking local changes preventing me from making a build at this moment. I'll try to get a build out within the next couple days.
-
View User Profile
-
Send Message
Posted May 5, 2014Soooooooooooooooooooooooooooo, about that duping glitch?
Is there a way to bypass it? Are you working on it? Will it be done this week? Next week? Next year? The year after?
We need updates. For, I agree with Jleeevinnn. And, try not to get salty with us. It'd be nice. <3
-
View User Profile
-
Send Message
Posted May 5, 2014Haveric, you replied to other people; but avoided mine... a pretty big deal considering I haven't been using the plugin since I found out my players were duping with it.
My players are going nuts waiting for an update.
-
View User Profile
-
Send Message
Posted May 2, 2014@Lukasguy1
The plugin uses bukkit material names found here: http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html
If you want all dyes (including bonemeal), you can use:
If you want each dye individually, use the data value:
-
View User Profile
-
Send Message
Posted May 2, 2014Hi, love the plugin, but how can I set stacks of dyes? When I use CACOA: 1 it trows me an error :/ Thanks
-
View User Profile
-
Send Message
Posted May 1, 2014Ok thank you
-
View User Profile
-
Send Message
Posted May 1, 2014@darkness1999
I'm still working out how exactly I'm going to make UUID's work. Player names actually play a very small part that I'm pretty sure most people don't use in the config except for on themselves or a few trusted people. The config will likely have breaking changes to it anyway as I've realized that it could be potentially unsafe in its current form.
There are no current plans for an API, but I'd love to make one once I feel that the plugin is stable enough for one. You can probably do what you want without an actual API, but I don't promise any stability between versions. If you need help with that, feel free to PM me.
@Jacold
Yes, and I'm pretty sure I already have your issue fixed, but I just haven't pushed the changes to github yet as I'm working on other issues.
-
View User Profile
-
Send Message
Posted May 1, 2014@haveric
Do you look sometimes at github?
-
View User Profile
-
Send Message
Posted Apr 27, 2014I guess StackableItems is not UUID compatible so far, right? So please make it compatible.
Also I wanted to ask for an API for developers because there is a bug with my trader plugin:
If I add a player an item through player.getInventory.addItem(); then this ignores stack sizes so I ask for a method or way that does not ignore stack sizes.
darkness1999
-
View User Profile
-
Send Message
Posted Apr 26, 2014@haveric
This was happening on 1.7.2 - 1.7.6, I am running 1.7.9 full UUID build StackableItems latest build Happens in atleast player inventory, possibly chest inventory as well. I have put all my files in a dropbox link: https://www.dropbox.com/sh/s2rvmr13anyjvlw/P0KN4Q0Oh- I am going to private message you all of my plugins. No mods or modded clients. This has been an ongoing issue from previous versions of StackableItems
EXACT Steps to replicate: 1. Take stacked potions and separate in your inventory 2. Quickly restack them and basically just move them all around, unstacking stacking, by holding down right click and dragging the stack throughout your inventory 3. Your potions will stack.
-
View User Profile
-
Send Message
Posted Apr 19, 2014@Jleeevinnn
I'm going to need more info about your setup in order to replicate your issue.
Also, if you could provide exact steps to replicate, that would be helpful.
-
View User Profile
-
Send Message
Posted Apr 19, 2014Hello, I had this plugin running on my server for several months, until one day my players found out you could duplicate with it, leading to a mass banning as well as the removal of the plugin.
All my players miss the plugin and wish there was a fix, but I've tried anything.
I am only using this plugin to stack potions.
My config looks like this: allWorlds: default: MIN: -1 MAX: -1 '373': 20 testPlayer: MIN: -1 MAX: -1 testGroup: MIN: -1 MAX: -1 chest: MIN: -1 MAX: -1 testWorld: default: MIN: -1 MAX: -1
I left all the tests because, why not. But basically I want potions to be stackable to 20, however myself and everyone else can easily duplicate the potions but stacking them, spreading them out in the inventory, restacking and repeating the process; eventually they will duplicate.
Is there any way you could fix this? Thanks!
-
View User Profile
-
Send Message
Posted Apr 14, 2014@ haveric
Sorry for the late response:
I was the one with the problem that I can't stack items past 64 - even using your config file example it won't let me stack dirt or cobble more than 64
Tried setting the MAX to 100 as well.
-
View User Profile
-
Send Message
Posted Apr 10, 2014@haveric
Just wondering if you'd had chance to look into this?
-
View User Profile
-
Send Message
Posted Apr 5, 2014@ZwingGX
Seeing as I can't replicate it, how about some more info about either of your setups?
-
View User Profile
-
Send Message
Posted Apr 5, 2014@ZwingGX
I can confirm this can be recreated, a user of mine was abusing it, likely because he seen this comment.
[Edit] Just recreated it myself without issues.
-
View User Profile
-
Send Message
Posted Apr 4, 2014Thanks for the reply! I was running the plugin on several of the latest Spigot (1.7.5) builds, which may be where these issues arise. Still odd, though - 0.9.4.4 works absolutely fine. The only other plugins I have installed that I think could do anything with inventories would be Lores, NoCheatPlus and GearSignature.
-
View User Profile
-
Send Message
Posted Apr 2, 2014@Jacold
I am not able to replicate this using the the latest version of each plugin on a recent bukkit build. Can you provide replicable steps along with your bukkit version and minecraft version?
@SUXpanD
I can't replicate either of your issues. Please make sure you are running the latest version of StackableItems along with a recent bukkit build and the latest minecraft build.
-
View User Profile
-
Send Message
Posted Apr 2, 2014Duplicate bug report.
https://github.com/haveric/StackableItems/issues/92