Hello peepolians!
It's been a little while since the last update so my apologies on that. This one is an exciting one of you dabble in plugin development! EpicHomes now has a proper API!
To make use of it, you can use Maven or Gradle and use the following to add EpicHomes to your project!
Maven:
HTML:
<repositories>
<repository>
<id>jitpack.io
</id>
<url>https://jitpack.io
</url>
</repository>
</repositories>
HTML:
<dependency>
<groupId>com.github.Loving11ish
</groupId>
<artifactId>EpicHomes
</artifactId>
<version>[VERSION-LISTED-ON-SPIGOT]
</version>
<scope>provided
</scope>
</dependency>
Gradle:
HTML:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
HTML:
dependencies {
implementation 'com.github.Loving11ish:EpicHomes:[VERSION-LISTED-ON-SPIGOT]'
}
If you discover any other issues with the plugin, please do send me a message or leave a post on the forum with your issue and I'll try my best to assist you.
Change-log:
Updated GitHub repository.
Updated FoliaLib to `0.3.1`.
Added `MojangAPIRequestUtils` class.
Added checks for offline/cracked servers.
Added default fallbacks for null config strings.
Added `EpicHomesAPI` class.
Added multiple static API methods for developers.
Refactored API events to new `me.loving11ish.epichomes.api.events` package.
Added firing of `AsyncHomeTeleportEvent` in sync mode when not running on Folia.
Changed plugin version to `1.0.5`.