Allow for NoDecay for spawned vehiclesNo Thanks

Could you add a permission to specify whether or not spawned cars decay?

For instance: 

spawnmodularcar.nodecay

I realize you have the other decay related plugin - which is great - but that's more of a global setting  I believe and I'd like to control the decay only of spawned cars. 

I can implement this in 4.0, which will probably be out in the next 2 weeks, depending on when my plugins related to locking get released since I have to make some backwards incompatible changes and want to make them all in one update.

One thing you might want to consider, is that you might not actually want strictly no-decay. For example, if a spawned car is left unattended at the bottom of the ocean for hours, do you really want it to not decay? It would just be increasing load for the server without benefitting anyone. My thinking was that whether a vehicle is near a base or whether it's been recently used are both good indicators of whether the vehicle is still adding value to players, so those are the settings in the Vehicle Decay Protection plugin (though it's global for all vehicles).
5f1792699e67b.jpg WhiteThunder
I can implement this in 4.0, which will probably be out in the next 2 weeks, depending on when my plugins related to locking get released since I have to make some backwards incompatible changes and want to make them all in one update.

One thing you might want to consider, is that you might not actually want strictly no-decay. For example, if a spawned car is left unattended at the bottom of the ocean for hours, do you really want it to not decay? It would just be increasing load for the server without benefitting anyone. My thinking was that whether a vehicle is near a base or whether it's been recently used are both good indicators of whether the vehicle is still adding value to players, so those are the settings in the Vehicle Decay Protection plugin (though it's global for all vehicles).

Awesome!

It's a good point. I was figuring it wouldn't be that big of a deal since each player could only spawn one, but when giving this power to many players that'll be an issue. Of course, eventually, they won't have vehicles spawning everywhere but likely be purchased in a garage of some sort. Regardless. 

Maybe it would be best, similar to your other vehicle decay plugin to allow decay settings for inside and outside TC radius. This way, even if someone wanted to have 'no decay' they could put no decay on vehicles in the TC range, and a very low decay on vehicles outside it.

Not sure how, if at all your vehicle decay plugin can work with this idea. For me, the advantage this plugin gives with adding decay is that you are able to specify decay settings for specific cars by permission by the owner as they were spawned by a specific player.

Similar to what I did with larger car storage, I could potentially update the vehicle decay plugin to use different decay settings based on the owner of the vehicle. I like that approach since it's generic, works for other use cases than this plugin, and doesn't add more complexity to this plugin. However, I'm not sure people really need that. That is, do you really need to nullify decay damage near a TC, but only for specific cars or cars owned by specific players? If a car isn't near a TC, then the car has likely been driven recently, for which the decay protection can be extended as well.
5f1792699e67b.jpg WhiteThunder
Similar to what I did with larger car storage, I could potentially update the vehicle decay plugin to use different decay settings based on the owner of the vehicle. I like that approach since it's generic, works for other use cases than this plugin, and doesn't add more complexity to this plugin. However, I'm not sure people really need that. That is, do you really need to nullify decay damage near a TC, but only for specific cars or cars owned by specific players? If a car isn't near a TC, then the car has likely been driven recently, for which the decay protection can be extended as well.

Do you really need to nullify decay damage near a TC, but only for specific cars or cars owned by specific players?
I use a rewards system approach on my server and was hoping to give certain players, as a reward, non-decaying vehicles. Your vehicle decay plugin was appears designed to be global without permission and that makes sense. I get it. I'm not sure it's possible to have global plus owner/player permission-based decay options there. 

If so, that'd be perfect because I was hoping to globally reduce decay on vehicles while also having specific permission to assign to individual players for rewards. 

I suggested this here maybe because I was thinking of Spawn Mini that provides similar Mini functionality and a no decay permission.

Thanks for your thorough and quick response as usual! 



Merged post

Ah ok. I see now what you meant. 

"For example, if you grant a player the largercarstorage.size.5 permission and then spawn a car for them using a plugin that sets the player's Steam ID on the car, all storage modules on that car (current and future) will have 5 rows of storage."

So basically I guess you can set permissions in Vehicle Decay Protection to work based on Steam ID set from this plugin and then have non-owned vehicles use global values.

So now I may answer differently with that knowledge.

Do you really need to nullify decay damage near a TC, but only for specific cars or cars owned by specific players? 
I guess not. Probably all that's needed is permission to set no decay on owned vehicles would do. It could just be permission. Ideally, I suppose having the same settings you have in Vehicle Decay Protection for non-owned and owned vehicles would be nice because it gives admins complete flexibility. 
Locked automatically