- Allows increasing capacity of built-in vehicle storage
- Allows adding unlimited configurable storage containers to vehicles
- Allows both of the above to be dynamic based on vehicle owner permissions
- Additional storage containers will drop their items when the vehicle is destroyed.
- Compatible with Claim Vehicle, allowing storage to dynamically change when a player claims a vehicle.
- Granting permission to a user, granting permission to a group, or adding a user to a group will automatically add or update storage on applicable owned vehicles.
- Once a storage container's capacity has been increased, it will never be reduced until server restart, even if the configuration changes or if the player loses permission. This can be improved upon request.
- Once a storage container has been spawned on a vehicle, it will not be removed until the vehicle is destroyed. This can be improved upon request.
Note: Permissions are an optional feature of this plugin. If you simply want to alter the storage capacity of all vehicles of a given type, or if you want to add extra storage containers to all vehicles of a given type, skip ahead to the Configuration section and configure the DefaultProfile of the vehicles you care about.
Permissions in this plugin apply solely based on vehicle ownership. Vehicle ownership is not a vanilla Rust concept. This means that, except for Kayaks, you will need another plugin to assign vehicle ownership. Fortunately, many plugins already do, and some are quite immersive.
- Vehicle Vendor Options -- Automatically assigns ownership of vehicles purchased at vanilla NPC vendors if the player has permission.
- Craft Car Chassis -- Automatically assigns ownership of cars built by players, if the config option for that is enabled.
- Claim Vehicle -- Allows players with permission to claim ownership of unowned vehicles using a command on cooldown.
- Vehicle License, Spawn Modular Car and other similar plugins that spawn vehicles for players will automatically assign ownership.
The following permissions come with this plugin's default configuration. You can fully customize these presets, as well as add new ones in the plugin configuration. If a player has permission to multiple presets for a given vehicle, the last will be used, based on the order in the config.
vehiclestorage.ridablehorse.1stash-- 1 x 42-slot stash (42 total capacity)vehiclestorage.ridablehorse.2stashes-- 2 x 42-slot stash (84 total capacity)
vehiclestorage.modularcarcamper.3rows-- 3 rows (18 total capacity)vehiclestorage.modularcarcamper.4rows-- 4 rows (24 total capacity)vehiclestorage.modularcarcamper.5rows-- 5 rows (30 total capacity)vehiclestorage.modularcarcamper.6rows-- 6 rows (36 total capacity)vehiclestorage.modularcarcamper.7rows-- 7 rows (42 total capacity)vehiclestorage.modularcarcamper.8rows-- 8 rows (48 total capacity)
vehiclestorage.modularcarstorage.1box-- 8 rows + 1 x 48-slot box (96 total capacity)
vehiclestorage.snowmobile.3rows-- 3 rows (18 total capacity)vehiclestorage.snowmobile.4rows-- 4 rows (24 total capacity)vehiclestorage.snowmobile.5rows-- 5 rows (30 total capacity)vehiclestorage.snowmobile.6rows-- 6 rows (36 total capacity)vehiclestorage.snowmobile.7rows-- 7 rows (42 total capacity)vehiclestorage.snowmobile.8rows-- 8 rows (48 total capacity)vehiclestorage.snowmobile.2stashes-- 8 rows + 2 x 48-slot stash (144 total capacity)
vehiclestorage.tomaha.3rows-- 3 rows (18 total capacity)vehiclestorage.tomaha.4rows-- 4 rows (24 total capacity)vehiclestorage.tomaha.5rows-- 5 rows (30 total capacity)vehiclestorage.tomaha.6rows-- 6 rows (36 total capacity)vehiclestorage.tomaha.7rows-- 7 rows (42 total capacity)vehiclestorage.tomaha.8rows-- 8 rows (48 total capacity)vehiclestorage.tomaha.2stashes-- 8 rows + 2 x 48-slot stash (144 total capacity)
vehiclestorage.sedan.1stash-- 1 x 48-slot stash (48 total capacity)
vehiclestorage.magnetcrane.1stash-- 1 x 48-slot stash (48 total capacity)
vehiclestorage.workcart.1box-- 1 x 48-slot box (48 total capacity)vehiclestorage.workcart.2boxes-- 2 x 48-slot box (96 total capacity)
vehiclestorage.workcartaboveground.1box-- 1 x 48-slot box (48 total capacity)vehiclestorage.workcartaboveground.2boxes-- 2 x 48-slot box (96 total capacity)
vehiclestorage.workcartcovered.1box-- 1 x 48-slot box (48 total capacity)vehiclestorage.workcartcovered.2boxes-- 2 x 48-slot box (96 total capacity)
vehiclestorage.locomotive.1stash-- 1 x 48-slot stash (48 total capacity)
vehiclestorage.sedanrail.1stash-- 1 x 48-slot stash (48 total capacity)
vehiclestorage.wagona.2boxes-- 2 x 48-slot box (96 total capacity)vehiclestorage.wagona.4boxes-- 4 x 48-slot box (192 total capacity)
vehiclestorage.wagonb.2boxes-- 2 x 48-slot box (96 total capacity)vehiclestorage.wagonb.4boxes-- 4 x 48-slot box (192 total capacity)
vehiclestorage.wagonc.2boxes-- 2 x 48-slot box (96 total capacity)vehiclestorage.wagonc.4boxes-- 4 x 48-slot box (192 total capacity)
vehiclestorage.kayak.1stash-- 1 x 48-slot stash (48 total capacity)vehiclestorage.kayak.2stashes-- 2 x 48-slot stash (96 total capacity)
vehiclestorage.rowboat.4rows-- 4 rows (24 total capacity)vehiclestorage.rowboat.5rows-- 5 rows (30 total capacity)vehiclestorage.rowboat.6rows-- 6 rows (36 total capacity)vehiclestorage.rowboat.7rows-- 7 rows (42 total capacity)vehiclestorage.rowboat.8rows-- 8 rows (48 total capacity)vehiclestorage.rowboat.2stashes-- 8 rows + 1 x 48-slot stash (96 total capacity)
vehiclestorage.rhib.7rows-- 7 rows (42 total capacity)vehiclestorage.rhib.8rows-- 8 rows (48 total capacity)vehiclestorage.rhib.3boxes-- 8 rows + 2 x 48-slot box (144 total capacity)
vehiclestorage.solosub.4rows-- 4 rows (24 total capacity)vehiclestorage.solosub.5rows-- 5 rows (30 total capacity)vehiclestorage.solosub.6rows-- 6 rows (36 total capacity)vehiclestorage.solosub.7rows-- 7 rows (42 total capacity)vehiclestorage.solosub.8rows-- 8 rows (48 total capacity)vehiclestorage.solosub.1stash-- 8 rows + 1 x 48-slot stash (96 total capacity)
vehiclestorage.duosub.4rows-- 4 rows (24 total capacity)vehiclestorage.duosub.5rows-- 5 rows (30 total capacity)vehiclestorage.duosub.6rows-- 6 rows (36 total capacity)vehiclestorage.duosub.7rows-- 7 rows (42 total capacity)vehiclestorage.duosub.8rows-- 8 rows (48 total capacity)vehiclestorage.duosub.1stash-- 8 rows + 1 x 48-slot stash (96 total capacity)vehiclestorage.duosub.2stashes-- 8 rows + 2 x 48-slot stash (144 total capacity)
vehiclestorage.hotairballoon.4rows-- 4 rows (24 total capacity)vehiclestorage.hotairballoon.5rows-- 5 rows (30 total capacity)vehiclestorage.hotairballoon.6rows-- 6 rows (36 total capacity)vehiclestorage.hotairballoon.7rows-- 7 rows (42 total capacity)vehiclestorage.hotairballoon.8rows-- 8 rows (48 total capacity)vehiclestorage.hotairballoon.2stashes-- 8 rows + 1 x 48-slot stash (96 total capacity)vehiclestorage.hotairballoon.3stashes-- 8 rows + 2 x 48-slot stash (144 total capacity)vehiclestorage.hotairballoon.4stashes-- 8 rows + 3 x 48-slot stash (192 total capacity)
vehiclestorage.minicopter.1stash-- 1 x 48-slot stash (48 total capacity)vehiclestorage.minicopter.2stashes-- 2 x 48-slot stash (96 total capacity)vehiclestorage.minicopter.3stashes-- 3 x 48-slot stash (144 total capacity)vehiclestorage.minicopter.4stashes-- 4 x 48-slot stash (192 total capacity)
vehiclestorage.scraptransport.1box-- 1 x 48-slot box (48 total capacity)vehiclestorage.scraptransport.2boxes-- 2 x 48-slot box (96 total capacity)
vehiclestorage.attackhelicopter.1stash-- 1 x 48-slot stash (48 total capacity)vehiclestorage.attackhelicopter.2stashes-- 2 x 48-slot stash (96 total capacity)
vehiclestorage.chinook.2boxes-- 2 x 48-slot box (96 total capacity)vehiclestorage.chinook.4boxes-- 4 x 48-slot box (192 total capacity)
Default configuration:
{
"AttackHelicopter": {
"DefaultProfile": {
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "1stash",
"AdditionalStorage": {
"Left Stash": 48
}
},
{
"PermissionSuffix": "2stashes",
"AdditionalStorage": {
"Left Stash": 48,
"Right Stash": 48
}
}
],
"ContainerPresets": {
"Left Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": -0.63,
"y": 1.07,
"z": 0.68
},
"RotationAngles": {
"x": 0.0,
"y": 270.0,
"z": 0.0
}
},
"Right Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": 0.63,
"y": 1.07,
"z": 0.68
},
"RotationAngles": {
"x": 0.0,
"y": 90.0,
"z": 0.0
}
}
}
},
"Chinook": {
"DefaultProfile": {
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "2boxes",
"AdditionalStorage": {
"Front Left Box": 48,
"Front Right Box": 48
}
},
{
"PermissionSuffix": "4boxes",
"AdditionalStorage": {
"Front Left Box": 48,
"Front Right Box": 48,
"Front Upper Left Box": 48,
"Front Upper Right Box": 48
}
}
],
"ContainerPresets": {
"Front Left Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": -0.91,
"y": 1.259,
"z": 2.845
},
"RotationAngles": {
"x": 0.0,
"y": 90.0,
"z": 0.0
}
},
"Front Right Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.91,
"y": 1.259,
"z": 2.845
},
"RotationAngles": {
"x": 0.0,
"y": 270.0,
"z": 0.0
}
},
"Front Upper Left Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": -0.91,
"y": 1.806,
"z": 2.845
},
"RotationAngles": {
"x": 0.0,
"y": 90.0,
"z": 0.0
}
},
"Front Upper Right Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.91,
"y": 1.806,
"z": 2.845
},
"RotationAngles": {
"x": 0.0,
"y": 270.0,
"z": 0.0
}
}
}
},
"DuoSubmarine": {
"DefaultProfile": {
"BuiltInStorageCapacity": 18,
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "4rows",
"BuiltInStorageCapacity": 24
},
{
"PermissionSuffix": "5rows",
"BuiltInStorageCapacity": 30
},
{
"PermissionSuffix": "6rows",
"BuiltInStorageCapacity": 36
},
{
"PermissionSuffix": "7rows",
"BuiltInStorageCapacity": 42
},
{
"PermissionSuffix": "8rows",
"BuiltInStorageCapacity": 48
},
{
"PermissionSuffix": "1stash",
"BuiltInStorageCapacity": 48,
"AdditionalStorage": {
"Front Stash": 48
}
},
{
"PermissionSuffix": "2stashes",
"BuiltInStorageCapacity": 48,
"AdditionalStorage": {
"Front Stash": 48,
"Back Stash": 48
}
}
],
"ContainerPresets": {
"Front Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": 0.0,
"y": 1.56,
"z": 0.55
},
"RotationAngles": {
"x": 270.0,
"y": 0.0,
"z": 0.0
}
},
"Back Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": 0.0,
"y": 1.56,
"z": -1.18
},
"RotationAngles": {
"x": 270.0,
"y": 180.0,
"z": 0.0
}
}
}
},
"HotAirBalloon": {
"DefaultProfile": {
"BuiltInStorageCapacity": 18,
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "4rows",
"BuiltInStorageCapacity": 24
},
{
"PermissionSuffix": "5rows",
"BuiltInStorageCapacity": 30
},
{
"PermissionSuffix": "6rows",
"BuiltInStorageCapacity": 36
},
{
"PermissionSuffix": "7rows",
"BuiltInStorageCapacity": 42
},
{
"PermissionSuffix": "8rows",
"BuiltInStorageCapacity": 48
},
{
"PermissionSuffix": "2stashes",
"BuiltInStorageCapacity": 48,
"AdditionalStorage": {
"Front Left Stash": 48
}
},
{
"PermissionSuffix": "3stashes",
"BuiltInStorageCapacity": 48,
"AdditionalStorage": {
"Front Left Stash": 48,
"Front Right Stash": 48
}
},
{
"PermissionSuffix": "4stashes",
"BuiltInStorageCapacity": 48,
"AdditionalStorage": {
"Front Left Stash": 48,
"Front Right Stash": 48,
"Back Right Stash": 48
}
}
],
"ContainerPresets": {
"Front Left Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": 1.2,
"y": 0.6,
"z": 1.2
},
"RotationAngles": {
"x": 330.0,
"y": 225.0,
"z": 0.0
}
},
"Front Right Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": 1.2,
"y": 0.6,
"z": -1.2
},
"RotationAngles": {
"x": 330.0,
"y": 315.0,
"z": 0.0
}
},
"Back Right Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": -1.2,
"y": 0.6,
"z": -1.2
},
"RotationAngles": {
"x": 330.0,
"y": 45.0,
"z": 0.0
}
}
}
},
"Kayak": {
"DefaultProfile": {
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "1stash",
"AdditionalStorage": {
"Back Middle Stash": 48
}
},
{
"PermissionSuffix": "2stashes",
"AdditionalStorage": {
"Back Left Stash": 48,
"Back Right Stash": 48
}
}
],
"ContainerPresets": {
"Back Left Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": -0.28,
"y": 0.23,
"z": -1.18
},
"RotationAngles": {
"x": 270.0,
"y": 180.0,
"z": 0.0
}
},
"Back Middle Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": -0.075,
"y": 0.23,
"z": -1.18
},
"RotationAngles": {
"x": 270.0,
"y": 180.0,
"z": 0.0
}
},
"Back Right Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": 0.17,
"y": 0.23,
"z": -1.18
},
"RotationAngles": {
"x": 270.0,
"y": 180.0,
"z": 0.0
}
}
}
},
"Locomotive": {
"DefaultProfile": {
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "1stash",
"AdditionalStorage": {
"Front Stash": 48
}
}
],
"ContainerPresets": {
"Front Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": -0.43,
"y": 2.89,
"z": 5.69
},
"RotationAngles": {
"x": 0.0,
"y": 180.0,
"z": 0.0
}
}
}
},
"MagnetCrane": {
"DefaultProfile": {
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "1stash",
"AdditionalStorage": {
"Front Stash": 48
}
}
],
"ContainerPresets": {
"Front Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": -0.78,
"y": -1.445,
"z": 0.0
},
"RotationAngles": {
"x": 90.0,
"y": 0.0,
"z": 90.0
},
"ParentBone": "Top"
}
}
},
"Minicopter": {
"DefaultProfile": {
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "1stash",
"AdditionalStorage": {
"Stash Below Pilot Seat": 48
}
},
{
"PermissionSuffix": "2stashes",
"AdditionalStorage": {
"Stash Below Pilot Seat": 48,
"Stash Below Front Seat": 48
}
},
{
"PermissionSuffix": "3stashes",
"AdditionalStorage": {
"Stash Below Pilot Seat": 48,
"Stash Below Front Seat": 48,
"Stash Behind Fuel Tank": 48
}
},
{
"PermissionSuffix": "4stashes",
"AdditionalStorage": {
"Stash Below Pilot Seat": 48,
"Stash Below Front Seat": 48,
"Stash Below Left Seat": 48,
"Stash Below Right Seat": 48
}
}
],
"ContainerPresets": {
"Stash Below Pilot Seat": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": 0.01,
"y": 0.33,
"z": 0.21
},
"RotationAngles": {
"x": 270.0,
"y": 90.0,
"z": 0.0
}
},
"Stash Below Front Seat": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": 0.01,
"y": 0.22,
"z": 1.32
},
"RotationAngles": {
"x": 270.0,
"y": 90.0,
"z": 0.0
}
},
"Stash Below Left Seat": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": 0.6,
"y": 0.32,
"z": -0.41
},
"RotationAngles": {
"x": 270.0,
"y": 0.0,
"z": 0.0
}
},
"Stash Below Right Seat": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": -0.6,
"y": 0.32,
"z": -0.41
},
"RotationAngles": {
"x": 270.0,
"y": 0.0,
"z": 0.0
}
},
"Stash Behind Fuel Tank": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": 0.0,
"y": 1.025,
"z": -0.63
},
"RotationAngles": {
"x": 0.0,
"y": 180.0,
"z": 0.0
}
},
"Box Below Fuel Tank": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.0,
"y": 0.31,
"z": -0.57
},
"RotationAngles": {
"x": 0.0,
"y": 90.0,
"z": 0.0
}
},
"Back Middle Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.0,
"y": 0.07,
"z": -1.05
},
"RotationAngles": {
"x": 0.0,
"y": 180.0,
"z": 0.0
}
},
"Back Left Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": -0.48,
"y": 0.07,
"z": -1.05
},
"RotationAngles": {
"x": 0.0,
"y": 180.0,
"z": 0.0
}
},
"Back Right Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.48,
"y": 0.07,
"z": -1.05
},
"RotationAngles": {
"x": 0.0,
"y": 180.0,
"z": 0.0
}
}
}
},
"ModularCarCamperModule": {
"DefaultProfile": {
"BuiltInStorageCapacity": 12
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "3rows",
"BuiltInStorageCapacity": 18
},
{
"PermissionSuffix": "4rows",
"BuiltInStorageCapacity": 24
},
{
"PermissionSuffix": "5rows",
"BuiltInStorageCapacity": 30
},
{
"PermissionSuffix": "6rows",
"BuiltInStorageCapacity": 36
},
{
"PermissionSuffix": "7rows",
"BuiltInStorageCapacity": 42
},
{
"PermissionSuffix": "8rows",
"BuiltInStorageCapacity": 48
}
]
},
"ModularCarStorageModule": {
"DefaultProfile": {
"BuiltInStorageCapacity": 48
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "1box",
"BuiltInStorageCapacity": 48,
"AdditionalStorage": {
"Middle Box": 48
}
}
],
"ContainerPresets": {
"Middle Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.0,
"y": 0.61,
"z": 0.0
}
}
}
},
"RHIB": {
"DefaultProfile": {
"BuiltInStorageCapacity": 36,
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "7rows",
"BuiltInStorageCapacity": 42
},
{
"PermissionSuffix": "8rows",
"BuiltInStorageCapacity": 48
},
{
"PermissionSuffix": "3boxes",
"BuiltInStorageCapacity": 48,
"AdditionalStorage": {
"Back Left Box": 48,
"Back Right Box": 48
}
}
],
"ContainerPresets": {
"Back Left Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": -0.4,
"y": 1.255,
"z": -2.25
},
"RotationAngles": {
"x": 0.0,
"y": 270.0,
"z": 0.0
}
},
"Back Right Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.4,
"y": 1.255,
"z": -2.25
},
"RotationAngles": {
"x": 0.0,
"y": 90.0,
"z": 0.0
}
}
}
},
"RidableHorse": {
"DefaultProfile": {
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "1stash",
"AdditionalStorage": {
"Back Left Stash": 48
}
},
{
"PermissionSuffix": "2stashes",
"AdditionalStorage": {
"Back Left Stash": 48,
"Back Right Stash": 48
}
}
],
"ContainerPresets": {
"Back Left Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": -0.1,
"y": 0.1,
"z": 0.0
},
"RotationAngles": {
"x": 270.0,
"y": 285.0,
"z": 0.0
},
"ParentBone": "L_Hip"
},
"Back Right Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": -0.1,
"y": -0.1,
"z": 0.0
},
"RotationAngles": {
"x": 90.0,
"y": 105.0,
"z": 0.0
},
"ParentBone": "R_Hip"
}
}
},
"Rowboat": {
"DefaultProfile": {
"BuiltInStorageCapacity": 18,
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "4rows",
"BuiltInStorageCapacity": 24
},
{
"PermissionSuffix": "5rows",
"BuiltInStorageCapacity": 30
},
{
"PermissionSuffix": "6rows",
"BuiltInStorageCapacity": 36
},
{
"PermissionSuffix": "7rows",
"BuiltInStorageCapacity": 42
},
{
"PermissionSuffix": "8rows",
"BuiltInStorageCapacity": 48
},
{
"PermissionSuffix": "2stashes",
"BuiltInStorageCapacity": 48,
"AdditionalStorage": {
"Back Left Stash": 48
}
}
],
"ContainerPresets": {
"Back Left Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": -0.42,
"y": 0.52,
"z": -1.7
},
"RotationAngles": {
"x": 270.0,
"y": 180.0,
"z": 0.0
}
}
}
},
"ScrapTransportHelicopter": {
"DefaultProfile": {
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "1box",
"AdditionalStorage": {
"LeftBox": 48
}
},
{
"PermissionSuffix": "2boxes",
"AdditionalStorage": {
"LeftBox": 48,
"RightBox": 48
}
}
],
"ContainerPresets": {
"LeftBox": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": -0.5,
"y": 0.85,
"z": 1.75
}
},
"RightBox": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.5,
"y": 0.85,
"z": 1.75
}
}
}
},
"Sedan": {
"DefaultProfile": {
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "1stash",
"AdditionalStorage": {
"Middle Stash": 48
}
}
],
"ContainerPresets": {
"Middle Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": 0.0,
"y": 0.83,
"z": 0.55
},
"RotationAngles": {
"x": 270.0,
"y": 180.0,
"z": 0.0
}
}
}
},
"SedanRail": {
"DefaultProfile": {
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "1stash",
"AdditionalStorage": {
"Middle Stash": 48
}
}
],
"ContainerPresets": {
"Middle Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": 0.0,
"y": 1.065,
"z": -0.21
},
"RotationAngles": {
"x": 270.0,
"y": 180.0,
"z": 0.0
}
}
}
},
"Snowmobile": {
"DefaultProfile": {
"BuiltInStorageCapacity": 12,
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "3rows",
"BuiltInStorageCapacity": 18
},
{
"PermissionSuffix": "4rows",
"BuiltInStorageCapacity": 24
},
{
"PermissionSuffix": "5rows",
"BuiltInStorageCapacity": 30
},
{
"PermissionSuffix": "6rows",
"BuiltInStorageCapacity": 36
},
{
"PermissionSuffix": "7rows",
"BuiltInStorageCapacity": 42
},
{
"PermissionSuffix": "8rows",
"BuiltInStorageCapacity": 48
},
{
"PermissionSuffix": "2stashes",
"BuiltInStorageCapacity": 48,
"AdditionalStorage": {
"Back Left Stash": 48,
"Back Right Stash": 48
}
}
],
"ContainerPresets": {
"Back Left Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": -0.21,
"y": 0.555,
"z": -1.08
},
"RotationAngles": {
"x": 0.0,
"y": 270.0,
"z": 270.0
}
},
"Back Right Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": 0.21,
"y": 0.555,
"z": -1.08
},
"RotationAngles": {
"x": 0.0,
"y": 90.0,
"z": 90.0
}
}
}
},
"SoloSubmarine": {
"DefaultProfile": {
"BuiltInStorageCapacity": 18,
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "4rows",
"BuiltInStorageCapacity": 24
},
{
"PermissionSuffix": "5rows",
"BuiltInStorageCapacity": 30
},
{
"PermissionSuffix": "6rows",
"BuiltInStorageCapacity": 36
},
{
"PermissionSuffix": "7rows",
"BuiltInStorageCapacity": 42
},
{
"PermissionSuffix": "8rows",
"BuiltInStorageCapacity": 48
},
{
"PermissionSuffix": "1stash",
"BuiltInStorageCapacity": 48,
"AdditionalStorage": {
"Back Left Stash": 48
}
}
],
"ContainerPresets": {
"Back Left Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": -0.34,
"y": 1.16,
"z": -0.7
},
"RotationAngles": {
"x": 300.0,
"y": 270.0,
"z": 270.0
}
}
}
},
"Tomaha": {
"DefaultProfile": {
"BuiltInStorageCapacity": 12,
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "3rows",
"BuiltInStorageCapacity": 18
},
{
"PermissionSuffix": "4rows",
"BuiltInStorageCapacity": 24
},
{
"PermissionSuffix": "5rows",
"BuiltInStorageCapacity": 30
},
{
"PermissionSuffix": "6rows",
"BuiltInStorageCapacity": 36
},
{
"PermissionSuffix": "7rows",
"BuiltInStorageCapacity": 42
},
{
"PermissionSuffix": "8rows",
"BuiltInStorageCapacity": 48
},
{
"PermissionSuffix": "2stashes",
"BuiltInStorageCapacity": 48,
"AdditionalStorage": {
"Back Left Stash": 48,
"Back Right Stash": 48
}
}
],
"ContainerPresets": {
"Back Left Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": -0.21,
"y": 0.37,
"z": -1.08
},
"RotationAngles": {
"x": 0.0,
"y": 270.0,
"z": 270.0
}
},
"Back Right Stash": {
"Prefab": "assets/prefabs/deployable/hot air balloon/subents/hab_storage.prefab",
"Position": {
"x": 0.21,
"y": 0.37,
"z": -1.08
},
"RotationAngles": {
"x": 0.0,
"y": 90.0,
"z": 90.0
}
}
}
},
"WagonA": {
"DefaultProfile": {
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "2boxes",
"AdditionalStorage": {
"Front Left Box": 48,
"Front Right Box": 48
}
},
{
"PermissionSuffix": "4boxes",
"AdditionalStorage": {
"Front Left Box": 48,
"Front Right Box": 48,
"Back Left Box": 48,
"Back Right Box": 48
}
}
],
"ContainerPresets": {
"Front Left Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": -1.1,
"y": 1.55,
"z": 1.545
},
"RotationAngles": {
"x": 0.0,
"y": 90.0,
"z": 0.0
}
},
"Front Right Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 1.1,
"y": 1.55,
"z": 1.545
},
"RotationAngles": {
"x": 0.0,
"y": 270.0,
"z": 0.0
}
},
"Back Left Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": -1.1,
"y": 1.55,
"z": -0.5
},
"RotationAngles": {
"x": 0.0,
"y": 90.0,
"z": 0.0
}
},
"Back Right Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 1.1,
"y": 1.55,
"z": -0.5
},
"RotationAngles": {
"x": 0.0,
"y": 270.0,
"z": 0.0
}
}
}
},
"WagonB": {
"DefaultProfile": {
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "2boxes",
"AdditionalStorage": {
"Front Left Box": 48,
"Front Right Box": 48
}
},
{
"PermissionSuffix": "4boxes",
"AdditionalStorage": {
"Front Left Box": 48,
"Front Right Box": 48,
"Back Left Box": 48,
"Back Right Box": 48
}
}
],
"ContainerPresets": {
"Front Left Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": -1.1,
"y": 1.55,
"z": 1.545
},
"RotationAngles": {
"x": 0.0,
"y": 90.0,
"z": 0.0
}
},
"Front Right Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 1.1,
"y": 1.55,
"z": 1.545
},
"RotationAngles": {
"x": 0.0,
"y": 270.0,
"z": 0.0
}
},
"Back Left Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": -1.1,
"y": 1.55,
"z": -0.5
},
"RotationAngles": {
"x": 0.0,
"y": 90.0,
"z": 0.0
}
},
"Back Right Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 1.1,
"y": 1.55,
"z": -0.5
},
"RotationAngles": {
"x": 0.0,
"y": 270.0,
"z": 0.0
}
}
}
},
"WagonC": {
"DefaultProfile": {
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "2boxes",
"AdditionalStorage": {
"Middle Box 1": 48,
"Middle Box 2": 48
}
},
{
"PermissionSuffix": "4boxes",
"AdditionalStorage": {
"Middle Box 1": 48,
"Middle Box 2": 48,
"Middle Box 3": 48,
"Middle Box 4": 48
}
}
],
"ContainerPresets": {
"Middle Box 1": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.0,
"y": 1.51,
"z": 1.5
},
"RotationAngles": {
"x": 0.0,
"y": 90.0,
"z": 0.0
}
},
"Middle Box 2": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.0,
"y": 1.51,
"z": 0.5
},
"RotationAngles": {
"x": 0.0,
"y": 270.0,
"z": 0.0
}
},
"Middle Box 3": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.0,
"y": 1.51,
"z": -0.5
},
"RotationAngles": {
"x": 0.0,
"y": 90.0,
"z": 0.0
}
},
"Middle Box 4": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.0,
"y": 1.51,
"z": -1.5
},
"RotationAngles": {
"x": 0.0,
"y": 270.0,
"z": 0.0
}
}
}
},
"Workcart": {
"DefaultProfile": {
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "1box",
"AdditionalStorage": {
"Front Box": 48
}
},
{
"PermissionSuffix": "2boxes",
"AdditionalStorage": {
"Front Box": 48,
"Back Box": 48
}
}
],
"ContainerPresets": {
"Front Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.85,
"y": 2.595,
"z": 1.43
},
"RotationAngles": {
"x": 0.0,
"y": 180.0,
"z": 0.0
}
},
"Back Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.85,
"y": 2.595,
"z": 0.7
},
"RotationAngles": {
"x": 0.0,
"y": 180.0,
"z": 0.0
}
}
}
},
"WorkcartAboveground": {
"DefaultProfile": {
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "1box",
"AdditionalStorage": {
"Front Box": 48
}
},
{
"PermissionSuffix": "2boxes",
"AdditionalStorage": {
"Front Box": 48,
"Back Box": 48
}
}
],
"ContainerPresets": {
"Front Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.85,
"y": 2.595,
"z": 1.43
},
"RotationAngles": {
"x": 0.0,
"y": 180.0,
"z": 0.0
}
},
"Back Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.85,
"y": 2.595,
"z": 0.7
},
"RotationAngles": {
"x": 0.0,
"y": 180.0,
"z": 0.0
}
}
}
},
"WorkcartCovered": {
"DefaultProfile": {
"AdditionalStorage": {}
},
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "1box",
"AdditionalStorage": {
"Front Box": 48
}
},
{
"PermissionSuffix": "2boxes",
"AdditionalStorage": {
"Front Box": 48,
"Back Box": 48
}
}
],
"ContainerPresets": {
"Front Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.85,
"y": 2.595,
"z": 1.0
},
"RotationAngles": {
"x": 0.0,
"y": 180.0,
"z": 0.0
}
},
"Back Box": {
"Prefab": "assets/content/vehicles/boats/rhib/subents/rhib_storage.prefab",
"Position": {
"x": 0.85,
"y": 2.595,
"z": 0.27
},
"RotationAngles": {
"x": 0.0,
"y": 180.0,
"z": 0.0
}
}
}
}
}Each vehicle type has the following options.
DefaultProfile-- Determines the default capacity and additional storage containers for vehicles of this type. The default profile will be ignored for vehicles owned by players with permission to any profile inProfilesRequiringPermission.BuiltInStorageCapacity-- Determines the capacity of storage containers that naturally occur on the vehicle.- This is applicable to Rowboats, RHIBs, Solo & Duo Submarines, Hot Air Balloons, and Modular Car storage modules.
AdditionalStorage-- Determines which additional storage containers will be added to the vehicle, and how much capacity each of those containers will have.- Example:
"Front Box": 42would spawn the "Front Box" container and assign it 42 slots of capacity. For this to work, "Front Box" would have to be a valid preset in theContainerPresetssection.
- Example:
ProfilesRequiringPermission-- Defines profiles that will override theDefaultProfilewhen the vehicle is owned by a player with a permission to any profile.PermissionSuffix-- Determines the generated permission of formatvehiclestorage.<vehicle>.<suffix>.BuiltInStorageCapacity-- Equivalent to the option of the same name inDefaultProfile.AdditionalStorage-- Equivalent to the option of the same name inDefaultProfile.
ContainerPresets-- Defines named container presets. Referring to a preset in a profile allows spawning additional containers.Prefab-- Determines the container prefab to spawn. Must be a valid storage container.Position-- Determines the position of the storage container relative to the vehicle.RotationAngles-- Determines the rotation of the storage container relative to the vehicle.ParentBone-- Determines which bone the storage container will be parented relative to on the vehicle.
If you aim to add storage containers to all vehicles (regardless of permission), you will have to define the DefaultProfile similar to below. Note "..." is just an abbreviation to make the example easier to digest.
"Minicopter": {
"DefaultProfile": {
"AdditionalStorage": {
"Stash Below Front Seat": 48
"Stash Below Pilot Seat": 48,
"Box Below Fuel Tank": 48,
}
},
"ProfilesRequiringPermission": [
{ ... },
{ ... },
{ ... },
{ ... }
],
"ContainerPresets": {
"Stash Below Pilot Seat": {
"Prefab": "...",
"Position": { ... },
"RotationAngles": { ... }
},
"Stash Below Front Seat": {
"Prefab": "...",
"Position": { ... },
"RotationAngles": { ... }
},
"Box Below Fuel Tank": {
"Prefab": "...",
"Position": { ... },
"RotationAngles": { ... }
}
}
},API_RefreshVehicleStorage(BaseEntity vehicle)Plugins can call this API to refresh a vehicle storage capacity and containers.
object OnVehicleStorageUpdate(BaseEntity vehicle)- Called when this plugin is about to alter storage container capacity and/or spawn storage containers on a vehicle
- Returning
falsewill prevent this plugin from doing anything to the vehicle - Returning
nullwill result in the default behavior
object OnVehicleStorageSpawn(BaseEntity vehicle)- Called when this plugin is about to spawn a storage container on a vehicle
- Returning
falsewill prevent the storage container from spawning - Returning
nullwill result in the default behavior
void OnVehicleStorageSpawned(BaseEntity vehicle, StorageContainer container)- Called after this plugin has spawned a storage container on a vehicle
- No return behavior