-
Notifications
You must be signed in to change notification settings - Fork 2
Getting Started
Redned edited this page Jul 4, 2019
·
1 revision
Getting started with the Pwing Races API is fairly simple. Pwing Races on its own shades this API in with the plugin, so just adding it to your build path or dependencies will work.
Add the repository:
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>Add the dependency:
<dependency>
<groupId>com.github.Pwing-Minecraft</groupId>
<artifactId>PwingRaces-API</artifactId>
<version>-SNAPSHOT</version>
<scope>provided</scope>
</dependency>Add the repository:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}Add the dependency:
dependencies {
implementation 'com.github.Pwing-Minecraft:PwingRaces-API:Tag'
}If you're not using either of these tools and are just using a normal build path manager, like that in Eclipse, you must either compile the jar on your own, download it from one of the repository links above directly, or have purchased the Pwing Races plugin and added the jar to your build path.
Now that you have the API added to your build path, you can now start coding with it!