and here is the log file: https://pastebin.com/9KthVntc
From what I can tell your plugin is not writing the config into the StackSizeController.json. But I'm just guessing that is how it works so I could be totally wrong.
Zagan
Ok, well I found the logs now that you mentioned "Oxide Logs" I figured out where to look. Is there a way to send them to you CanopySheep?
I'm looking now in the oxcide data folder and there is a StackSizeController.json in there and it looks like all the stack sizes are set to default.
The Stacksizes in the CONFIG folder are for general stack limits,
{
"Settings": {
"DefaultStack": 1000,
"NewCategoryDefaultSetting": 100,
"StackHealthItems": true,
"CategoryDefaultStack": {
"Ammunition": 1000,
"Attire": 5,
"Component": 500,
"Construction": 200,
"Food": 1000,
"Items": 100,
"Medical": 50,
"Misc": 1000,
"Resources": 200000,
"Traps": 500,
"Weapon": 5,
"Electrical": 20,
"Fun": 0,
"Tool": 5
}
}
}The settings in the DATA folder StackSizeController.json are for specific items
{
"itemlist": {
"8x Zoom Scope": 5,
"Assault Rifle": 5,
"Handmade Shell": 1000,
"Pistol Bullet": 1000,
"Incendiary Pistol Bullet": 1000,
"HV Pistol Ammo": 1000,
"5.56 Rifle Ammo": 1000,
"Explosive 5.56 Rifle Ammo": 1000,
"Incendiary 5.56 Rifle Ammo": 1000,
"HV 5.56 Rifle Ammo": 1000,
"Rocket": 100,
"Incendiary Rocket": 100,
"High Velocity Rocket": 100,
"Smoke Rocket WIP!!!!": 100,
"12 Gauge Buckshot": 1000,
"12 Gauge Incendiary Shell": 1000,
"12 Gauge Slug": 1000,
"AND Switch": 15,
"Anti-Radiation Pills": 1000,
"Apple": 1000,
"Rotten Apple": 1000,
"Bone Arrow": 100,
"Fire Arrow": 100,
"High Velocity Arrow": 100,
"Wooden Arrow": 100,
"Audio Alarm": 15,
"Auto Turret": 500,
"Salvaged Axe": 5,
"Bandage": 50,
"A Barrel Costume": 5,
"Concrete Barricade": 20,
"Metal Barricade": 20,
"Sandbag Barricade": 20,
"Stone Barricade": 20,
"Wooden Barricade": 20,
"Barbed Wooden Barricade": 20,
"Battery - Small": 20,
"Barbeque": 10,
"Snap Trap": 50,
"Bed": 10,
"Binoculars": 5,
"Black Raspberries": 1000,
"Bleach": 50,
"Blood": 50,
"Blueberries": 1000,
"Blueprint": 5,
"Bolt Action Rifle": 5,
"Bone Club": 5,
"Bone Fragments": 2000,
"Bota Bag": 10,
"Hunting Bow": 5,
"Large Wood Box": 100,
"Wood Storage Box": 100,
"Water Bucket": 5,
"Building Plan": 20,
"Burlap Shirt": 5,
"Burlap Shoes": 5,
"Butcher Knife": 5,
"Cable Tunnel": 15,
"Cactus Flesh": 1000,
"Birthday Cake": 5,
"Camera": 15,
"Camp Fire": 100,
"Can of Beans": 100,
"Empty Can Of Beans": 200,
"Can of Tuna": 100,
"Empty Tuna Can": 200,
"Candy Cane Club": 5,
"Candy Cane": 100,
"Cursed Cauldron": 5,
"CCTV Camera": 2000,
"Ceiling Light": 100,
"Chainsaw": 5,
"Chair": 10,
"Charcoal": 600000,
"Burnt Chicken": 100,
"Cooked Chicken": 1000,
"Raw Chicken Breast": 1000,
"Spoiled Chicken": 100,
"Chinese Lantern": 10,
"Chocolate Bar": 100,
"Christmas Door Wreath": 100,
"Cloth": 300000,
"Coal :(": 200000,
"Coffin": 5,
"Compound Bow": 5,
"Corn": 1000,
"Corn Clone": 100,
"Corn Seed": 100,
"Counter": 15,
"Crossbow": 5,
"Crude Oil": 200000,
"Tool Cupboard": 20,
"RF Transmitter": 15,
"Diving Fins": 15,
"Diving Mask": 15,
"Diving Tank": 15,
"Wetsuit": 20,
"Sheet Metal Double Door": 20,
"Armored Double Door": 20,
"Wood Double Door": 20,
"Sheet Metal Door": 20,
"Armored Door": 20,
"Wooden Door": 20,
"Door Key": 5,
"Door Closer": 20,
"Door Controller": 15,
"Festive Doorway Garland": 100,
"Dragon Door Knocker": 100,
"Drop Box": 100,
"Duct Tape": 500,
"Flasher Light": 15,
"Siren Light": 15,
"Blocker": 15,
"Electrical Branch": 15,
"Root Combiner": 15,
"Memory Cell": 15,
"RAND Switch": 15,
"Satchel Charge": 50,
"Timed Explosive Charge": 50,
"Explosives": 200000,
"m-facialhair01": 5,
"Animal Fat": 200000,
"f-armpit01": 5,
"f-eyebrow01": 5,
"f-pubic01": 5,
"f-hairstyle-1": 5,
"f-hairstyle-3": 5,
"f-hairstyle-5": 5,
"Stone Fireplace": 10,
"Cooked Fish": 1000,
"Raw Fish": 1000,
"Handmade Fishing Rod": 5,
"Flame Thrower": 5,
"Flame Turret": 500,
"Flare": 600,
"Flashlight": 5,
"Weapon flashlight": 5,
"Floor grill": 20,
"Ladder Hatch": 20,
"Fogger-3000": 100,
"Fridge": 100,
"Frog Boots": 5,
"Low Grade Fuel": 600000,
"Furnace": 100,
"Large Furnace": 100,
"Electric Fuse": 15,
"High External Stone Gate": 20,
"High External Wooden Gate": 20,
"Gears": 500,
"Geiger Counter": 15,
"Small Generator": 500,
"Wind Turbine": 10,
"Giant Candy Decor": 5,
"Giant Lollipop Decor": 5,
"Burlap Gloves": 5,
"Leather Gloves": 5,
"Roadsign Gloves": 5,
"Tactical Gloves": 50,
"Glowing Eyes": 5,
"Glue": 500,
"Granola Bar": 100,
"Gravestone": 5,
"Wooden Cross": 5,
"Graveyard Fence": 5,
"Beancan Grenade": 50,
"F1 Grenade": 50,
"Acoustic Guitar": 5,
"Gun Powder": 600000,
"Hab Repair": 5,
"m-hairstyle-1": 5,
"f-hairstyle-2": 5,
"Scarecrow Wrap": 5,
"Hide Halterneck": 5,
"Hammer": 5,
"Salvaged Hammer": 5,
"Beenie Hat": 5,
"Boonie Hat": 5,
"Bucket Helmet": 5,
"Burlap Headwrap": 5,
"Candle Hat": 5,
"Baseball Cap": 5,
"Clatter Helmet": 5,
"Coffee Can Helmet": 5,
"Bone Helmet": 5,
"Dragon Mask": 5,
"Heavy Plate Helmet": 5,
"Miners Hat": 5,
"Party Hat": 5,
"Reindeer Antlers": 5,
"Riot Helmet": 20,
"Wolf Headdress": 5,
"Wood Armor Helmet": 5,
"Hatchet": 5,
"Hazmat Suit": 50,
"HBHF Sensor": 15,
"Hemp Clone": 100,
"Hemp Seed": 100,
"Hide Boots": 5,
"Hide Skirt": 5,
"Hide Vest": 5,
"Holosight": 50,
"Hoodie": 5,
"High Quality Metal Ore": 600000,
"Burnt Human Meat": 100,
"Cooked Human Meat": 100,
"Raw Human Meat": 100,
"Spoiled Human Meat": 100,
"Salvaged Icepick": 5,
"Bone Armor": 5,
"Heavy Plate Jacket": 5,
"Snow Jacket": 5,
"Jacket": 5,
"Jackhammer": 5,
"Jack O Lantern Angry": 100,
"Jack O Lantern Happy": 100,
"Blue Keycard": 100,
"Green Keycard": 100,
"Red Keycard": 100,
"Bone Knife": 5,
"L96 Rifle": 5,
"Wooden Ladder": 20,
"Land Mine": 50,
"Lantern": 100,
"Large Rechargable Battery": 15,
"Large Candle Set": 5,
"Large Medkit": 100,
"Laser Detector": 15,
"Weapon Lasersight": 50,
"Leather": 100000,
"Code Lock": 20,
"Key Lock": 20,
"Locker": 100,
"Longsword": 5,
"LR-300 Assault Rifle": 5,
"M249": 5,
"M39 Rifle": 5,
"M92 Pistol": 5,
"Mace": 5,
"Machete": 5,
"Mail Box": 100,
"m-facialhair02": 5,
"m-facialhair03": 5,
"m-facialhair04": 5,
"m-hairstyle-2": 5,
"m-hairstyle-4": 5,
"m-armpit01": 5,
"m-eyebrow01": 5,
"m-pubic01": 5,
"m-hairstyle-3": 5,
"m-hairstyle-5": 5,
"Paper Map": 10,
"Improvised Balaclava": 5,
"Bandana Mask": 5,
"Metal Facemask": 5,
"Burnt Bear Meat": 1000,
"Cooked Bear Meat": 1000,
"Raw Bear Meat": 1000,
"Burnt Deer Meat": 1000,
"Cooked Deer Meat": 1000,
"Raw Deer Meat": 1000,
"Burnt Horse Meat": 1000,
"Cooked Horse Meat": 1000,
"Raw Horse Meat": 1000,
"Burnt Pork": 1000,
"Cooked Pork": 1000,
"Raw Pork": 1000,
"Burnt Wolf Meat": 1000,
"Cooked Wolf Meat": 1000,
"Raw Wolf Meat": 1000,
"Spoiled Wolf Meat": 1000,
"Metal Fragments": 600000,
"Metal Ore": 600000,
"Metal Chest Plate": 5,
"High Quality Metal": 600000,
"Metal Blade": 500,
"Metal Pipe": 500,
"MC repair": 15,
"Pump Jack": 20,
"Mining Quarry": 20,
"Minnows": 1000,
"MP5A4": 5,
"Mushroom": 1000,
"Muzzle Boost": 5,
"Muzzle Brake": 5,
"Nailgun": 5,
"Nailgun Nails": 1000,
"Note": 5,
"OR Switch": 15,
"Burlap Trousers": 5,
"Pants": 5,
"Heavy Plate Pants": 5,
"Hide Pants": 5,
"Road Sign Kilt": 5,
"Shorts": 5,
"Paper": 2000,
"Pickaxe": 5,
"Pickles": 100,
"Eoka Pistol": 5,
"Revolver": 5,
"Semi-Automatic Pistol": 5,
"Pitchfork": 5,
"Large Planter Box": 100,
"Small Planter Box": 100,
"Hide Poncho": 5,
"Pookie Bear": 100,
"Large Present": 5,
"Medium Present": 5,
"Small Present": 5,
"Pressure Pad": 15,
"Empty Propane Tank": 50,
"Pumpkin": 1000,
"Pumpkin Plant Clone": 100,
"Pumpkin Seed": 100,
"Python Revolver": 5,
"Reactive Target": 100,
"Repair Bench": 10,
"Research Table": 10,
"Research Paper": 200,
"RF Broadcaster": 15,
"RF Pager": 15,
"RF Receiver": 15,
"Rifle Body": 5,
"Road Sign Jacket": 5,
"Road Signs": 5,
"Rock": 5,
"Rocket Launcher": 15,
"Rope": 10000,
"Rug Bear Skin": 100,
"Rug": 100,
"Salt Water": 2000000,
"Salvaged Cleaver": 5,
"Salvaged Sword": 5,
"SAM Ammo": 1000,
"SAM Site": 50,
"Santa Hat": 5,
"Scarecrow": 100,
"Scientist Suit": 50,
"Scrap": 600000,
"Search Light": 100,
"Semi-Automatic Rifle": 5,
"Semi Automatic Body": 5,
"Sewing Kit": 200,
"Sheet Metal": 2000,
"Salvaged Shelves": 100,
"Shirt": 5,
"Tank Top": 5,
"Boots": 5,
"Double Barrel Shotgun": 5,
"Pump Shotgun": 5,
"Waterpipe Shotgun": 5,
"Shotgun Trap": 20,
"Metal horizontal embrasure": 20,
"Metal Vertical embrasure": 20,
"Wood Shutters": 20,
"Sickle": 5,
"Large Banner Hanging": 10,
"Two Sided Hanging Sign": 10,
"Two Sided Ornate Hanging Sign": 10,
"Landscape Picture Frame": 10,
"Portrait Picture Frame": 10,
"Tall Picture Frame": 10,
"XL Picture Frame": 10,
"XXL Picture Frame": 10,
"Large Banner on pole": 10,
"Double Sign Post": 10,
"Single Sign Post": 10,
"One Sided Town Sign Post": 10,
"Two Sided Town Sign Post": 10,
"Huge Wooden Sign": 10,
"Large Wooden Sign": 10,
"Wooden Sign": 10,
"Small Wooden Sign": 10,
"Silencer": 5,
"Simple Light": 5,
"Simple Handmade Sight": 5,
"Skull Fire Pit": 100,
"Human Skull": 200,
"Wolf Skull": 200,
"Sleeping Bag": 100,
"Small Rechargable Battery": 15,
"Small Oil Refinery": 10,
"Small Stash": 100,
"Small Candle Set": 5,
"Small Trout": 100,
"Small Water Bottle": 10,
"Custom SMG": 5,
"SMG Body": 5,
"Smoke Grenade": 50,
"Snowball": 5,
"Snow Machine": 5,
"Snowman": 10,
"Large Solar Panel": 15,
"Spas-12 Shotgun": 5,
"Stone Spear": 5,
"Wooden Spear": 5,
"Spider Webs": 5,
"Wooden Floor Spikes": 500,
"Spinning wheel": 100,
"Splitter": 50,
"Spooky Speaker": 15,
"Metal Spring": 500,
"Sticks": 500,
"SUPER Stocking": 100,
"Small Stocking": 100,
"Stone Pickaxe": 5,
"Stone Hatchet": 5,
"Stones": 600000,
"Strobe Light": 50,
"Sulfur": 600000,
"Sulfur Ore": 600000,
"Supply Signal": 100,
"Survey Charge": 50,
"Survival Fish Trap": 100,
"Switch": 15,
"Medical Syringe": 100,
"Table": 100,
"Targeting Computer": 2000,
"Tarp": 50,
"Tech Trash": 5000,
"Thompson": 5,
"Timer": 15,
"Torch": 5,
"Decorative Baubels": 5,
"Decorative Plastic Candy Canes": 5,
"Decorative Gingerbread Men": 5,
"Tree Lights": 5,
"Decorative Pinecones": 5,
"Star Tree Topper": 5,
"Decorative Tinsel": 5,
"T-Shirt": 5,
"Longsleeve T-Shirt": 5,
"Tuna Can Lamp": 100,
"Vending Machine": 100,
"High External Stone Wall": 200,
"High External Wooden Wall": 200,
"Prison Cell Gate": 20,
"Prison Cell Wall": 20,
"Chainlink Fence Gate": 20,
"Chainlink Fence": 20,
"Garage Door": 20,
"Netting": 20,
"Shop Front": 20,
"Metal Shop Front": 20,
"Metal Window Bars": 20,
"Reinforced Window Bars": 20,
"Wooden Window Bars": 20,
"Reinforced Glass Window": 20,
"Watch Tower": 20,
"Water": 2000000,
"Large Water Catcher": 20,
"Small Water Catcher": 20,
"Water Barrel": 100,
"Water Jug": 5,
"Water Purifier": 100,
"Festive Window Garland": 100,
"Wire Tool": 15,
"Wood": 600000,
"Wood Chestplate": 5,
"Wood Armor Pants": 5,
"Work Bench Level 1": 10,
"Work Bench Level 2": 10,
"Work Bench Level 3": 10,
"Christmas Lights": 100,
"Christmas Tree": 100,
"XOR Switch": 15,
"Heavy Scientist Suit": 5,
"40mm Shotgun Round": 1000,
"40mm HE Grenade": 1000,
"40mm Smoke Grenade": 1000,
"16x Zoom Scope": 5,
"Combat Knife": 5,
"Multiple Grenade Launcher": 20,
"Bronze Egg": 1000,
"Bunny Onesie": 5,
"Egg Basket": 1000,
"Easter Door Wreath": 100,
"Gold Egg": 1000,
"Bunny Ears": 5,
"Painted Egg": 1000,
"Rustigé Egg - Red": 1000,
"Rustigé Egg - Blue": 1000,
"Silver Egg": 1000,
"Chippy Arcade Game": 100,
"Hitch & Trough": 100,
"Diesel Fuel": 200000,
"ScrapTransportHeliRepair": 1000,
"Test Generator": 2000,
"Roadsign Horse Armor": 5,
"Wooden Horse Armor": 5,
"Saddle bag": 5,
"High Quality Horse Shoes": 5,
"Basic Horse Shoes": 5,
"Tesla Coil": 100,
"Crate Costume": 5,
"Mummy Suit": 5,
"Scarecrow Suit": 5,
"Halloween Candy": 1000,
"Large Loot Bag": 1000,
"Medium Loot Bag": 1000,
"Small Loot Bag": 1000,
"Pumpkin Bucket": 1000,
"Skull Door Knocker": 100,
"Surgeon Scrubs": 5,
"Medium Rechargable Battery": 100,
"Shovel Bass": 100,
"Cowbell": 100,
"Junkyard Drum Kit": 100,
"Pan Flute": 100,
"Jerry Can Guitar": 100,
"Wheelbarrow Piano": 100,
"Canbourine": 100,
"Plumber's Trumpet": 100,
"Sousaphone": 100,
"Xlyobone": 100,
"Garry's Mod Tool Gun": 100,
"Deluxe Christmas Lights": 20,
"Santa Beard": 5,
"Wrapped Gift": 1000,
"Wrapping Paper": 1000
}
}I took my time and went through the data\StackSizeController.json to get the stack sizes i wanted and if i needed to change any i did it using the chat commands
Zagan
OK, here is the StackSizeController.json: https://pastebin.com/BimJxEAb
and here is the log file: https://pastebin.com/9KthVntc
From what I can tell your plugin is not writing the config into the StackSizeController.json. But I'm just guessing that is how it works so I could be totally wrong.
Please read the plugin documentation before posting next time. The stacks are written to the data file in oxide/data, not the config. The config handles items added in the future.
Zagan
OK, so how does that help me? Your plugin still doesn't work. If i have to go into the DATA folder StackSizeController.json and make the edits then what is the point of your plugin? Isn't it suposed to set these things for me by groups so I don't have to go through hundreds of items to set the stack size myself?
I went though the hassle of pasting my logs and config files just to have you lecture me on your documentation. Your plugin needs work and people are complianing about it. What you gonna do about it?
As i last posted , The Config json file will allow you to set the general stack limits and the Data json will give you specific stack sizes, For instance I have weapons set as "5" in the Config settings but have the grenade launcher set at "20" in the Data folder, As the data folder is the main settings the game uses it overrides the config setting, If you want the stacks set to your specifics you have to do the work, its no good demanding the dev has to do anything as they do the work for nothing and not much thanks and have to put up with far too many complaints that are in the most cases user generated, Try posting your CONFIG and your Data json file (using my previouse post as an example) so that anything that needs fixing is readily seen.
AND
According to your log file the plugin compiled ! , So the plugin is working and your settings are not ,
Zagan
OK, so how does that help me? Your plugin still doesn't work. If i have to go into the DATA folder StackSizeController.json and make the edits then what is the point of your plugin? Isn't it suposed to set these things for me by groups so I don't have to go through hundreds of items to set the stack size myself?
I went though the hassle of pasting my logs and config files just to have you lecture me on your documentation. Your plugin needs work and people are complianing about it. What you gonna do about it?
This plugin does not need any work, as it is working perfectly. The latest update has over 5,000 downloads, and a (generously) estimated 20 support posts. Going with those numbers, 0.5% of people have had "issues" that required a post. Not to mention I have multiple servers of my own running this plugin flawlessly. I'd say the plugin is working as intended.
If you read the documentation, it states you can use the "default" argument while using the chat command "/stackall default" or the console command "stackall default" to stack all items according to the config.
CanopySheep
This plugin does not need any work, as it is working perfectly. The latest update has over 5,000 downloads, and a (generously) estimated 20 support posts. Going with those numbers, 0.5% of people have had "issues" that required a post. Not to mention I have multiple servers of my own running this plugin flawlessly. I'd say the plugin is working as intended.
If you read the documentation, it states you can use the "default" argument while using the chat command "/stackall default" or the console command "stackall default" to stack all items according to the config.
Man that was like pulling teeth from a badger without novacaine. All that fuss and attitude just to get the answer....
"Use the "default" argument while using the chat command "/stackall default" or the console command "stackall default" to stack all items according to the config."
Razor14150I still dont have the current version of this working on my servers. I still have to run version 1.9.9 for this addon to even remotely work on our linux servers... and saying jsut to have us reload the addon every X amount of time isnt a fix but a temporary work around while the dev should be looking for a proper fix for there addon.
I have been unable to reproduce the issue you're refering to, there has been little to no lead regarding that. The only lead I have is it relates to Linux servers, that's about it. There is also 0 indication that it wouldn't work logically. Any further details and input would be greatly appreciated. Do other plugins have similar issues? The plugin is loading, correct? Logs don't indicate anything?
I will mention that there was a dramatic change in 2.0.0 (the version after 1.9.9). Meaning you have to wipe your config if you haven't already, and that the new stack sizes are in the oxide data folder (oxide/data/stacksizecontroller.json). Doesn't seem like that's your problem since you mention "reload the addon." Other than that, there's no major changes between the versions regarding the use of Oxide hooks.
Hi
Firstly, I'd like to thank CanopySheep for all the effort that went into this mod.
However, I'm mostly writing this comment to indicate:
I was looking for a stack size mod and, no surprise, found this one listed on uMod.
Having taken the time to read the comments as well as the instructions, I was a little hesitant to install the mod on my server... but I gave it shot anyway.
My server machine is a Linux box, and Stack Size Controller was installed alongside a modest number of other mods.
I then went through the settings in .../oxide/data/StackSizeController.json , as per the instructions, and carefully changed specific stack sizes as I saw fit.
I then performed an o.reload StackSizeController via rcon and, lo and behold, it worked as intended.
Thanks again for the very configurable mod, CanopySheep - mod authors are indeed underappreciated and often over-criticized by lazy / seemingly-illiterate individuals.
Perhaps some competent people have been encountering genuine issues with getting this mod to work, but I just wanted to put it out there that this thread might the result of potential ineptitude.
-Yv
I will be marking this thread as "Not an issue" after extensive testing on Linux based Rust servers, one was a personal virtual machine, and the other was a trial dedicated server from a hosting company. Neither experienced any problem loading the plugin and adjusting the stack sizes, even after restart. I tested both the ingame commands and editing the data file manually (which requires a reload!). Users using FTP should be sure their data file is reuploaded to their server after modification. After modifying the file, "oxide.reload StackSizeController" should be used to reload the plugin and read the new data file. This also applies to the config file.
If you are still experiencing the issue where "the plugin is not changing stack sizes when the server starts up," please double check your files, check over the documentation, check logs to make sure there are no errors, and/or contact your hosting company. From what I have found, the plugin is not at fault.
If you still need assistance after everything above, please create a new thread with detailed descriptions of what the problem is.
YvosciaHi
Firstly, I'd like to thank CanopySheep for all the effort that went into this mod.However, I'm mostly writing this comment to indicate:
I was looking for a stack size mod and, no surprise, found this one listed on uMod.
Having taken the time to read the comments as well as the instructions, I was a little hesitant to install the mod on my server... but I gave it shot anyway.
My server machine is a Linux box, and Stack Size Controller was installed alongside a modest number of other mods.
I then went through the settings in .../oxide/data/StackSizeController.json , as per the instructions, and carefully changed specific stack sizes as I saw fit.
I then performed an o.reload StackSizeController via rcon and, lo and behold, it worked as intended.
Thanks again for the very configurable mod, CanopySheep - mod authors are indeed underappreciated and often over-criticized by lazy / seemingly-illiterate individuals.Perhaps some competent people have been encountering genuine issues with getting this mod to work, but I just wanted to put it out there that this thread might the result of potential ineptitude.
-Yv
Thank you!