All armor stands for vehicles are now implemented as real entities instead of packet-based stands.
Optional: You can still revert to using packet-based armor stands in config.yml (not recommended).
Advantages: better performance since it is not required to send constant teleport packets.
Disadvantages: other plugins (or commands) may remove armor stands from vehicles. However, this plugin does a check once in a while and will try to respawn the armor stands if necessary. If you are using a plugin that removes entities, avoid it for armor stands.
Previews: Packet-based armor stands will continue to be used for vehicle previews.
Added an option to toggle wheel rotation for applicable vehicles (CYBERCAR/KART/QUAD).
Tractor:
Introduced a new, smaller, and optimized tractor model (IMAGE BELOW!).
For the new model to be updated, you must delete the current one located in models/tractor.yml.
The tractor now operates on a single block instead of 3.
The message commands.give.player-not-found has been moved to commands.player-not-found since the same message is now used for more than one command (messages.yml).
Should fix ConcurrentModificationException when reloading the plugin.
Additional permission is now required for a player to give a vehicle to another player using the /vw give command (only if the name of another player is specified).
permission: vehicleswasd.give.other
Now you can specify a player for the /vw preview command (useful to use it from the console).
permission: vehicleswasd.preview.other
Now you can specify a player for the /vw fuel command (useful to use it from the console).
Now players can track their vehicles with the new command /vw vehicles (permission: vehicleswasd.vehicles).
This command opens a menu showing all the player's vehicles.
In this menu, players can view data such as the vehicle type, coordinates, fuel level, etc.
Clicking on a vehicle will remove it from the world and save it to the player's inventory.
NOTE: Vehicle tracking starts from this update, so not all vehicles will appear until they are respawned (this will only be required once).
NOTE 2: This feature works better on versions 1.18.1 and newer. In previous versions (1.17.0 - 1.18.0), only vehicles in loaded chunks will be found. To ensure all vehicles are tracked properly, it is recommended to update your server to version 1.18.1 or higher.
New Command: /vw preview <type> [shop-id]
This command allows you to preview a vehicle (useful if you're not using the shop feature, which was the only place to preview a vehicle before).
You can also preview vehicles with customizations from the shop, specifying a shop-id.
Removed follow-player-teleport option in favor of the new pick-up-on-dismount setting.
With the new setting, when a player dismounts from a vehicle, it will be saved to their inventory.
NOTE: If the player doesn't have enough inventory space, the vehicle will remain in place.
New vehicle: Plane (image and video at the bottom).
To move up or down, simply look up or down with your cursor.
You can specify the speed at which the plane can start ascending.
Primary weapon:
Shoots 2 arrows at the same time.
You can customize attributes like critical damage, power level, pierce level (the number of times an arrow can pierce through an entity), and fire arrows.
Supports all types of arrows (e.g., spectral, tipped), and their effects remain when shooting.
Secondary weapon (become a dragon!):
Shoots a fireball (similar to tanks).
While in the air, players can select a target by looking at it.
When a target is selected, it will glow red (or any other color you choose), and the target's name, along with the distance, will appear in the action bar.
Fireballs will home in on the selected target until they hit.
Now you can select which entities can be picked up by vehicles.
Now you can select which worlds a vehicle can be placed in.
Added an option to make vehicles stop moving when a player dismounts at high speeds.
Keybinds:
Now you can select which key (left-click or right-click) will open the vehicle menu while riding.
Now you can select which key (left-click or right-click) will shoot the vehicle weapon (for planes and tanks).
Whenever a player places a vehicle, they will receive an action bar message showing all the keybinds for that vehicle, such as moving, shooting, leaving, etc.
New block-breaking mechanic:
Vehicles can now break passable blocks (e.g., flowers, cactus, bamboo) in front while moving.
You can choose the blocks you want, you can even choose blocks that can only be broken by a specific vehicle!
NOTE: This shouldn't be used for solid blocks.
Added a fuel item:
Obtainable with /vw fuel.
This fuel can be used to refuel any vehicle to its max capacity.
Fuel warning:
When vehicle fuel drops below a specified percentage (set in config.yml), the fuel bar will flash, indicating a low fuel level.
Planes and tanks will not be allowed to shoot if they cannot move (e.g., out of fuel or in a restricted area).
If a vehicle catches fire, the entire model will now be on fire, not just the main part.
Fixed vehicle chair height across different versions (in some versions, players were sitting lower than they should have).
Added a feature that allows entities near the vehicle to sit as passengers (if the vehicle has extra seats), similar to boats and minecarts (disabled by default).
Added an extra chair to the bike.
To make it work, delete models/bike.yml and run /vw reload (or restart the server).
Added an option to make the vehicle follow the player when the player teleports (disabled by default).
Note: This feature isn't fully completed yet; consider it experimental.
If a player teleports to a location with a WorldGuard region that has the av-place flag, the vehicle will still be placed.
This function is still under development and testing.
Fixed an issue where the customization and shop GUIs were empty.
Fixed the vehicle storage title not updating the owner’s name when ownership is transferred to another player.
The vehicle menu has been changed, it no longer uses a llama as a chair so it is no longer possible to open the menu by opening the player's inventory while driving. Now, it is only possible to open the vehicle menu by shift + right click on the vehicle.