MrBlue
Allows overriding of the default stack sizes

Supported Games
GameServerKingsGameServerKings

Allows changing the default values of which items can stack.

Configuration

{
  "GameVersion": 151,
  "StackSizes": [
    {
      "Name": "Owrong",
      "StackSize": 1,
      "Guid": "123456789012345678901234567890"
    },
    {
      "Name": "OwnershipStake",
      "StackSize": 5,
      "Guid": "123456789012345678901234567890"
    },
    {
      "Name": "FirePit",
      "StackSize": 25,
      "Guid": "123456789012345678901234567890"
    },
    ...
  • GameVersion - The current game version
  • StackSizes - Contains all the items ingame
    • Name - Name of the item (readonly)
    • StackSize - Stacksize of the item
    • Guid - Guid is a uniqe identifier of the item (readoly)

Game Updates

Every game update, the plugin will move it's existing configuration to a .old (oxide/config/StackSize.json.old) file to make place for a new configuration file (oxide/config/StackSize.json). This new configuration file should contain all the updated stacksizes.

Notes

Not all items have been tested and updating the stacksize might bug the items when used/moved.

The rotting/cooking of food is unchanged, so you can't cook an entire 255 stack of steak in a single shot. The same with Owrongs. If you want to rot several Owrongs at the same time, you need to split them like before.

Credits

  • Noviets, the original author of this plugin

MIT License


Copyright (c) 2019 MrBlue


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.