Stack Size Controller

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

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

5/5, 50 likes
  1. Hey guys, not sure if the question has been answered but I couldn't find it. Is there a way to set stack sizes to simply be double instead of a set number? i.e. 2,000 wood instead of 1,000, 4 syringes instead of 2, etc.
     
  2. Whispers 88,

    Thanks for the advice,

    I had restarted the server multiple times prior to enquiring, with no luck. I have tried as you said and am still receiving a failed to call hook error. Although the config file is not working in game, I can manually set the stacks with chat commands and they work. Although after a server restart all stacks are back to default size.

    Here's the command line after inputting "oxide.reload StackSizeController"

    "(18:11:58) | Unloaded plugin Stack Size Controller v1.9.9 by Canopy Sheep
    (18:11:58) | Failed to call hook 'OnServerInitialized' on plugin 'StackSizeController v1.9.9' (InvalidCastException: Specified cast is not valid.)
    at Oxide.Plugins.StackSizeController.OnServerInitialized () [0x0012c] in <a26ce617f4b24bc59b05790951fe7e2e>:0
    at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00038] in <a26ce617f4b24bc59b05790951fe7e2e>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <db8eacac902a4df4bfeb92f0619ac1c8>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bfa4e457157d4e089ab91719c5b1288b>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bfa4e457157d4e089ab91719c5b1288b>:0
    (18:11:58) | Loaded plugin Stack Size Controller v1.9.9 by Canopy Sheep"

    Any help would be greatly appreciated.

    I'm sure oxide is fine as I have other plugins loaded that are working fine, my only issue is with this one.
     
  3. @Canopy Sheep Are you able to add the following things inside of this plugins the 1 the electic fuse and the cards like the green and blue cards those are litterly new items from the game self I wanted to getting stacked aswell because it takes to much space from your chests
     
  4. @Whispers 88 see my reply above^ forgot to mention you in it :D
     
  5. i cant find an answer... my stack settings arent reloading upon a restart... the json file says the same as i want just server doesnt load the stats. plugin loads fine otherwise
     
  6. How do i install the mod to my server, I bought 1 on ServersFTW but cant figur eout how to do anything please help
     
  7. Its why you pay for a host support is part of it ask them
     
  8. what do you mean?
    [DOUBLEPOST=1532794607][/DOUBLEPOST]where do i put the stack mod file after i install it like what folder
     
  9. ask your support as you have not given any screenshots of your files we cant help with no info
     
  10. These are them but i tried contacting it said try agaain later
    [DOUBLEPOST=1532795222][/DOUBLEPOST]all i wanted was a 2x solo/duo/trio 5k stacks but it is hard as heck
    [DOUBLEPOST=1532795439][/DOUBLEPOST]has anyone else bought a server from ServersFTW?
    [DOUBLEPOST=1532796446][/DOUBLEPOST]do i have to install oxide?
     

    Attached Files:

  11. go into the server folder and take a ss and yes oxide needs installed but server needs to be offline
     
  12. wdym take a ss
    [DOUBLEPOST=1532797750][/DOUBLEPOST]omg so how do i install oxide into the server
    [DOUBLEPOST=1532797769][/DOUBLEPOST]im so angry im about to get a refund :(
     
  13. You have a panel from your host look at it or send in a support ticket if you cant wait ss of the panel helps better
     
  14. Rebooted my server updated steam and now stacksizecontroller not loading, 1000 stacks only, removed plugin, and cfg, reinstalled and rebooted server, not loading and no cfg?
     
  15. oxide needs to be reinstalled after you run a update
     
  16. Is this still being managed?
     
  17. Should this have updates for all the new updates that have been added past year?

    Would maybe also be nice if the config got split in categories

    like
    Code:
    //Food 
      "Cooked Bear Meat": 1000,
      "Cooked Chicken": 1000,
      "Cooked Deer Meat": 1000,//Ammo
      "12 Gauge Buckshot": 10000,
      "12 Gauge Incendiary Shell": 10000,
      "12 Gauge Slug": 10000,//Components//Toolsetc
    
     
    Last edited by a moderator: Aug 8, 2018
  18. its not workign for me am i doing something wrong
     
  19. You just can't edit the jsonfile if you wanted to have new stuff wanted to have stackted inside of the game you've to make it work through the plugin self so that means you've to update the cs file otherways it won't work
     
  20. Hey I have been trying to use this mod, and it says I do not have permission to use the command? yet I made myself admin through the website where the server comes from?