forked from Upstream/VillagerTradeLimiter
5110befd30
* Added /vtl see <player> command to see the trade prices of another player * Added /vtl invsee command to see the inventory of a villager * Added customizable help, success, error messages * Added result slot options, so people can change the currency and amount of the resulting item from a trade * Massive code rewrite for better sustainability and reliability * Fixed villager inventory dupe bug: food in a villager's inventory would multiply 16+ times each time a player traded with the villager * Smoothed out hero of the village, so the player never loses their original potion effect when trading with villagers TO-DO: * Add long-term restock cooldown * Add enchantment, custom model data, names, and lores to ingredient & result settings? * GUI Editor
53 lines
1.8 KiB
XML
53 lines
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.pretzel.dev</groupId>
|
|
<artifactId>VillagerTradeLimiter</artifactId>
|
|
<version>1.5.0</version>
|
|
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
</properties>
|
|
|
|
<build>
|
|
<sourceDirectory>src</sourceDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>spigotmc-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>codemc-repo</id>
|
|
<url>https://repo.codemc.org/repository/maven-public/</url>
|
|
<layout>default</layout>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot-api</artifactId>
|
|
<version>1.18.1-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>de.tr7zw</groupId>
|
|
<artifactId>functional-annotations</artifactId>
|
|
<version>0.1-SNAPSHOT</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project> |