Plugin created by MrIvanPlays
Supports 1.12.x, 1.13.2, 1.14.x, 1.15.x
Spigot page: click here
Usually development builds are not recommended for a big server as they may contain a bunch of bugs. It is better to use a stable build which you can find at spigot
Retrieving a development build can be easily done by cloning the repository, then
cd into the base directory, then run mvn package
, retrieving jar from
plugin/bootstrap/target
or downloading jar from CI located here
NOTE: For older versions that 1.1.6-SNAPSHOT, you should use the old bintray repo url (https://dl.bintray.com/mrivanplaysbg/mrivanplays/) in order to achieve download.
Maven:
<repositories>
<repository>
<id>ivan</id>
<url>https://repo.mrivanplays.com/repository/ivan/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.mrivanplays</groupId>
<artifactId>skins-api</artifactId>
<version>1.1.7</version>
<scope>provided</scope>
</dependency>
</dependencies>
Gradle:
repositories {
maven {
url "https://repo.mrivanplays.com/repository/ivan/"
}
}
dependencies {
compileOnly 'com.mrivanplays:skins-api:1.1.7'
}
public class MyMainClass extends JavaPlugin {
private SkinsApi skins;
@Override
public void onEnable() {
setupSkinsApi();
if (!getServer().getPluginManager().isPluginEnabled(this)) {
return;
}
// other code
}
private void setupSkinsApi() {
if (getServer().getPluginManager().getPlugin("Skins") == null) {
getLogger().severe("Skins plugin required, disabling!");
getServer().getPluginManager().disablePlugin(this);
return;
}
RegisteredServiceProvider<SkinsApi> provider =
getServer().getServicesManager().getRegistration(SkinsApi.class);
this.skins = provider.getProvider();
}
}