Allows storage monitors to be deployed to more container types

Supported Games

Features

  • Allows storage monitors to be deployed to more container types
  • Configurable position and rotation for each container type
  • Self-service support for adding more container types in the config

Tip: Storage monitors don't update realtime in the Rust+ companion app when only the stack amount of an item in the container changes, but you can minimize (or close) the app and then reopen it to see up-to-date information.

Permissions

Note: Permissions are only necessary if the corresponding container type's configuration has specified "RequirePermission": true. The default is false for all preloaded container types.

  • storagemonitorcontrol.owner.all -- All containers deployed by players with this permission will be eligible to receive a storage monitor, as long as those container types are enabled in the plugin configuration.

As an alternative to the all permission, you can grant permissions by container type. These are automatically generated from the plugin configuration.

  • storagemonitorcontrol.owner.bbq
  • storagemonitorcontrol.owner.coffinstorage
  • storagemonitorcontrol.owner.composter
  • storagemonitorcontrol.owner.crudeoutput
  • storagemonitorcontrol.owner.dropbox
  • storagemonitorcontrol.owner.fridge
  • storagemonitorcontrol.owner.fuelstorage
  • storagemonitorcontrol.owner.furnace
  • storagemonitorcontrol.owner.furnace.large
  • storagemonitorcontrol.owner.guntrap
  • storagemonitorcontrol.owner.hitchtrough
  • storagemonitorcontrol.owner.hopperoutput
  • storagemonitorcontrol.owner.locker
  • storagemonitorcontrol.owner.mailbox
  • storagemonitorcontrol.owner.mixingtable
  • storagemonitorcontrol.owner.planter.small
  • storagemonitorcontrol.owner.planter.large
  • storagemonitorcontrol.owner.refinery_small
  • storagemonitorcontrol.owner.survivalfishtrap
  • storagemonitorcontrol.owner.woodbox

Note: When requiring permissions, the container must have been deployed while the player had permission or that container won't be eligible to receive a storage monitor until the next server restart. This can be improved upon request.

Configuration

Default configuration (no additional containers can receive storage monitors):

{
  "Containers": {
    "bbq.deployed": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": 0.1,
        "y": 0.0,
        "z": 0.3
      },
      "RotationAngle": 90.0
    },
    "coffinstorage": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": -0.8,
        "y": 0.57,
        "z": 0.0
      },
      "RotationAngle": 10.0
    },
    "composter": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": 0.0,
        "y": 1.54,
        "z": 0.4
      }
    },
    "crudeoutput": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": -0.4,
        "y": 0.0,
        "z": 2.5
      },
      "RotationAngle": 90.0
    },
    "dropbox.deployed": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": 0.3,
        "y": 0.545,
        "z": -0.155
      },
      "RotationAngle": 184.0
    },
    "fridge.deployed": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": -0.2,
        "y": 1.995,
        "z": 0.2
      },
      "RotationAngle": 10.0
    },
    "fuelstorage": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": 0.415,
        "y": 1.3,
        "z": 0.0
      }
    },
    "furnace": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": 0.0,
        "y": 1.53,
        "z": 0.05
      }
    },
    "furnace.large": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": 0.31,
        "y": 0.748,
        "z": -1.9
      },
      "RotationAngle": 190.0
    },
    "guntrap.deployed": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": 0.0,
        "y": 0.032,
        "z": -0.3
      },
      "RotationAngle": 180.0
    },
    "hitchtrough.deployed": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": -0.82,
        "y": 0.65,
        "z": 0.215
      }
    },
    "hopperoutput": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": -0.71,
        "y": -0.02,
        "z": 1.25
      }
    },
    "locker.deployed": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": -0.67,
        "y": 2.238,
        "z": 0.04
      },
      "RotationAngle": 10.0
    },
    "mailbox.deployed": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": 0.0,
        "y": 1.327,
        "z": 0.21
      }
    },
    "mixingtable.deployed": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": -0.9,
        "y": 0.0,
        "z": 0.0
      }
    },
    "planter.small.deployed": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": -1.22,
        "y": 0.482,
        "z": 0.3
      }
    },
    "planter.large.deployed": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": -1.22,
        "y": 0.482,
        "z": 1.22
      }
    },
    "refinery_small_deployed": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": 0.0,
        "y": 2.477,
        "z": 0.0
      },
      "RotationAngle": 180.0
    },
    "survivalfishtrap.deployed": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": 0.0,
        "y": 0.4,
        "z": -0.6
      }
    },
    "woodbox_deployed": {
      "Enabled": false,
      "RequirePermission": false,
      "Position": {
        "x": -0.24,
        "y": 0.55,
        "z": 0.14
      },
      "RotationAngle": 10.0
    }
  }
}

Note: The fuelstorage prefab refers to the fuel container for mining quarries and pump jacks.

Each container type has the following configuration options, mapped in the config to the container's prefab short name.

  • Enabled (true or false) -- Must be true for players to be able to deploy storage monitors to containers of this type.
  • RequirePermission (true or false) -- While true, only containers of this type that were deployed by players with the corresponding permission will be eligible to receive storage monitors.
    • Note: The container must have been deployed while the player had permission or that container won't be eligible to receive a storage monitor until the next server restart. This can be improved upon request.
  • Position (x, y, z) -- The position that the storage monitor will be placed in, relative to the parent container.
  • RotationAngle -- Angle at which to rotate the storage monitor around the Y axis of the parent container.

Many container types are provided in the plugin's default configuration, but you can also add other container types if you know the container's short prefab name. If you add more, please post in the plugin's help forum to suggest it be added to the default so that others can benefit from it.

MIT License

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.