So I'm looking for a way to limit the amount of specific resources that can be placed into the backpack, my Server has high stacks but I don't want people to be able to carry over 10m sulfur to the next wipe for example - As far as I know there's no current way to limit this.
Allow limiting stack size per item in backpackSuggestion
its in the documentation
Option to clear on map wipe
You can also limit the amount of rows the players backpacks have, I use this function to grant ranks (time on server) extra rows as a reward,
I do not think that the dev would change the whole structure of this plugin to mimic functions of stack size controller or similar plugin.
I don't want to wipe them each time the map wipes, I want to limit the amount of items that can be stored in it.pookins
its in the documentation
Option to clear on map wipe
You can also limit the amount of rows the players backpacks have, I use this function to grant ranks (time on server) extra rows as a reward,
I do not think that the dev would change the whole structure of this plugin to mimic functions of stack size controller or similar plugin.
There is indeed no functionality currently in the plugin that would allow you to limit the quantity of specific items in the backpack. I see two ways of potentially doing this in the future.
- Limit the stack size of specific items in the backpack. This would effectively allow reducing the total amount of specific items that the backpack could contain (e.g., 6 slots of 500 sulfur would effectively limit to 3k sulfur). With this approach, that limit would naturally scale up for players with larger backpacks since players could store more stacks of that item given more slots. This is intuitive for players since they are already used to stack sizes. I'm not completely opposed to this approach since plugins such as Chest Stacks do this for specific containers, and that plugin is really popular. If we go this route, it needs to be compatible with Stack Size Controller, ideally Stacks Extended, and also either be a low amount of code (and maintenance burden) or work via direct integration with those plugins. I haven't done much research on how stack sizes work, so not sure how much effort this would require.
- Directly limit the total quantity of specific items. For example, you could specify that the max would be 3k sulfur, which would apply regardless of the backpack size and stack size, though each set of limits would likely be tied to a permission, so you could give one player group a 6k sulfur limit if you wanted to. This means that even if the stack size of sulfur were 5k, you could only store 3k, whether that is in one stack or spread across multiple stacks.