Would be amazing if you could disable helicopter, boat and vehicle decaying, while everything else decays normally..
You can already effectively disable decay for those by raising the convars really high.
minicopter.outsidedecayminutes 1000000
modularcar.outsidedecayminutes 1000000
motorrowboat.outsidedecayminutes 1000000
The only issue is, people don't know this and will look for a plugin. Wouldn't hurt to add it to the plugin docs.
If you do implement no vehicle decay in the plugin (or another plugin) for people's convenience, might want to use the more performant approach of cancelling invocation of the decay methods (ModularCar.DecayTick, MotorRowboat.BoatDecay, MiniCopter.DecayTick) on server init and spawn. I also submitted an Oxide PR to make the immuneToDecay field public for cars which is slightly easier. I might just go implement a vehicle no-decay plugin now that I made it sound so easy.
You can already effectively disable decay for those by raising the convars really high.
minicopter.outsidedecayminutes 1000000
modularcar.outsidedecayminutes 1000000
motorrowboat.outsidedecayminutes 1000000
The only issue is, people don't know this and will look for a plugin. Wouldn't hurt to add it to the plugin docs.
If you do implement no vehicle decay in the plugin (or another plugin) for people's convenience, might want to use the more performant approach of cancelling invocation of the decay methods (ModularCar.DecayTick, MotorRowboat.BoatDecay, MiniCopter.DecayTick) on server init and spawn. I also submitted an Oxide PR to make the immuneToDecay field public for cars which is slightly easier. I might just go implement a vehicle no-decay plugin now that I made it sound so easy.