spawnmini.fuel.<amount>
i can't put this to grant permission in a group like vip
Thank you so much <3
spawnmini.fuel.<amount>
i can't put this to grant permission in a group like vip
Thank you so much <3
It sounds like you aren't sure how to use that permission. First, you must add some numbers to the config like this.
"FuelAmountsRequiringPermission": [250, 500],
Then, you can grant the permissions spawnmini.fuel.250
or spawnmini.fuel.500
.
here is my current cfg:
{
"AssetPrefab": "assets/content/vehicles/minicopter/minicopter.entity.prefab",
"CanDespawnWhileOccupied": true,
"CanFetchWhileOccupied": true,
"CanSpawnBuildingBlocked": true,
"CanFetchBuildingBlocked": true,
"FuelAmount": 50,
"FuelAmountsRequiringPermission": [50,100,150],
"MaxNoMiniDistance": -1,
"MaxSpawnDistance": 5,
"UseFixedSpawnDistance": true,
"OwnerAndTeamCanMount": false,
"DefaultCooldown": 300,
"PermissionCooldowns": {
"spawnmini.tier1": 300,
"spawnmini.tier2": 60,
"spawnmini.tier3": 0
},
"SpawnHealth": 250,
"DestroyOnDisconnect": false
}
and I have existing group called vip1
and this is what I'm trying to input oxide.grant group vip1 spawnmini.fuel.150"
so basically i would like to get that group a different amount of fuel when they spawn mini, but i can't make it.
sorry for the disturbance but your help is appreciated verymuch <3
Looks right to me. Are you seeing an error when you grant the permission? If so, what exact error?
this is the exact error i got,
Permission 'spawnmini.fuel.150' doesn't exist
I just updated my config to match yours, reloaded the plugin, then ran oxide.grant group default spawnmini.fuel.150
, and it succeed with message Group 'default' granted permission 'spawnmini.fuel.150'
. Did you make sure to reload the plugin after editing the config? The plugin must be reloaded in order for the plugin to register that permission.