Stack Size Controller

Allows you to set the max stack size of every item.

Total Downloads: 39,420 - First Release: Feb 10, 2017 - Last Update: Oct 27, 2017

5/5, 50 likes
  1. Well. i did like you say. When i Restart the server stack back do default example wood 1000. :(
    [DOUBLEPOST=1502050937][/DOUBLEPOST]
    /oxide/config/StackSizecontroller.json it's look it's fine but on the serwer back to default....

    {
    "12 Gauge Buckshot": 200,
    "12 Gauge Slug": 200,
    "5.56 Rifle Ammo": 200,
    "Animal Fat": 100000,
    "Anti-Radiation Pills": 25,
    "Apple": 50,
    "Bandage": 20,
    "Barbed Wooden Barricade": 20,
    "Beancan Grenade": 50,
    "Bear Meat": 250,
    "Bear Meat Cooked": 250,
    "Black Raspberries": 250,
    "Blueberries": 250,
    "Bone Fragments": 50000,
    "Cactus Flesh": 250,
    "Camera": 200,
    "Can of Beans": 250,
    "Can of Tuna": 250,
    "Candy Cane": 250,
    "CCTV Camera": 25,
    "Chair": 25,
    "Charcoal": 100000,
    "Chocolate Bar": 250,
    "Cloth": 100000,
    "Code Lock": 25,
    "Concrete Barricade": 20,
    "Cooked Chicken.": 250,
    "Cooked Deer Meat": 250,
    "Cooked Fish": 250,
    "Cooked Human Meat": 250,
    "Cooked Pork": 250,
    "Cooked Wolf Meat": 250,
    "Corn Seed": 200,
    "Crude Oil": 200,
    "Double Sign Post": 10,
    "Empty Can Of Beans": 250,
    "Empty Propane Tank": 200,
    "Empty Tuna Can": 250,
    "Explosive 5.56 Rifle Ammo": 200,
    "Explosives": 5000,
    "F1 Grenade": 50,
    "Furnace": 5,
    "Gears": 200,
    "Granola Bar": 250,
    "Gun Powder": 100000,
    "Handmade Shell": 200,
    "Hemp Seed": 200,
    "High External Wooden Wall": 25,
    "High Quality Metal": 100000,
    "High Quality Metal Ore": 100000,
    "High Velocity Arrow": 200,
    "High Velocity Rocket": 20,
    "Huge Wooden Sign": 10,
    "Human Skull": 15,
    "HV 5.56 Rifle Ammo": 200,
    "HV Pistol Ammo": 200,
    "Incendiary 5.56 Rifle Ammo": 200,
    "Incendiary Pistol Bullet": 200,
    "Incendiary Rocket": 20,
    "Land Mine": 25,
    "Large Banner Hanging": 10,
    "Large Banner on pole": 10,
    "Large Medkit": 25,
    "Large Wood Box": 20,
    "Large Wooden Sign": 10,
    "Leather": 100000,
    "Locker": 25,
    "Low Grade Fuel": 100000,
    "Medical Syringe": 25,
    "Metal Barricade": 20,
    "Metal Blade": 200,
    "Metal Fragments": 100000,
    "Metal Ore": 100000,
    "Metal Pipe": 200,
    "Metal Spring": 200,
    "Minnows": 250,
    "Mushroom": 250,
    "Note": 25,
    "One Sided Town Sign Post": 10,
    "Paper": 25,
    "Pistol Bullet": 200,
    "Portrait Picture Frame": 10,
    "Pumpkin Seed": 200,
    "Raw Chicken Breast": 250,
    "Raw Deer Meat": 250,
    "Raw Fish": 250,
    "Raw Human Meat": 250,
    "Raw Pork": 250,
    "Raw Wolf Meat": 250,
    "Road Signs": 200,
    "Rocket": 20,
    "Rope": 200,
    "Salvaged Shelves": 10,
    "Sandbag Barricade": 20,
    "Satchel Charge": 20,
    "Scrap": 200,
    "Semi Automatic Body": 200,
    "Sewing Kit": 200,
    "Sheet Metal": 200,
    "Single Sign Post": 10,
    "Small Stash": 10,
    "Small Trout": 250,
    "Small Wooden Sign": 10,
    "SMG Body": 200,
    "Smoke Rocket WIP!!!!": 20,
    "Stone Barricade": 20,
    "Stones": 100000,
    "Sulfur": 100000,
    "Sulfur Ore": 100000,
    "Survey Charge": 25,
    "Tall Picture Frame": 10,
    "Targeting Computer": 200,
    "Tarp": 25,
    "Tech Trash": 200,
    "Timed Explosive Charge": 20,
    "Tool Cupboard": 5,
    "Two Sided Hanging Sign": 10,
    "Two Sided Ornate Hanging Sign": 10,
    "Two Sided Town Sign Post": 10,
    "Wolf Skull": 15,
    "Wood": 100000,
    "Wood Storage Box": 20,
    "Wooden Arrow": 200,
    "Wooden Barricade": 20,
    "Wooden Floor Spikes": 5,
    "Wooden Sign": 10,
    "XL Picture Frame": 10,
    "XXL Picture Frame": 10
    }
     
  2. Never said to restart it
    Does it only happen for wood
     
  3. My server is restart evry 24hrs. and all stack back to default.
     
  4. There's no solution to this as of now, as I don't seem to be having the issue and cannot reproduce it. What you or someone else who has the issue can try to do is insert this piece of code to the StackSizeController.cs file:
    Code:
    Puts(string.Format("Changed item {0} stacksize to {1}, config stack value is {2}", item.displayName.english, item.stackable.ToString(), Config[item.displayName.english])); //Insert under line 53 and before line 54
    On server restart, this will spam console a little bit, but it will give some more insight to the issue. Check your logs after a server restart to get the returned info, and do be sure to paste the results here in a
    Code:
     code box
     
    Last edited by a moderator: Aug 9, 2017
  5. i am having the issue that the "bear meat cooked" is set to 800 but now stacks at 20 ?
    I have checked the config and it is set to 800 , reloaded plugin but still the same.
    I have not as yet checked all the items but all those i have checked seem unchanged
     
  6. same at me
     
  7. same problem for us :(
    [DOUBLEPOST=1502418607][/DOUBLEPOST]
    edit StackSizeController.json in "oxide/config" path

    " Cooked Bear Meat": 1000, [With a space before Cooked ]
    instead
    "Bear Meat Cooked": 1000,
     
  8. thank you mate havent seen this line .
     
  9. problem fixed,. thank you
     
  10. I'm having the same problem with Raw Bear Meat that we were having with Cooked Bear Meat. but putting a [space] in front of Raw didn't fix it. can't stack raw bear meat more than 20
     
  11. Look at the start of your config file
    stacksizecontroller.png
     
  12. The cooked Bear Meat is working just fine. its the Raw Bear Meat that isn't staking more than 20
     
  13. Try with "Bear Meat"

    stacksizecontroller2.png
     
  14. I have tried the following.

    "Bear Meat": 1000,
    " Bear Meat": 1000,
    " Raw Bear Meat": 1000,
    "Raw Bear Meat": 1000,

    no luck
     
  15. silly question, :/ Have you reloaded your plugin? oxide.reload StackSizeController
     
  16. Yup :-D each time
     
  17. Sorry, I really do not understand like you :(
     
  18. Have you try another number and RESTART the server ?

    Edit: with "Bear Meat": 500, like
     
  19. FOUND IT!!!!
    I found two Raw Bear Meat and two Raw Chicken entry's in the config file.
    Just doing some code clean up now.. checking for more doubles.
     
  20. can some 1 help me