Class VehicleDespawn

java.lang.Object
nl.mtvehicles.core.infrastructure.models.MTVSubCommand
nl.mtvehicles.core.commands.vehiclesubs.VehicleDespawn

public class VehicleDespawn extends MTVSubCommand
/vehicle despawn %license-plate% - Purge all vehicles with given license plate IF PLACED, FROM ALL WORLDS. Does NOT remove the vehicle from the dabatase (vehicleData.yml) - use /vehicle delete for that.
See Also:
  • Constructor Details

    • VehicleDespawn

      public VehicleDespawn()
  • Method Details

    • execute

      public boolean execute()
      Description copied from class: MTVSubCommand
      Code executed by a subcommand
      Specified by:
      execute in class MTVSubCommand
      Returns:
      True if successful