Purge deleted vehicles command #157
Labels
No Label
API
Addon Request
Bug
Duplicate
Enhancement
Feature Request
High Priority
Hybrid Software
Incompatibility
Invalid
Legacy
Low Priority
Missing Information
Needs Confirmation
Possible with API
Question
Won't Fix
v3
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SBDevelopment/VehiclesPlus#157
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your enhancement related to a problem? Please describe.
Everytime certain players join a server, it spits ou a console log stating they own a deleted vehicle.
Describe the solution you'd like
Command that purges deleted vehicles from player garages.
Additional context
Add any other context or screenshots about the feature request here.
[04:57:15 INFO]: [+] Rusty0001 entered the nations world.
[04:57:15 WARN]: There was an error loading Rusty0001's vehicle. This is often caused by a missing base vehicle. If a player purchases a vehicle and the base vehicle is removed from the server, the player will no longer be able to spawn their vehicle.
[04:57:15 WARN]: File: plugins/VehiclesPlusPro/data/35b3a248-b4c9-48e6-8587-696c718cab23/f79a6fa8-8055-4e97-951c-1cc922b2e46b.yml
[04:57:15 WARN]: There was an error loading Rusty0001's vehicle. This is often caused by a missing base vehicle. If a player purchases a vehicle and the base vehicle is removed from the server, the player will no longer be able to spawn their vehicle.
[04:57:15 WARN]: File: plugins/VehiclesPlusPro/data/35b3a248-b4c9-48e6-8587-696c718cab23/02497c83-31d5-4fac-9d03-e46a4723f738.yml
[04:57:15 WARN]: There was an error loading Rusty0001's vehicle. This is often caused by a missing base vehicle. If a player purchases a vehicle and the base vehicle is removed from the server, the player will no longer be able to spawn their vehicle.
[04:57:15 WARN]: File: plugins/VehiclesPlusPro/data/35b3a248-b4c9-48e6-8587-696c718cab23/21148c9c-a0e3-4648-806d-80f30e45f48d.yml
[04:57:15 WARN]: There was an error loading Rusty0001's vehicle. This is often caused by a missing base vehicle. If a player purchases a vehicle and the base vehicle is removed from the server, the player will no longer be able to spawn their vehicle.
[04:57:15 WARN]: File: plugins/VehiclesPlusPro/data/35b3a248-b4c9-48e6-8587-696c718cab23/e42adaed-7e04-4b0c-b1d4-c87c3d9a5d6b.yml
V3 will contain base vehicle management as an in-game feature. The delete command will then handle this. I agree a seperate command should be added if you delete the file itself instead.
Deleted Base Vehicleto Purge deleted vehicles command