#154: ResourcePackAPI integration

This commit is contained in:
Daniel Saukel 2016-09-11 22:20:29 +02:00
parent 6224c931db
commit cd8af05227
3 changed files with 19 additions and 1 deletions

View File

@ -33,6 +33,7 @@ DungeonsXL also provides custom game mechanics to make these worlds interesting.
* Different game types allow you to use your maps dynamically for different purposes. [Read more...](../../wiki/game-types)
* Announcements sothat users can join the next match easily. [Read more...](../../wiki/announcements)
* Great performance due to a custom, asynchronous world loading and creation method and several other performance tweaks
* Per dungeon resource packs
* ...and many more!
@ -72,6 +73,9 @@ Maven automatically fetches all dependencies and builds DungeonsXL; just run _bu
#### Caliburn API
[Caliburn](https://github.com/DRE2N/CaliburnAPI) is an API to read custom items and mobs from config files. DungeonsXL contains Caliburn Beta 0.2.1.
#### ResourcePackAPI
inventivetalent's [ResourcePackAPI](https://www.spigotmc.org/resources/api-resourcepackapi-1-7-1-8-1-9-1-10.2397/) is an API to set the resourcepack of a player. DungeonsXL contains ResourcePackAPI 2.2.1.
### Java
Make sure that your server uses Java 7 or higher.

11
pom.xml
View File

@ -45,7 +45,7 @@
<dependency>
<groupId>io.github.dre2n</groupId>
<artifactId>caliburn</artifactId>
<version>0.2</version>
<version>0.2.1</version>
</dependency>
<dependency>
<groupId>io.github.dre2n</groupId>
@ -74,6 +74,11 @@
<version>2.6.9</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.inventivetalent.resourcepackapi</groupId>
<artifactId>api</artifactId>
<version>2.2.1</version>
</dependency>
</dependencies>
<repositories>
<repository>
@ -92,6 +97,10 @@
<id>betonquest-repo</id>
<url>http://betonquest.betoncraft.pl/mvn</url>
</repository>
<repository>
<id>inventive-repo</id>
<url>http://repo.inventivetalent.org/content/groups/public/</url>
</repository>
<repository>
<id>dre2n-repo</id>
<url>http://feuerstern.bplaced.net/repo/</url>

View File

@ -29,6 +29,10 @@
<pattern>io.github.dre2n.commons</pattern>
<shadedPattern>io.github.dre2n.dungeonsxl.util.commons</shadedPattern>
</relocation>
<relocation>
<pattern>org.inventivetalent.rpapi</pattern>
<shadedPattern>io.github.dre2n.dungeonsxl.util.resourcepackapi</shadedPattern>
</relocation>
</relocations>
<artifactSet>
<includes>
@ -36,6 +40,7 @@
<include>io.github.dre2n:caliburn</include>
<include>io.github.dre2n:debukkit</include>
<include>io.github.dre2n:dungeonsxl-*</include>
<include>org.inventivetalent.resourcepackapi:api</include>
</includes>
</artifactSet>
</configuration>