Skip to content

IncrediblePlugins/ChestProtectAPI

Repository files navigation

Javadoc

https://jitpack.io/com/github/angeschossen/ChestProtectAPI/latest/javadoc/

API Usage Explained

Include the API using Gradle:

repositories {
	maven { url 'https://jitpack.io' }
}
dependencies {
    compileOnly "com.github.angeschossen:ChestProtectAPI:version"
}

Include the API using Maven:

<repositories>
	<repository>
		<id>jitpack.io</id>
		<url>https://jitpack.io</url>
	</repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>com.github.angeschossen</groupId>
        <artifactId>ChestProtectAPI</artifactId>
        <version>version</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

The API is accessible through an implementation of the ChestProtectAPI interface. ChestProtect needs to be loaded before this API can be used. It doesn't need to be enabled though.

ChestProtectAPI api = ChestProtectAPI.getInstance();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages