Make tugboats decay

Can you get tugboats to decay like does with other vehicles and mounts. Yes you can auth on the tugboat but maybe it should be set so the tug has to be near your bases tc. Because I have a decent amount of players on my server there are a lot of random tugboats around not decaying and it blocks pathways etc. Can this be a addition to the plugin?

Found this information, these are CVARS that server owners can configure on their servers....

Configuration Variables: Fine-Tuning the Tugboat Experience

Facepunch, the developers behind Rust, ensures that server admins can modify game elements to provide a balanced experience. For the Tugboat, they have introduced a set of configuration variables, or “Convars”, that allows server administrators to tweak its behavior:

  • tugboat.tugcorpseseconds: This variable determines the time (in seconds) for which the tugboat remains after its destruction. The default setting is 7200 seconds.
  • tugboat.tugdecayminutes: Tugboats are durable but not invincible. With time, they degrade, and this variable indicates the total minutes it takes for a tugboat to lose all its health when left outside. By default, it’s set to 2160 minutes.
  • tugboat.tugdecaystartdelayminutes: Even rugged tugboats need rest! After continuous use, the tugboat will start to decay. This variable defines the delay in minutes before the decay process kicks in post its last use. The standard setting is 1440 minutes.
  • tugboat.tugdecayminutes: Tugboats are durable but not invincible. With time, they degrade, and this variable indicates the total minutes it takes for a tugboat to lose all its health when left outside. By default, it’s set to 2160 minutes.
so if the tugboat is near your tc it won't decay? ^^
MrWoz
so if the tugboat is near your tc it won't decay? ^^

If they work like minicopters, they will decay even inside a TC zone.  But I do not know for sure if this is true for the tugboats.  Since it parses out the differences whether it is left inside or outside in the above text, I'd say that this implies they behave the same as the other vehicles.

You can try activating debug mode by removing the slashes on the first two lines of the .cs file. If the logs are then too spammy, you can enable only the debug show feature (#define DEBUG_SHOW). Once debug is enabled, to see debug messages in-game, just wait near the tugboat with admin or moderator auth level, and as the tugboat is about to decay, you will see a message above it saying how much decay damage it took and why. Green text means it was protected from decay by the plugin due to a reason mentioned in the text. Red means it took decay damage.