If a vehicle is spawned (by admin or in the wild, ie, motorbikes) or when a player uses the "air dropped vehicles" plugin, the configured storage is not showing up on it.
Storage not always showing upSolved
Sounds like you may have configured the plugin to require peemission to add storage, and such vehicles are spawning without ownership. You can configure default storage for such vehicles.
Sorry for needing the hand holding, but how exactly would I do that?
In the config, each vehicle has a section called DefaultProfile. There are examples in the documentation on how to use that. Basically, you need to copy/paste some of the values from one of the permission profiles into that section.
If I revoke the permissions, will it start adding the storage by default to all vehicles regardless?
If you want all vehicles to have the same storage configuration, then yes, you can revoke all permissions offered by this plugin.
Would this be correct for the "Attack Helicopter"?
{
"AttackHelicopter": {
"DefaultProfile": {
"PermissionSuffix": "1stash",
"AdditionalStorage": {
"Left Stash": 48
}
"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
}
}
}
},
Close, but there are a some issues with that.
- You have duplicated
AdditionalStorage. It was already present, you simply need to add within it. - You are missing a comma after the first
AdditionalStorage, so it's not valid JSON.
If you are not very confident in editing JSON, I suggest using a JSON validator tool to verify the syntax, and I would also encourage using a generative AI chatbot to help you make the changes and explain the changes to you.
Also, when you are pasting code into this site, please use the code block option (looks like {;}) to preserve whitespace so it's easier to read.
Thank you for your time and help!
It's working exactly the way I want it to now 👍
Locked automatically