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 25, 2013I'm either really sleepy or I can't seem to find out how to work with this plugin.
It looks awesome. I need to handle potions in stacks, otherwise they wont fit on the player's inventory.
In a single second a player gets a diamond sword, and 52 potions from 3 different types (20, 20 and 12).
Tried everything but I can't figure it out, everytime console does /give 373:8233 20 for example, I get 20 potions in single pots stacks.
Help? :)
EDIT: Ok, found something that I think might be the problem. An error appears when I try to reload si through /si reload.
08:00:39 [SEVERE] java.io.FileNotFoundException: plugins/StackableItems/data/furnaces.yml (No such file or directory) 08:00:39 [SEVERE] at java.io.FileInputStream.open(Native Method) 08:00:39 [SEVERE] at java.io.FileInputStream.<init>(FileInputStream.java:138) 08:00:39 [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) 08:00:39 [SEVERE] at haveric.stackableItems.Config.reload(Config.java:62) 08:00:39 [SEVERE] at haveric.stackableItems.Commands.onCommand(Commands.java:63) 08:00:39 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 08:00:39 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) 08:00:39 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServer.java:523) 08:00:39 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchServerCommand(CraftServer.java:512) 08:00:39 [SEVERE] at net.minecraft.server.v1_5_R3.DedicatedServer.an(DedicatedServer.java:262) 08:00:39 [SEVERE] at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:227) 08:00:39 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) 08:00:39 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) 08:00:39 [SEVERE] at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
What should I do?
-
View User Profile
-
Send Message
Posted May 25, 2013@RossGosling
Some day I want that to be the case, but for various reasons, the cap is set at 127 for now. Some of them being:
-
View User Profile
-
Send Message
Posted May 25, 2013Can you set for example gold nuggets to something really high like 10,000? or is there a limit?
-
View User Profile
-
Send Message
Posted May 24, 2013@CheeseBallz02
You'd want something like this in defaultItems.yml:
You can find all of the names here for any I didn't list: http://dev.bukkit.org/server-mods/stackableitems/pages/configurations/
-
View User Profile
-
Send Message
Posted May 24, 2013Im very confused sorry, how would I make so, that food and buckets don't stack that's all I want to not stack.
-
View User Profile
-
Send Message
Posted May 23, 2013@BFUSpEd
First, make sure member has the permission "stackableitems.stack". Second, you probably want to set MIN instead of MAX. Read the MIN/MAX stuff here very carefully: http://dev.bukkit.org/server-mods/stackableitems/pages/configurations/ I'll admit that it can be confusing at first, but it's quite flexible this way. You don't need to touch groups.yml for what you are trying to do, it is for item groups. I'll hopefully get this defaulted into the next version so it becomes much more useful.
@Senophoe Thanks, I'd love to see infinite stacks soon too, but it won't happen in the near future. There are still some things that bukkit hasn't implemented that would screw it up, the main one being the new drag features in the inventory.
-
View User Profile
-
Send Message
Posted May 23, 2013How do I set up groups? I copied the defaultItems.yml, renamed it member.yml and increased the MAX: setting, tested as the member rank and its still using the defaultItems settings. Do I need to do something with groups.yml?
using bpermissions 2.10.4, vault b320, stackableitems 0.9.3.2
-
View User Profile
-
Send Message
Posted May 22, 2013Great plugin haveric! Hope to see infinite stacks working soon. There are several Emerald based economy plugins around here, and they would work great together with StackableItems.
-
View User Profile
-
Send Message
Posted May 17, 2013@Maibenrai
Thanks, I will look into this.
@CommodoreAlpha
Feel free to add it. It seems like it could be useful in certain situations.
-
View User Profile
-
Send Message
Posted May 17, 2013Should I add my idea on your GitHub issue tracker, or did you decide not to implement it?
-
View User Profile
-
Send Message
Posted May 15, 2013Hi
I'm also getting errors on some items. Using default config.
Errors: http://pastebin.com/6aFhyTcs
Plugins: http://pastebin.com/zS1L6KTU
git-Bukkit-1.5.2-R0.1-1-g53734d2-b2772jnks
Errors went away, when I removed backpack from my inventory so http://dev.bukkit.org/server-mods/back-packs/ isn't compatible with this because both modify inventory handling?
-
View User Profile
-
Send Message
Posted May 14, 2013@ZwingGX
You cannot disable furnaceXP.yml. It is the only way for StackableItems to give xp for furnace items handled by the custom stacking of StackableItems. You could always change the values in it if you don't like how much xp it gives, but it should be exactly like vanilla by default.
Why do you want to disable it?
-
View User Profile
-
Send Message
Posted May 13, 2013@haveric
Hello, i have question
How to disable furnaceXP.yml file?
-
View User Profile
-
Send Message
Posted May 11, 2013@haveric
An example scenario:
"Your inventory is messy, there's cobblestone everywhere, and you're just too damn lazy to click that left mouse key more than once to stack all your items together. A convenience command for lazy people."
Another reason would be that the /give command gives in stacks of 64, and the "/stack" command from CommandBook doesn't help very much. I don't know if Essentials works, but I absolutely refuse to use Essentials. And who knows, this command could come in handy for specific situations I've yet to think of.
-
View User Profile
-
Send Message
Posted May 11, 2013@CommodoreAlpha
StackableItems stacks automatically, can you give me a use case for why you would need this?
-
View User Profile
-
Send Message
Posted May 10, 2013Could you add a command, "/sstack" (not /stack), to stack all items in one's inventory according StackableItem's standards? I use CommandBook, but its "/stack" command stacks to the standard 64.
-
View User Profile
-
Send Message
Posted May 7, 2013@nullschritt
Not currently, the only infinite implemented is more like creative. The max is capped at 127 for a couple reasons, first is that item loss will occur from Minecraft's save handling. At some point in the future, I will probably create custom save and load handling to fix this. The second is that items lose their numbers, so a stack of 128 or higher will look exactly like a single item. This becomes very confusing to the user and there is no good way to fix this currently.
I'd suggest using either a virtual currency system or a multiple item currency system (nuggets are 1, bars are 9, diamonds are higher, etc) for the time being.
-
View User Profile
-
Send Message
Posted May 7, 2013Hello is there a way to make a specific item stackable infinitely?(for example for use with a currency item, like gold nuggets, or diamonds). Thanks.
-
View User Profile
-
Send Message
Posted May 6, 2013@iiPandazz
You're going to have to be a bit more specific than that. What do you have in your defaultItems.yml? Did you change anything in options.yml? What version of Craftbukkit are you running?
-
View User Profile
-
Send Message
Posted May 6, 2013Doesn't work for me... it stacks any wase...