[Feature Request]
Ability to change stack sizes in vending machines![]()
Stack Size Controller
Allows you to set the max stack size of every item.
Total Downloads: 39,366 - First Release: Feb 10, 2017 - Last Update: Oct 27, 2017
- 5/5, 50 likes
-
EDIT: Tried again and it works.
Don't know what happened -
- Items with durability are not added to the config, and will not stack above 1. This is done to prevent exploits.
- Items manually added to the config that have durability will automatically be changed to 1.
- If an item name has an /n in it, this is intentional, DO NOT change it, or that will break the item stacking.
- Items not being split in half and greater than 65,535 will split to 65,000 and the rest of the total amount (something involving the max 16 bit integer (65,535))
- Stacking an item over 2,147,483,647 will cause an error when loaded and will not stack the item at that number. 2,147,483,647 is the max for stack sizes for all stack size plugins.
-
I went through the file and found that I had a typo (a zero was an o). I think you should check that all is okay and it should work. -
Is there an option to increase the stackall by percentage or keyword? (double, triple, etc.)
-
Hi, i am unable to stack certain items like wooden boxes and wooden boxes large, are these blocked in config or by rust themselves and is there a workaround?
-
When I restart the server I gotta reload the plugin for it to work.
-
The error with "CanMoveItem" is still there, unfortunately.
-
Results in disconnection from server when moving Miners hat.
Are you sure it's related to this plugin? -
Code:Failed to call hook 'CanMoveItem' on plugin 'StackSizeController v1.9.9' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.StackSizeController.CanMoveItem (.Item item, .PlayerInventory inventory, UInt32 container, Int32 slot, UInt32 amount) [0x00000] in :0 at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0
Was just curious, because somebody had similar problem. -
-
-
-
hi my config is not loading it keeps wiping it back to default any fixes
-
-
thats werid all i did is added 20000 for the number
[DOUBLEPOST=1511001779][/DOUBLEPOST]Attached Files:
-
-
Attached Files:
-
-
-
[DOUBLEPOST=1511135714][/DOUBLEPOST]