DayZ
107 ratings
AbandonedVehicleRemover
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod, Server
Mod Type: Economy, Vehicle
File Size
Posted
Updated
19.974 KB
Nov 20, 2021 @ 10:10pm
Jan 8 @ 5:33am
9 Change Notes ( view )

Subscribe to download
AbandonedVehicleRemover

Description
Removes abandoned vehicles. Don't you hate it when players fix up a vehicle, drive it to a remote location on the map and then just leave it there, never to be seen again? Then this mod is for you.

A vehicle is considered abandoned when:
- It has been left alone without player interaction for X amount of time (Lifetime in AbandonedVehicleRemover/Settings.json in your server profile folder)
- It is not in a player's network bubble
- It is not in a territory flag's refresh radius
- It is not near (within 15m) an object that could be refreshed by a territory flag (even if none is present)

When all those conditions are met, the vehicle is deleted.

Why is this needed? Vehicles spawned via the Central Economy event system have no lifetime and thus stay on the map indefinitely (or until they are destroyed). This mod fills that gap.

Should be run as servermod (-servermod=@AbandonedVehicleRemover). There is no need to wipe when adding or removing this mod.

Configurable via AbandonedVehicleRemover/Settings.json in your server profile folder which will be created automatically.

Lifetime
Max lifetime of vehicles in seconds. A vehicle's lifetime will reset when it is interacted with (getting in/out, moving stuff in/out of cargo, attaching/detaching parts). Default 1209600 seconds = 14 days.

UpdateInterval
Minimum amount of time in seconds that needs to pass before a vehicle is checked if it has been abandoned. Default 1200 seconds = 20 minutes.

SaveInterval
Minimum amount of time that needs to pass before settings are saved. Default 600 seconds = 10 minutes.

Logging
Enable (1) or disable (0) logging
Popular Discussions View All (3)
3
Jan 8 @ 9:45am
Is it possible to integrate the new boats after the 1.26 update ??
DanS
4
Aug 20, 2023 @ 10:30am
Setting.Json not generated at 1st start
Stéphane
1
Mar 11, 2022 @ 3:38am
Serverside only ?
Stéphane
133 Comments
King_Thrawn Apr 23 @ 4:24am 
Is there any chance that this mod can be updated for the bikes from the DayZ-Bicycle mod?
https://steamcommunity.com/sharedfiles/filedetails/?id=2971190303
Shaggoth (Ищезаяц) Mar 12 @ 3:44am 
because it's not car anymore, when it's covered. that's the whole point of car cover
Beef [bD] Mar 12 @ 3:25am 
I've done some testing with the expansion car cover and once the car is put under a cover AVR stops tracking it
Shaggoth (Ищезаяц) Mar 12 @ 2:53am 
that's just cosmetics
Beef [bD] Mar 11 @ 9:22pm 
Heyo, I noticed that the mod stops tracking a car once in a car cover. is there any way to have a toggle to continue tracking cars?
Shaggoth (Ищезаяц) Mar 10 @ 1:03am 
Honestly players can do it themselves, if your flag is working as that object, or something else they can just build. You don't have to wipe em with their every need. There's nothing wrong in playing game on your server and build something they all gonna use :steamthumbsup:
Shaggoth (Ищезаяц) Mar 10 @ 1:01am 
Make non moveable object, and place it/them in your zone. Then configure mod to count that classname
Beef [bD] Mar 9 @ 11:00pm 
Heyo, Any way we could add safe zone? so if we wanted to add a parking zone then it would count that zone as a territory?

Really like the mod tho, thank you for making it
Shaggoth (Ищезаяц) Jan 26 @ 2:39am 
why the flying fuck? it's a server side mod