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 Sep 13, 2012@Tealk123
Unfortunately, it is not currently compatible with RecipeManager due to some things RecipeManager is doing to handle custom recipes. I'll be working with the creator to hopefully find a way to work around the issues.
-
View User Profile
-
Send Message
Posted Sep 13, 2012if i use http://dev.bukkit.org/server-mods/recipemanager/ with your plugin and i craft a picaxe and use shift klick on it to place it in my inventory, my inventory get spammed with picaxes and i get the material back
-
View User Profile
-
Send Message
Posted Sep 12, 2012I'm running 0.8.6 without problems on R2 thanks :)
-
View User Profile
-
Send Message
Posted Sep 11, 2012@Mayhem777
You can always run one of the dev builds for 1.3.2 which should be less buggy. Either way, I have not experienced any issues with 1.3.2 and the bugs are more likely due to plugins that are out of date or have not fixed some issues that were created due to changes in bukkit. If you really want to stick to 1.3.1, you can always go back to StackableItems 0.8.6, but I cannot offer any support or bugfixes for older versions.
-
View User Profile
-
Send Message
Posted Sep 11, 2012I see... the problem is 1.3.2 R0.1 have more bugs than hell XD
-
View User Profile
-
Send Message
Posted Sep 11, 2012@Mayhem777
You need a newer version of Bukkit/CraftBukkit. The Sound api that was added in the beta build for 1.3.2-R0.1 is required in version 0.8.7 and 0.8.8 of StackableItems.
-
View User Profile
-
Send Message
Posted Sep 11, 2012This is spamming my console every second:
http://pastebin.com/HEWUZWRC
-
View User Profile
-
Send Message
Posted Sep 9, 2012@BEQOsNtDi6xRDGzqIAT7
Thanks, I'll try to get an update out today with that fixed. It is intended to be optional and it looks like I just forgot to check that perms is enabled there before calling a perm specific method.
-
View User Profile
-
Send Message
Posted Sep 9, 2012@haveric
Nope, after finding that 0.8.5 doesn't work i tried the latest version (0.8.7), which also did not generate a options.yml and threw another error onto the console without doing anything.
2012-09-09 03:10:57 [WARNING] Unexpected exception while parsing console command
org.bukkit.command.CommandException Unhandled exception executing command 'si' in plugin StackableItems v0.8.7
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
at forge.bukkit.ForgeCommandMap.dispatch(ForgeCommandMap.java:55)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:506)
at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:502)
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:615)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:583)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:457)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.NoClassDefFoundError net/milkbowl/vault/permission/Permission
at haveric.stackableItems.Commands.onCommand(Commands.java:39)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 8 more
Caused by: java.lang.ClassNotFoundException net.milkbowl.vault.permission.Permission
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 10 more
The "caused by" line is interesting there.
-
View User Profile
-
Send Message
Posted Sep 8, 2012@BEQOsNtDi6xRDGzqIAT7
Vault is supposed to be optional as is mentioned above. Since you are using an older version though, there is not much I can do except to suggest you update to a newer version (Pretty sure 0.8.6 will work fine with 1.2.5). I changed config.yml to options.yml in version 0.8.6 to avoid the confusion of the generic term "config". If you search config on this page, you could have easily seen that in the changelog.
@Q2Lummox
You can use item id's so it should work fine, but I have not tested it with any.
-
View User Profile
-
Send Message
Posted Sep 8, 2012Works with customized items and blocks? (spout).
-
View User Profile
-
Send Message
Posted Sep 8, 2012Hm, you might wanna note in the main post that Vault is a requirement for this mod. Without it it doesn't stack anything and throws errors onto the console instead. :)
(Also, there is no options.yml, but three different config files, at least for the 1.2.5 versions. I presume that is a 1.3.x thing.)
-
View User Profile
-
Send Message
Posted Sep 3, 2012@Faldonboy
It's not too often that things change and require a new version, but in this case I was able to remove the CraftBukkit dependency so other Bukkit servers could use StackableItems. In this case, I felt it was worth it for that. Next time, I'll either make it more clear or wait until an RB for new things like that. (although the file has a version required next to it)
Thanks to the Metrics I threw in as well, I can tell that a majority of people are in the same situation, but not mentioning it, which is odd. They should all be getting errors.
-
View User Profile
-
Send Message
Posted Sep 3, 2012@haveric
Thanks, I need to check my versions more often. :P
-
View User Profile
-
Send Message
Posted Sep 3, 2012@Faldonboy
The latest version requires the new Sound API, which means you need a newer version of CraftBukkit. (At least the beta build #2352)
-
View User Profile
-
Send Message
Posted Sep 3, 2012http://pastebin.com/XCjpNBLT
Happening whenever someone picks an item up
-
View User Profile
-
Send Message
Posted Aug 31, 2012@haveric
Any time I quit or someone quits the server, I think it's because I am using an MCPC build so I can use mods which also uses Forge which is probably why there's a reference to Forge in the error lol..
-
View User Profile
-
Send Message
Posted Aug 29, 2012@Techtony96
That would be an interesting way to do it. I'll look into it, but don't promise I'll change it.
-
View User Profile
-
Send Message
Posted Aug 29, 2012@haveric
Maybe in future updates, in my opinion, having a permission node is alot easier than text files. When you put a text file in, make a permission node called stackitems."TEXT FILE NAME" and anyone u give that to gets those permissions.
-
View User Profile
-
Send Message
Posted Aug 29, 2012@Techtony96
When using Permission groups, yes. You can also use defaultItems.yml to affect everyone as well as specific player.yml files (haveric.yml) to affect specific people. Both of these do not require the permission node.
You can also use a combination of these three, such as: player.yml (ex: haveric.yml): This will take priority over the other two. group.yml (ex: admin.yml): Requires Permissions to get the groups and will override defaultItems if the player is in this permission group. defaultItems.yml: Will work for everyone, unless overridden by a group or player file.
I'm starting to wonder if the permission node "stackableitems.stack" is really necessary, but for now it is needed. The group seems to be the only important thing that I need to handle.