Importing the API
Setup with gradle
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}Replace VERSION with the latest available (v4.7.4)
dependencies {
implementation 'com.github.xF3d33:UltimateTeams:VERSION:api'
}Setup with Maven
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>Replace VERSION with the latest available (v.4.7.4)
<dependency>
<groupId>com.github.xF3d33</groupId>
<artifactId>UltimateTeams</artifactId>
<version>VERSION</version>
<classifier>api</classifier>
</dependency>JitPack: https://jitpack.io/#xF3d33/UltimateTeams
Since the version written above might not be updated regurarly, check the jitpack link to get the latest version
Add as dependency into your plugin
For Bukkit plugins:
Add UltimateTeams to your softdepend (if it is optional for your plugin to work) or depend (if your plugin relies on UltimateTeams to work) section in your plugin.yml
name: ultimateteams-addon
version: '1.0'
main: dev.xf3d3.myplugin.MyPlugin
api-version: '1.19'
softdepend: # Or, use 'depend' instead
- UltimateTeamsFor Paper plugins:
Modify your paper-plugin.yml file like below:
dependencies:
server:
UltimateTeams:
load: BEFORE
required: true # False if "softdepend" true otherwise (read bukkit plugins section)
join-classpath: falseLast updated