ModifyMaxstack
ModifyMaxstack
What does this do?
This plugin allows server administrators to configure items' max stack value.
How do I use it?
To set up this plugin, download the latest version and put it in your plugins folder inside your Bukkit server, then restart/reload your server. Once set up, a configuration file will be created inside your /plugins/ModifyMaxstack folder.
How does it work?
Instead of using Bukkit's click events or editing the stack size of items in an inventory, this plugin modifies fields in Minecraft server code to modify the max stack of an item. This allows you to to increase the max stack value beyond the usual 64, if you so desire. This seems to have been changed, the absolute maximum is 64.
Things to know
The Minecraft client has problems dealing with items that don't have their default max stack. This causes inventory clicks to be buggy for these items, use this plugin at your own risk.
Configuration
This plugin has a very simple configuration. To modify an item's max stack size, add a value to the "itemstack" list.
Default configuration:
# Add items to this list that you want to modify (id:size) # Full list of item id's can be found here: http://minecraft-ids.grahamedgecombe.com/ # Please note that the id list may not be updated. itemstack: - "354,64"
354 is the item id, in this case, a cake, and 64 is the amount of cakes you can now stack together.
Y U NO WORK!?
If the plugin is giving any errors, please create a new ticket here and describe your issue.
Useful links
Planned features
- None. Comment any suggestions below.
@MineCooky
I've updated this project to 1.8.8, as of writing this reply, the file is currently pending for approval.
If you have not used this plugin before, I would highly recommend you to read the "Things to know" section, and test the plugin on a test server.
Would love a updated version :)
Byid is deprecated. :(
Please update this wonderful plugin!
(To the person below me) Are there any startup errors? I can't remember which version of Java I used to create this, so that may be a problem.
Hey AssistDev:
Running CB 1.6.4-R2.0 and Java version: 1.7.0 u25, no red text in the console.
This addon isnt working for me, even the cake stack of 64 you have as an example dosnt work.
Not sure if others have had this same problem or not. I read "Y U NO WORK!?" so i give you the info above.
Thank you for over 700 downloads!!! :)
Thank you for over 500 downloads! :)
@SigmundVolsing
It throws an error due to the plugin using a NMS (net.minecraft.server) import, therefore it requires an update each time Bukkit throws a new update. I'll update this in a couple days, if I can. Mojand decided to mess with magic values, aka completely removing them, so I'm not sure if I can use item ids anymore.
Finally, an item stack modifier that works with hopper item filters! Just have to be careful about stacking worn tools/weaps/armor as it will drop a new t/w/a to the worn level of one that tries to stack with it.
One problem though, since 1.6.4, there's been an error loading the mod when starting the server. We have to keep it at 1.6.2 since our item storage vault would collapse if we started it without the mod.