mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-05-15 17:31:26 +00:00
787b303c9f
## Additions * Adds a built-in bending board sidebar to visualize bound abilities and cooldowns. * The board respects worlds where bending is disabled. * Players can use the command `/pk board` to toggle the visibility of their board. * Includes an API that community developers can use in BendingBoardManager. * Adds the `"Properties.BendingBoard"` config option to enable or disable the board server. * Adds language file configuration options to control BendingBoard visuals. * `"Board.Title"` * Controls the title at the top of the board. * Supports the standard Minecraft color codes. * `"Board.SelectionPrefix"` * Controls the prefix shown corresponding to your current hot bar slot. * Supports the standard Minecraft color codes. * `"Board.EmptySlot"` * Controls what is shown for empty slots. * Supports the standard Minecraft color codes. * `{slot_number}` can be used as a placeholder for the slot number. * `"Board.MiscSeparator"` * Controls the separation between hot bar binds and temporary cooldowns such as Combos. * Supports the standard Minecraft color codes. * Adds support for KingdomsX version 1.10.19.1 * Adds ability permission check to passive abilities. They should now respect their `bending.ability.<ability name>` permissions. * Adds `AbilityVelocityAffectEntityEvent` * A cancellable event that will fire whenever an ability would alter the velocity of an entity. * Adds the `Abilities.Earth.EarthSmash.Shoot.CollisionRadius` configuration option * Sets the collision radius of shot EarthSmash. ## Fixes * Fixes FireBlast going through liquids. * Fixes duplication involving waterlogged containers. * Fixes being able to not enter the name of a Preset when using the `/pk preset create <name>` command. * Fixes getDayFactor() not being applied correctly and occasionally producing the wrong value. * Fixes a rounding issue with some Fire ability damage configuration options. * Fixes an error when attempting to start EarthGrab. * Fixes PhaseChange error when melting snow. * Fixes a memory/process leak in how cooldowns were removed. * A player's cooldowns could only be removed when they were online. If a player's cooldown expired while they weren't online, their cooldown would attempt to revert every tick until the player rejoined. This has been resolved so cooldowns can revert while a player is offline. * A side effect of this fix is that it is now possible for `PlayerCooldownChangeEvents` to fire while their corresponding Player is offline. * Fixes an issue with `MultiAbilityManager#hasMultiAbilityBound` where it would return true if any MultiAbility is bound, not if the specified MultiAbility was bound. ## Misc Changes * Updates Towny version to 0.96.2.0 * DensityShift sand blocks can now be used as a bendable source. * Changes AvatarState so that its cooldown is applied when the ability ends instead of when it starts. * Changes togglable abilities such as AvatarState, Illumination, and TremorSense to visually show when they are enabled in the BendingBoard and on BendingPreview in the same way as the ChiBlocking Stances. * Updated the text of some ability descriptions and instructions. * Adds new cache to PhaseChange to greatly improve the performance of water/ice updates.
262 lines
8.3 KiB
XML
262 lines
8.3 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.projectkorra</groupId>
|
|
<artifactId>projectkorra</artifactId>
|
|
<version>1.9.1</version>
|
|
<name>ProjectKorra</name>
|
|
<repositories>
|
|
<!-- local jar files, add more using: mvn install:install-file -Dfile=aaa.jar -DgroupId=aaa -DartifactId=aaa -Dversion=aaa -Dpackaging=jar -DlocalRepositoryPath=path/to/ProjectKorra/localrepo/ -->
|
|
<repository>
|
|
<id>project.local</id>
|
|
<name>project</name>
|
|
<url>file://${project.basedir}/localrepo/</url>
|
|
</repository>
|
|
<!-- WorldGuard and WorldEdit Repo -->
|
|
<repository>
|
|
<id>sk89q-repo</id>
|
|
<url>http://maven.sk89q.com/repo/</url>
|
|
</repository>
|
|
<!-- GriefPrevention and Towny Repo -->
|
|
<repository>
|
|
<id>jitpack.io</id>
|
|
<url>https://jitpack.io</url>
|
|
</repository>
|
|
<!-- NoCheat Repo -->
|
|
<repository>
|
|
<id>md_5-snapshots</id>
|
|
<url>https://repo.md-5.net/content/repositories/snapshots/</url>
|
|
</repository>
|
|
<!-- Spigot Repo -->
|
|
<repository>
|
|
<id>spigot-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
</repository>
|
|
<!-- Aikars Repo -->
|
|
<repository>
|
|
<id>aikar</id>
|
|
<url>http://repo.aikar.co/nexus/content/groups/aikar/</url>
|
|
</repository>
|
|
<!-- Paper Repo -->
|
|
<repository>
|
|
<id>papermc</id>
|
|
<url>https://papermc.io/repo/repository/maven-public/</url>
|
|
</repository>
|
|
<!-- Placeholder API Repo -->
|
|
<repository>
|
|
<id>placeholderapi</id>
|
|
<url>http://repo.extendedclip.com/content/repositories/placeholderapi/</url>
|
|
</repository>
|
|
</repositories>
|
|
<dependencies>
|
|
<!-- PaperLib -->
|
|
<dependency>
|
|
<groupId>io.papermc</groupId>
|
|
<artifactId>paperlib</artifactId>
|
|
<version>1.0.1</version>
|
|
</dependency>
|
|
<!-- Minecraft Timings -->
|
|
<dependency>
|
|
<groupId>co.aikar</groupId>
|
|
<artifactId>minecraft-timings</artifactId>
|
|
<version>1.0.4</version>
|
|
</dependency>
|
|
<!-- Spigot API -->
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot-api</artifactId>
|
|
<version>1.16.1-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- lang3 -->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.8.1</version>
|
|
</dependency>
|
|
<!-- Factions -->
|
|
<dependency>
|
|
<groupId>me.markeh</groupId>
|
|
<artifactId>factionsframework</artifactId>
|
|
<version>1.2.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- GriefPrevention -->
|
|
<dependency>
|
|
<groupId>com.github.TechFortress</groupId>
|
|
<artifactId>GriefPrevention</artifactId>
|
|
<version>16.7.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- LWC -->
|
|
<dependency>
|
|
<groupId>com.griefcraft</groupId>
|
|
<artifactId>lwc</artifactId>
|
|
<version>2.1.2</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- NoCheatPlus -->
|
|
<dependency>
|
|
<groupId>fr.neatmonster</groupId>
|
|
<artifactId>nocheatplus</artifactId>
|
|
<version>3.16.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- PreciousStones -->
|
|
<!-- outdated
|
|
<dependency>
|
|
<groupId>net.sacredlabyrinth.Phaed</groupId>
|
|
<artifactId>PreciousStones</artifactId>
|
|
<version>LATEST</version>
|
|
<scope>system</scope>
|
|
<systemPath>${project.basedir}/lib/PreciousStones 10.6.1.jar</systemPath>
|
|
</dependency>
|
|
-->
|
|
<!-- Residence -->
|
|
<dependency>
|
|
<groupId>com.bekvon.bukkit</groupId>
|
|
<artifactId>residence</artifactId>
|
|
<version>4.8.3.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- Towny -->
|
|
<dependency>
|
|
<groupId>com.github.TownyAdvanced</groupId>
|
|
<artifactId>Towny</artifactId>
|
|
<version>0.96.2.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- WorldEdit / WorldGuard -->
|
|
<dependency>
|
|
<groupId>com.sk89q.worldedit</groupId>
|
|
<artifactId>worldedit-core</artifactId>
|
|
<version>7.0.0-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sk89q.worldguard</groupId>
|
|
<artifactId>worldguard-core</artifactId>
|
|
<version>7.0.0-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sk89q.worldedit</groupId>
|
|
<artifactId>worldedit-bukkit</artifactId>
|
|
<version>7.0.0-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sk89q.worldguard</groupId>
|
|
<artifactId>worldguard-legacy</artifactId>
|
|
<version>7.0.0-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- RedProtect -->
|
|
<dependency>
|
|
<groupId>br.net.fabiozumbi12</groupId>
|
|
<artifactId>RedProtect</artifactId>
|
|
<version>7.5.5</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- Kingdoms -->
|
|
<dependency>
|
|
<groupId>com.github.cryptomorin</groupId>
|
|
<artifactId>kingdoms</artifactId>
|
|
<version>1.10.19.1</version>
|
|
<scope>compile</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>*</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!-- PlaceholderAPI -->
|
|
<dependency>
|
|
<groupId>me.clip</groupId>
|
|
<artifactId>placeholderapi</artifactId>
|
|
<version>2.9.2</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<defaultGoal>clean package install</defaultGoal>
|
|
<finalName>${project.name}-${project.version}</finalName>
|
|
<sourceDirectory>${project.basedir}/src/</sourceDirectory>
|
|
<resources>
|
|
<resource>
|
|
<targetPath>.</targetPath>
|
|
<filtering>true</filtering>
|
|
<directory>${project.basedir}/src/</directory>
|
|
<includes>
|
|
<include>*.yml</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.0</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
<configuration>
|
|
<outputDirectory>${dir}</outputDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.4</version>
|
|
<configuration>
|
|
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
|
|
<filters>
|
|
<filter>
|
|
<artifact>com.github.cryptomorin:kingdoms</artifact>
|
|
<includes>
|
|
<include>org/kingdoms/constants/player/KingdomPermission.class</include>
|
|
</includes>
|
|
</filter>
|
|
</filters>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>co.aikar.timings.lib</pattern>
|
|
<shadedPattern>timingslib.projectkorra</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>io.papermc.lib</pattern>
|
|
<shadedPattern>paperlib.projectkorra</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.apache.commons</pattern>
|
|
<shadedPattern>commonslang3.projectkorra</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<minimizeJar>true</minimizeJar>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<properties>
|
|
<dir>${project.build.directory}</dir>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
</project>
|