Hot air balloon not decayingSolved
Hi there! So everything with the plugin is working to stop vehicles decaying except I noticed something peculiar. So hot air balloons keep spawning within my Tool Cupboard radius, and for some reason they don't decay. I have all the nodecay permissions but thought this only affects 'owned' vehicles and this hot air balloon isn't owned. Please help, thanks.
I just tested this and was unable to reproduce the issue. Hot air balloons seem to be decaying just fine.

Please paste your config, and paste the output of running hotairballoon.outsidedecayminutes in your server console.

This is the config:

{
  "Vehicles": {
    "HotAirBalloon": {
      "DecayMultiplierNearTC": 0,
      "ProtectionMinutesAfterUse": 10.0
    },
    "Kayak": {
      "DecayMultiplierNearTC": 0,
      "ProtectionMinutesAfterUse": 10.0
    },
    "Minicopter": {
      "DecayMultiplierNearTC": 0,
      "ProtectionMinutesAfterUse": 10.0
    },
    "ModularCar": {
      "DecayMultiplierNearTC": 0,
      "ProtectionMinutesAfterUse": 10.0
    },
    "RHIB": {
      "DecayMultiplierNearTC": 0,
      "ProtectionMinutesAfterUse": 45.0
    },
    "RidableHorse": {
      "DecayMultiplierNearTC": 0,
      "ProtectionMinutesAfterUse": 10.0
    },
    "Rowboat": {
      "DecayMultiplierNearTC": 0,
      "ProtectionMinutesAfterUse": 10.0
    },
    "ScrapTransportHelicopter": {
      "DecayMultiplierNearTC": 0,
      "ProtectionMinutesAfterUse": 10.0
    }
  }
}

This is the console output

hotairballoon.outsidedecayminutes: "180"
The issue is that you have set the DecayMultiplierNearTC option to 0. That option doesn't follow permissions. Setting it to 1 for all of the vehicles will fix the issue. I'll see about updating the documentation because now I'm inferring that people assume that option follows permission.

I suppose I could also add a set of permissions so that the TC multiplier only applies to certain players, but it's not obvious to me how that should be designed since there could be a few ways of doing it. Hypothetical options below:

  1. If you have the permission, your vehicles have reduced decay near any TC (similar to current behavior, except it doesn't currently use permissions)
  2. If you have the permission, your vehicles have reduced decay near any TCs you are authorized to
  3. If you have the permission, anyone's vehicles have reduced decay near any TC you are authorized to
Yeah haha I initially thought it followed permissions. Thank you for clarifying this!
Locked automatically