Skip to content

Commit f5f412e

Browse files
committed
Use Hypixel maven repo
1 parent 4e69586 commit f5f412e

File tree

3 files changed

+29
-5
lines changed

3 files changed

+29
-5
lines changed

Example/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
<groupId>net.hypixel</groupId>
99
<version>2.0.0</version>
1010

11+
<properties>
12+
<maven.deploy.skip>true</maven.deploy.skip>
13+
</properties>
14+
1115
<build>
1216
<plugins>
1317
<plugin>

Java/pom.xml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<modelVersion>4.0.0</modelVersion>
66

77
<groupId>net.hypixel</groupId>
8-
<artifactId>Java</artifactId>
9-
<version>2.0.0</version>
8+
<artifactId>HypixelAPI</artifactId>
9+
<version>3.0.0</version>
1010

1111
<dependencies>
1212
<dependency>
@@ -21,6 +21,13 @@
2121
</dependency>
2222
</dependencies>
2323

24+
<distributionManagement>
25+
<repository>
26+
<id>Hypixel</id>
27+
<url>https://repo.hypixel.net/repository/Hypixel/</url>
28+
</repository>
29+
</distributionManagement>
30+
2431
<build>
2532
<plugins>
2633
<plugin>

README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,22 @@ Hypixel PublicAPI documentation can be found in the [Documentation](https://gith
77
Java documentation can be found in the code.
88

99
### Usage
10-
You can use this API as a dependency via JitPack. In the future it will be deployed to a public maven repo.
11-
12-
[![](https://jitpack.io/v/HypixelDev/PublicAPI.svg)](https://jitpack.io/#HypixelDev/PublicAPI)
10+
You can use this API as a dependency via the public Hypixel maven repo.
11+
12+
```xml
13+
<repository>
14+
<id>Hypixel</id>
15+
<url>https://repo.hypixel.net/repository/Hypixel/</url>
16+
</repository>
17+
```
18+
19+
```xml
20+
<dependency>
21+
<groupId>net.hypixel</groupId>
22+
<artifactId>HypixelAPI</artifactId>
23+
<version>3.0.0</version>
24+
</dependency>
25+
```
1326

1427
### Query Limitations
1528
The API server has a request limit of 120 queries per minute. Any abuse of the API or intentions to bypass this limit (such as with multiple API keys) will lead to your API key being reset or banned.

0 commit comments

Comments
 (0)