Vehicles

Yes! This plugins also adds vehicles!

vehicles.yml

This is the file where all custom vehicles behaviour and config are stored

Vehicle example

ufo:
  enabled: true
  permission: ufo
  model_id: 24
  name: '&fUfo'
  specific_properties:
    sit_height: 1 # seat position (height)
    step_height: 0.1 # autojump height
    size: #hitbox size (when driving)
      x: 2 
      y: 2.3 #height
      z: 1
    speed:
      drive: 1 #drive speed
      jump: 0.5 #jump speed
      fly: 0.7 #fly speed
    fuel:
      start: 150 #fuel when you obtain item (crafting)
      max: 300 #max fuel vehicle can hold
      items: #items that can be used to add fuel to vehicle
        COAL: 1 #material/custom item : amount of fuel to add
        CHARCOAL: 1 #material/custom item : amount of fuel to add
        COAL_BLOCK: 9 #material/custom item : amount of fuel to add

Infinite fuel vehicle example

As you can see, if you don't specify any fuel, vehicle will have infinite fuel.

shopping_cart:
  enabled: true
  permission: shopping_cart
  model_id: 1
  name: '&fShopping Cart'
  specific_properties:
    sit_height: 2
    speed:
      drive: 0.3
      jump: 0.3

Last updated