mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Add new economy actions, update API docs to use new repo, add metrics to Sponge (#398)
This commit is contained in:
1 parent
8b609010ec
commit
40cb340b15
33 files changed
+437
-159
No files matched your search
+17
-12
@@ -1,9 +1,9 @@
|
||||
The HuskHomes API provides methods for getting, editing and updating user homes and warps, as well as functionality for building and executing (cross-server) teleports.
|
||||
|
||||
The API is distributed via [JitPack](https://jitpack.io/#net.william278/HuskHomes2), where you can also [view the JavaDocs](https://javadoc.jitpack.io/net/william278/HuskHomes2/latest/javadoc/).
|
||||
The API is distributed on Maven through [repo.william278.net](https://repo.william278.net/#/releases/net/william278/huskhomes/) and can be included in any Maven, Gradle, etc. project. JavaDocs are [available here](https://repo.william278.net/javadoc/releases/net/william278/huskhomes/latest).
|
||||
|
||||
## Compatibility
|
||||

|
||||
[](https://repo.william278.net/#/releases/net/william278/huskhomes/)
|
||||
|
||||
The HuskHomes API shares version numbering with the plugin itself for consistency and convenience. Please note minor and patch plugin releases may make API additions and deprecations, but will not introduce breaking changes without notice.
|
||||
|
||||
@@ -14,6 +14,11 @@ The HuskHomes API shares version numbering with the plugin itself for consistenc
|
||||
| v2.x | _v2.0—v2.11.2_ | ❌ |
|
||||
| v1.x | _v1.5—v1.5.11_ | ❌ |
|
||||
|
||||
<details>
|
||||
<summary>Targeting older versions</summary>
|
||||
|
||||
HuskHomes versions prior to `v4.3.1` are distributed on [JitPack](https://jitpack.io/#/net/william278/HuskHomes2), and you will need to use the `https://jitpack.io` repository instead.
|
||||
</details>
|
||||
|
||||
## Table of contents
|
||||
1. Adding the API to your project
|
||||
@@ -25,21 +30,21 @@ The HuskHomes API shares version numbering with the plugin itself for consistenc
|
||||
<details>
|
||||
<summary>Maven setup information</summary>
|
||||
|
||||
Add the repository to your `pom.xml` as per below.
|
||||
Add the repository to your `pom.xml` as per below. You can alternatively specify `/snapshots` for the repository containing the latest development builds (not recommended).
|
||||
```xml
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>jitpack.io</id>
|
||||
<url>https://jitpack.io</url>
|
||||
<id>william278.net</id>
|
||||
<url>https://repo.william278.net/releases</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
```
|
||||
Add the dependency to your `pom.xml` as per below. Replace `version` with the latest version of HuskHomes (without the v): 
|
||||
Add the dependency to your `pom.xml` as per below. Replace `VERSION` with the latest version of HuskHomes (without the v): 
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>net.william278</groupId>
|
||||
<artifactId>HuskHomes2</artifactId>
|
||||
<version>version</version>
|
||||
<artifactId>huskhomes</artifactId>
|
||||
<version>VERSION</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
```
|
||||
@@ -49,19 +54,19 @@ Add the dependency to your `pom.xml` as per below. Replace `version` with the la
|
||||
<details>
|
||||
<summary>Gradle setup information</summary>
|
||||
|
||||
Add the dependency like so to your `build.gradle`:
|
||||
Add the dependency as per below to your `build.gradle`. You can alternatively specify `/snapshots` for the repository containing the latest development builds (not recommended).
|
||||
```groovy
|
||||
allprojects {
|
||||
repositories {
|
||||
maven { url 'https://jitpack.io' }
|
||||
maven { url 'https://repo.william278.net/releases' }
|
||||
}
|
||||
}
|
||||
```
|
||||
Add the dependency as per below. Replace `version` with the latest version of HuskHomes (without the v): 
|
||||
Add the dependency as per below. Replace `VERSION` with the latest version of HuskHomes (without the v): 
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
compileOnly 'net.william278:HuskHomes2:version'
|
||||
compileOnly 'net.william278:huskhomes:VERSION'
|
||||
}
|
||||
```
|
||||
</details>
|
||||
|
||||
Reference in new issue
Block a user