🚙
VehiclePlusPlus
  • Welcome
  • Getting Started
    • Quickstart
  • Features
    • Car dealer
      • Configuration
      • Placeholders
    • Keys
      • Configuration
Powered by GitBook
On this page
  1. Features
  2. Car dealer

Configuration

messages:
  # Vehicle too expensive to purchase
  insufficient_funds: §cInsufficient funds!
  
  # Vehicle purchased
  # Placeholders :
  #   $VEHICLE  - vehicle's display name
  #   $PRICE    - vehicle's price
  purchase_completed: §7You just bought the §f$VEHICLE §7for §f$PRICE§7!
  
  # Instructions sent when opening a car dealer
  instruction: §7<LEFT/RIGHT> §fRotate\n§7<UP/DOWN> §fChange vehicle\n§7<JUMP> §fPurchase\n§7<SHIFT> §fQuit
  
  # Action bar displayed in a car dealer instance
  # Placeholders :
  #   $VEHICLE      - vehicle's display name
  #   $PRICE        - vehicle's price
  #   $DESCRIPTION  - vehicle's description
  current_vehicle_information: §f$VEHICLE §7- §f$PRICE §7- §f$DESCRIPTION

car_preview:
  # Toggle the instruction message sent when opening a car dealer instance
  send_instruction: true
  
  # Toggle the vehicle information action bar displayed in a car dealer instance
  display_information: true

gui:
  # Car dealer confirm purchase GUI
  confirm_purchase:
    title: Are you sure?   # GUI's title
    size: 3                # GUI's row count
    
    # Button to cancel the purchase
    cancel_button:
      material: RED_STAINED_GLASS_PANE
      label: §cNo!
      lore:
        - §7It's okay bro
      slots:  # It can be set to multiple slots
        - 11
        
    # Button to confirm the purchase
    confirm_button:
      material: GREEN_STAINED_GLASS_PANE
      label: §aYes!
      lore:
        - §7Nice choice mate!
        - §7It's only §f$PRICE  # Here you can use the $PRICE placeholder
      slots:  # It can be set to multiple slots
        - 15

PreviousCar dealerNextPlaceholders

Last updated 3 months ago