Archived
3
0
Fork 1

docs: update vehiclesplus/configuration/vehicles

This commit is contained in:
Stijn Bannink 2024-04-07 10:35:08 +00:00 committed by SBDeveloper
parent ed80a06784
commit 8ee32e8b32

View file

@ -2,7 +2,7 @@
title: Vehicle Configuration title: Vehicle Configuration
description: Configure the base vehicles. description: Configure the base vehicles.
published: true published: true
date: 2024-04-07T10:14:59.042Z date: 2024-04-07T10:35:05.067Z
tags: tags:
editor: markdown editor: markdown
dateCreated: 2023-07-22T14:07:37.924Z dateCreated: 2023-07-22T14:07:37.924Z
@ -70,21 +70,18 @@ Copy the example configuration file from the VehiclesPlus plugin folder for the
Rename the copied file to the name of your file. Then also change the name inside the file, like `name: MyCoolCar` Rename the copied file to the name of your file. Then also change the name inside the file, like `name: MyCoolCar`
Now go to the skin section, and replace the meta section by this: Now go to the skin section, and change the settings to the onces you chose before.
**PLEASE NOTE: Do *NOT* copy/paste!** Only change the `type` and `meta` sections.
```yaml ```yaml
list0: list0:
className: me.legofreak107.vehiclesplus.vehicles.vehicles.objects.addons.skins.Skin className: me.legofreak107.vehiclesplus.vehicles.vehicles.objects.addons.skins.Skin
skin: skin:
==: org.bukkit.inventory.ItemStack ==: org.bukkit.inventory.ItemStack
v: 3337 v: 3337
# ONLY change the section below!
# Change the type to the correct item. Probably you used the LEATHER_BOOTS.
type: LEATHER_BOOTS type: LEATHER_BOOTS
meta: meta:
==: ItemMeta ==: ItemMeta
meta-type: UNSPECIFIC meta-type: UNSPECIFIC
# Set the custom model data you chose in step 4.
custom-model-data: 1 custom-model-data: 1
``` ```