From 7e2de3f459f1f77b99352e704832552e1e36aebd Mon Sep 17 00:00:00 2001 From: Administrator Date: Sat, 22 Jul 2023 13:06:03 +0000 Subject: [PATCH] docs: update vehiclesplus/configuration/plugin --- vehiclesplus/configuration/plugin.md | 56 +--------------------------- 1 file changed, 2 insertions(+), 54 deletions(-) diff --git a/vehiclesplus/configuration/plugin.md b/vehiclesplus/configuration/plugin.md index 11468de..0984ab7 100644 --- a/vehiclesplus/configuration/plugin.md +++ b/vehiclesplus/configuration/plugin.md @@ -2,17 +2,14 @@ title: Plugin Configuration description: Configure the VehiclesPlus plugin. published: true -date: 2023-07-22T09:20:23.417Z +date: 2023-07-22T13:06:00.040Z tags: editor: markdown dateCreated: 2023-07-22T09:20:23.417Z --- # Plugin Configuration -Configure the VehiclesPlus plugin. - -## config.yml -This file includes generic configuration settings. +This page explains the `config.yml` file, which contains generic configuration. *Per setting will be explained what it means as a comment (`#`).* ```yaml # DO NOT CHANGE @@ -58,53 +55,4 @@ showActionBar: true # If true, vehicles spawn in the locked state vehiclesSpawnLocked: true -``` - -## sounds.yml -This file changes the sounds used per base vehicle. - -### Example file -*Per setting will be explained what it means as a comment (`#`).* -```yaml -# Below are all the available sounds, applied on the base vehicle 'examplecar'. -sounds: - examplecar-engine-idle: - # The sound to play - sound: car.idle - # The duration (ticks) to play it for (PAY ATTENTION: some sounds do loop) - duration: 6 - examplecar-engine-start: - sound: car.start - duration: 2 - examplecar-engine-accelerate: - sound: car.accelerate - duration: 2 - examplecar-engine-driving: - sound: car.driving - duration: 2 - examplecar-engine-slowingdown: - sound: car.slowingdown - duration: 2 -``` - -### Adding new sounds -To add the sounds for another base vehicle, just copy the default list and change all the settings. -*Do NOT copy the `[...]`, instead copy the part below it and paste at the end of the file.* -```yaml -[...] - newbasevehicle-engine-idle: - sound: car.idle - duration: 6 - newbasevehicle-engine-start: - sound: car.start - duration: 2 - newbasevehicle-engine-accelerate: - sound: car.accelerate - duration: 2 - newbasevehicle-engine-driving: - sound: car.driving - duration: 2 - newbasevehicle-engine-slowingdown: - sound: car.slowingdown - duration: 2 ``` \ No newline at end of file