Plugin category: Suggested name: MaxStack What I want: I need just a simple plugin that allows me to configure item/block or food maxstack. For default, most of the items and blocks are maxstack 60, and i'd like to change it to 1. Config file would be nice, so i can change the arrow, or other items max stack. Config file example: Code: # MaxStack v1.0 # 'dirt,1' # Dirt is the item/block or food name. # 1 is the maxstack. enabled=true items: 'dirt,1' 'stone,1 'arrow,15' If possible, i would like it to be that easy, just doing 'item,1' Also using item ids would be nice.. like '373,1' 373 is water bottle (potion) Ideas for commands: No commands needed for this plugin. Ideas for permissions: No permissions needed for this plugin. When I'd like it by: ASAP.
So, just to clarify the first post, you want a plugin which will only allow players to have the maximum of the items defined? Example: dirt: 1 Would this mean that all players will only be allowed to have just 1 dirt in their inventory? Or: Would this mean that all players will be allowed to have 1 dirt per stack, so the next time they get dirt, it will be in another slot?
Alright. I just wanted to make it slightly clearer for anyone else that wishes to take this request. I am pretty busy with a big plugin I am developing at the moment.
Woobie http://dev.bukkit.org/server-mods/stackableitems/ I found this right as i was finishing up. I suggest you use this as it's farther along in development and has the features you requested.
I actually tried to use stackable items, but i dont even know how to use it, too complicated. Just tell me if you're going to continue developing the plugin, or do i learn how to use Stackable items?
Lemme just debug 2 more things and then its done I currently have it set so you choose your items, and set a max stack size for all of them. If you want to set the max stack size for each item seperatly, it's going to take a lot more work.
Woobie do All items Max: 1 ARROW: 15 and so on for stackable items. You have to use the bukkit item name list. I could send you a config if you tell me what items you want to stack and how much they stack to. EDIT by Moderator: merged posts, please use the edit button instead of double posting.