Shop

Do not reload the plugin or the server to put these changes into effect. Restart the server.


Shop Settings

bike-shopsize: 9
bike-shoptitle: '&6Bike Shop'
bike-shopslots:
 '1':
  bikeType: 'BLACK'
  price: 30
  itemMaterial: 'CHEST'
  itemDisplayName: '&7Black Bike'
  itemLore:
   - '&7A standard black bike'
   - '&6Price: &730'
 '4':
  bikeType: 'ORANGE'
  price: 60
  itemMaterial: 'CHEST'
  itemDisplayName: '&6Orange Bike'
  itemLore:
   - '&7A standard orange bike'
   - '&6Price: &760'

* This example is using the first two vehicles from the bike shop section.

Setting

Info

bike-shopsize

Limits the size of each Vehicle shop. The maximum size is 54.

bike-shoptitle

Sets the title of the shop, which can be seen at the top of the gui.

'1', '4'

These are the slots the chest/vehicle will appear in. For more info on what number belongs to which slot click here:

bikeType

The type of bike which will be given to the user. This has to be the exact name to the one you've set in the vehicle settings.

price

Set the price users need to pay. The price has to be a whole number (no , or .) and the highest possible price is 2147483647.

itemMaterial, itemDisplayName, itemLore

Set the item which should be displayed in the slot, including its name and lore. Note: When you change the price, you will also need to change it in the lore.


Add Vehicles to the Shop

To add more vehicles to the shop, simply copy/paste a shop slot (see below) and edit it to fit to the vehicle you want to add. Make sure that the type is the exact same as the one in the vehicle settings.

 '1':
  bikeType: 'BLACK'
  price: 30
  itemMaterial: 'CHEST'
  itemDisplayName: '&7Black Bike'
  itemLore:
   - '&7A standard black bike'
   - '&6Price: &730'
 'NEW SHOP SLOT NUMBER HERE':
  bikeType: 'NAME FROM THE VEHICLE YOU ADDED'
  price: 60
  itemMaterial: 'CHEST'
  itemDisplayName: 'NAME HERE'
  itemLore:
   - 'LORE'
   - 'LORE'

Last updated