Archived
3
0
Fork 1

docs: update vehiclesplus-v3/API

This commit is contained in:
Cedric 2024-12-28 20:38:37 +00:00 committed by SBDeveloper
parent 5a6078a158
commit 36ecc943c7

View file

@ -2,7 +2,7 @@
title: API
description: Api usage examples
published: false
date: 2024-12-28T20:14:44.954Z
date: 2024-12-28T20:38:34.412Z
tags: developers
editor: markdown
dateCreated: 2024-12-28T20:10:42.650Z
@ -29,7 +29,7 @@ Maven (`pom.xml`):
<dependency>
<groupId>tech.sbdevelopment</groupId>
<artifactId>vehiclesplus</artifactId>
<version>LATEST</version>
<version>latest</version>
</dependency>
```
@ -42,10 +42,10 @@ repositories {
}
dependencies {
implementation 'tech.sbdevelopment:vehiclesplus:LATEST'
implementation 'tech.sbdevelopment:vehiclesplus:latest'
}
```
> **Note**: Using `LATEST` ensures that your project always fetches the most recent release, but it might cause issues if breaking changes are introduced. For more stability, consider specifying a specific version (e.g., `3.0.2`).
> **Note**: Using `latest` ensures that your project always fetches the most recent release, but it might cause issues if breaking changes are introduced. For more stability, consider specifying a specific version (e.g., `3.0.2`).
## Example: Adding a Car to Someone's Garage
@ -98,3 +98,7 @@ public void giveCar(Player player, String vehicleType) {
}
}
```
## API Documentation
For additional details, examples, and advanced usage, refer to the official [VehiclesPlus API Docs](https://sbdevelopment.tech/vehiclesplus).