Updated Developer API Starter (markdown)

rad 2023-05-31 16:05:42 -07:00
parent 71de73462b
commit b8f4cb9a84

@ -4,12 +4,12 @@ This document outlines the basics of how plugin developers can read and modify M
## Adding Multiverse-Core to your project ## Adding Multiverse-Core to your project
All Multiverse modules are hosted on our very own [nexus repository](https://repo.onarandombox.com/content/groups/public). All Multiverse modules are hosted on our very own [nexus repository](https://repo.onarandombox.com/content/groups/public).
To replace the placeholders with the various artifactId for Multiverse modules are: Replace the [MODULE] placeholders with the various Multiverse modules:
* Multiverse-Core * Core
* Multiverse-Inventories * Inventories
* Multiverse-Portals * Portals
* Multiverse-NetherPortals * NetherPortals
* Multiverse-SignPortals * SignPortals
As for the version, use the latest release version based on their respective Bukkit site. As for the version, use the latest release version based on their respective Bukkit site.
@ -25,13 +25,25 @@ As for the version, use the latest release version based on their respective Buk
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.onarandombox.multiverse[MODULE]</groupId> <!-- Don't forget to replace this --> <groupId>com.onarandombox.multiverse[MODULE]</groupId> <!-- Don't forget to replace this -->
<artifactId>multiverse-[MODULE]</artifactId> <!-- Replace this as well --> <artifactId>Multiverse-[MODULE]</artifactId> <!-- Replace this as well -->
<version>[VERSION]</version> <!-- This too --> <version>[VERSION]</version> <!-- This too -->
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>
``` ```
Example
```xml
<dependencies>
<dependency>
<groupId>com.onarandombox.multiversecore</groupId>
<artifactId>Multiverse-Core</artifactId>
<version>4.3.1</version>
<scope>provided</scope>
</dependency>
</dependencies>
```
### Gradle ### Gradle
```gradle ```gradle
repositories { repositories {