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:
The file looks like this:
Also also tried this but it too did not work.
(Testing the plugin on dirt)
My craftbukkit version: 1930
I have also gotten this in my prompt.
@S3thc0n
I will definitely be adding permissions (most likely Vault). I could even make it so you can define configs for different groups.
It shouldn't take long to implement, I just have to work around classes and my busy schedule.
@EpykPhailMC
How are you surpassing the amount? If you are using a command such as /item or creative, they will probably still use the default max settings. I'd love to be able to hook into them, but not yet sure if it's possible.
Otherwise, if you are just picking up the items naturally, there could be something wrong. If this is the case, post your config file and version of craftbukkit so I may test it.
Also, I'm not sure what's confusing about the config file, I made it as simple as it can be. You can either use the Material name such as WOOL, or the id such as 35. You also have the option to use the data value, such as WOOL # to pick a specific color of wool in this case. If you need any help setting it up the way you want, let me know.
Ni do not,the plugin does not seem to be working. I set max stack for all to 10 but yet I am still able to surpass that amount. I have no op or permissions for any commands. Is it because I am using the latest version for an older version of bukkit?
Wait wait,I think I got it....
This is fantastic,but configuring the file is still very confusing for me. :(
Nice plugin, how about permissions?
@TheFluffey
I just added support for durability. See the example configuration above to see how to use it. Let me know if this works for you as I don't use spout so I'm unable to test custom items.
@Celtic_Minstrel
That would be correct. I'll have some free time tonight to do that, it should be fairly simple.
That probably falls into the same category as the first TODO item.
Haveric, please add support for spout SUB ID's, such as 318:1056 (Flint, with subid.. Used for custom items).
THANK YOU!