Having issues with Vanilla Stack Sizes.Fixed

On initial installation the plugin generates vanilla stack sizes ok, I then go on to edit the config with my custom stack sizes and restart the server, somehow though the vanilla stacksizes have risen massivley for example 5.56 ammo is at 64,000 and in game I can stack items to those levels even though the custom level says 1000, then if I make a change to the config again and restart the server, instead of reverting back the vanilla stack sizes double again so im up to 128,000 in the stack size for 5.56 ammo.

Below is my config for the plugin have i done anything wrong here?

{
"RevertStackSizesToVanillaOnUnload": false,
"AllowStackingItemsWithDurability": true,
"HidePrefixWithPluginNameInMessages": false,
"GlobalStackMultiplier": 1,
"CategoryStackMultipliers": {
"Weapon": 1,
"Construction": 100,
"Items": 100,
"Resources": 200000,
"Attire": 1,
"Tool": 100,
"Medical": 100,
"Food": 100,
"Ammunition": 1000,
"Traps": 100,
"Misc": 100,
"All": 100,
"Common": 100,
"Component": 100,
"Search": 100,
"Favourite": 100,
"Electrical": 100,
"Fun": 100
},
"IndividualItemStackMultipliers": {},
"IndividualItemStackHardLimits": {},
"VersionNumber": {
"Major": 3,
"Minor": 1,
"Patch": 0
}
}

Ive tried removing the plugin all together and resetting everything back to vanilla, but as soon as I update the config when the server first starts back up, it just goes into this ever doubling stack sizes! anyone help me out on this one?

Note it says MULTIPLIER not Limit. You're multiplying the limit by 1,000. It's working as you configured it.

Hey ... falling into that same trouble. I've set my config to multiply all Stack-Categories by let's say 200. It sets up the vanilla and custom sizes. On restart or regendatafile all entries get multiplied again. So it will reach the technical limits too soon! Oo

Edit: Seems even after unloading, deleting datafile, loading and regen it keeps those huge stacks so I seem to be stuck with too huge stacksizes now?

Revert to 3.0.0 and delete data file before loading the plugin, and have the server off when you add the plugin. In that version vanilla stack sizes are populated coffectly if you do so from a fresh server start.

Oh ok so i see now (i think) the plugin is set to multiply everything by 1 so giving vanilla sizes, but the individual categories are being multiplied by the figures I have put in, so my question is, how do i get the plugin to stick to a strict amount for each category?

Yea I need fixed amounts for the categories aswell :(

Yeah every time the plugin is refreshed it mutliplies the stack sizes of each category by the number set so the stack size is just going to keep going higher and higher. Even after I uninstalled the plugin the stack size was crazy high and wont reset to vanilla.

im having the same issue, every time i try to restart de plugin it multiplies the stacks again...

0RqqZFibyVJsmIA.jpg Jaco

Yeah every time the plugin is refreshed it mutliplies the stack sizes of each category by the number set so the stack size is just going to keep going higher and higher. Even after I uninstalled the plugin the stack size was crazy high and wont reset to vanilla.


same here... :s

This issue should be resolved in v3.1.1. If you encounter the issue again let me know.

So the issue we were having is fixed, however when you change the multiplier in the config folder, it also changes the vanilla stack size in the data folder so if you are to unload the plugin or lower the multiplier, the stack size stays at the highest multiplier you had previously. For instance, I set wood to 5 in the multiplier to test it out and now I cannot put the stack size of wood back to vanilla. I edited the .json file in the data folder back to vanilla with the multiplier at 1 in the config folder and it's staying at 5x stacks.

I'm working on a fix that, I'll have it out tonight.

Awesome, no rush. Thank you for the quick responses.

Thank you for fixing it and working on it for the wipe! Great to use the caegories now! :D

thanks for the fix !

Locked automatically