SBDPlugins / VehiclesPlus

Information about the VehiclesPlus plugin.
https://sbdevelopment.tech
Other
5 stars 1 forks source link

Deleted Base Vehicle #157

Open SatireShadow opened 1 year ago

SatireShadow commented 1 year ago

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

stijnb1234 commented 1 year ago

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.