Class VehicleGive

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

public class VehicleGive extends MTVSubCommand
/vehicle give %player% %vehicleName% [--voucher:true] - give a vehicle / a voucher to a player.
Permission: mtvehicles.givecar / mtvehicles.givevoucher
Since:
2.5.7
  • Constructor Details

    • VehicleGive

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