Class VehicleBuy

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

public class VehicleBuy extends MTVSubCommand
/vehicle buy %vehicleName% [--voucher:true] - buy yourself a vehicle / a voucher.
Permission: mtvehicles.buycar / mtvehicles.buyvoucher
Since:
2.5.7
  • Constructor Details

    • VehicleBuy

      public VehicleBuy()
  • 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