From 9541bf446fc0882966e37d4f6cbbd74c6d565579 Mon Sep 17 00:00:00 2001 From: Administrator Date: Sun, 7 Apr 2024 10:51:40 +0000 Subject: [PATCH] docs: update vehiclesplus/configuration/vehicles --- vehiclesplus/configuration/vehicles.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/vehiclesplus/configuration/vehicles.md b/vehiclesplus/configuration/vehicles.md index b401d57..1ae88d9 100644 --- a/vehiclesplus/configuration/vehicles.md +++ b/vehiclesplus/configuration/vehicles.md @@ -2,7 +2,7 @@ title: Vehicle Configuration description: Configure the base vehicles. published: true -date: 2024-04-07T10:40:00.643Z +date: 2024-04-07T10:51:36.798Z tags: editor: markdown dateCreated: 2023-07-22T14:07:37.924Z @@ -23,12 +23,17 @@ https://www.youtube.com/watch?v=5CbPg7ld7hw ##### Step 1: Purchase your models The first step is to achieve the models you want to use. Make sure the models are delivered in a Minecraft-compatible `.json` file. This makes it super easy to install! -You can easily find VehiclesPlus-compatible models [on Polymart](https://vehicles.polymart.org/). +> You can easily find VehiclesPlus-compatible models [on Polymart](https://vehicles.polymart.org/). +{.is-info} ##### Step 2: Download the empty tutorial resourcepack +> Do you already have a resourcepack for your server? Then **skip** this step. +{.is-warning} + +To get started, you must [download the empty tutorial resourcepack](https://git.sbdevelopment.tech/SBDevelopment/VehiclesPlus/releases/download/v1.0/VP-Tutorial-RP-v1.0.zip). Unzip the ZIP file so that you can easily add new files. ##### Step 3: Changing the supported version -Open the `pack.mcmeta` file in the root folder. Change the `pack_format` to the correct number according to the table below. Then change the `game_version` to the default (latest) version you want to support. +Open the `pack.mcmeta` file. Change the `pack_format` to the correct number according to the table below. Then change the `game_version` to the default (latest) version you want to support. | 1.12 - 1.12.2 | 1.13 - 1.14.4 | 1.15 - 1.16.1 | 1.16.2 - 1.16.5 | 1.17 - 1.17.1 | 1.18 - 1.18.2 | 1.19 - 1.19.2 | 1.19.3 | 1.19.4 | 1.20 - 1.20.2 | 1.20.2 - 1.20.4 | |:-------------:|:-------------:|:-------------:|:---------------:|:-------------:|:-------------:|:-------------:|:------:|:------:|:-------------:|:---------------:| @@ -52,7 +57,10 @@ Under the `overrides` section, add a line like this: Replace `YOURMODEL` by the name of the `.json` file (excluding the extension!). Replace the `1` by the data number you want to assign. This must be unique for the `leather_boots` file. Remember this number for step 5. -###### Step 6: Create a configuration file +###### Step 6: ZIP the contents +Now your resourcepack is ready! Zip the `assets` folder and the `pack.mcmeta` to one ZIP file and install it inside your Minecraft client to test it out. + +###### Step 7: Create a configuration file Now go to your Minecraft server's files. Copy the example configuration file from the VehiclesPlus plugin folder for the type of vehicle you want to add. If you don't have the original files in your plugin folder anymore, you can [find them here](https://git.sbdevelopment.tech/SBDevelopment/VehiclesPlus/src/branch/master/Vehicle%20Models). @@ -74,6 +82,12 @@ list0: custom-model-data: 1 ``` +###### Step 8: Change other settings +Now it's time to change the other settings to match your vehicle. Check the "Settings per vehicle" section below to see what each setting does. + +> This step might take some time. You need to change the settings, reload your server and see if everything is working as expected. You might need to tinker some settings multiple times. +{.is-info} + ## Settings per vehicle This section explains which settings are available per vehicle. *Per setting will be explained what it means as a comment (`#`).*