1.3.1 release

This commit is contained in:
Luka de Vrij committed 2024-04-13 21:48:38 +02:00
1 parent 19338dcdcd
commit 1ddfe08162
4 files changed
+7 -41

No files matched your search

+2 -39
View File
@@ -6,7 +6,7 @@
<groupId>me.lifelessnerd.purekitpvp</groupId>
<artifactId>PureKitPvP</artifactId>
<version>1.3</version>
<version>1.3.1</version>
<packaging>jar</packaging>
<name>PureKitPvP</name>
@@ -44,39 +44,6 @@
</execution>
</executions>
</plugin>
<!-- <plugin>-->
<!-- <groupId>net.md-5</groupId>-->
<!-- <artifactId>specialsource-maven-plugin</artifactId>-->
<!-- <version>1.2.2</version>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <phase>package</phase>-->
<!-- <goals>-->
<!-- <goal>remap</goal>-->
<!-- </goals>-->
<!-- <id>remap-obf</id>-->
<!-- <configuration>-->
<!-- <srgIn>org.spigotmc:minecraft-server:1.20.2-R0.1-SNAPSHOT:txt:maps-mojang</srgIn>-->
<!-- <reverse>true</reverse>-->
<!-- <remappedDependencies>org.spigotmc:spigot:1.20.2-R0.1-SNAPSHOT:jar:remapped-mojang</remappedDependencies>-->
<!-- <remappedArtifactAttached>true</remappedArtifactAttached>-->
<!-- <remappedClassifierName>remapped-obf</remappedClassifierName>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- <execution>-->
<!-- <phase>package</phase>-->
<!-- <goals>-->
<!-- <goal>remap</goal>-->
<!-- </goals>-->
<!-- <id>remap-spigot</id>-->
<!-- <configuration>-->
<!-- <inputFile>${project.build.directory}/${project.artifactId}-${project.version}-remapped-obf.jar</inputFile>-->
<!-- <srgIn>org.spigotmc:minecraft-server:1.20.2-R0.1-SNAPSHOT:csrg:maps-spigot</srgIn>-->
<!-- <remappedDependencies>org.spigotmc:spigot:1.20.2-R0.1-SNAPSHOT:jar:remapped-obf</remappedDependencies>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
@@ -103,10 +70,6 @@
<id>sonatype</id>
<url>https://oss.sonatype.org/content/groups/public/</url>
</repository>
<!-- <repository>-->
<!-- <id>sk89q-repo</id>-->
<!-- <url>https://maven.enginehub.org/repo/</url>-->
<!-- </repository>-->
<repository>
<id>sonatype-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
@@ -125,7 +88,7 @@
<dependency>
<groupId>me.catcoder</groupId>
<artifactId>bukkit-sidebar</artifactId>
<version>6.2.5-SNAPSHOT</version>
<version>6.2.6-SNAPSHOT</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.j256.ormlite/ormlite-jdbc -->
<dependency>
@@ -38,7 +38,7 @@ public class InfoCommand extends Subcommand{
String message =
"""
&bPureKitPvP - version 1.3
&bPureKitPvP - version 1.3.1
&6Discord Support: &ohttps://discord.com/invite/8n65jSEkVf
&6SpigotMC: &ohttps://bit.ly/PureKitPvPSpigotMC
&6Github: &ohttps://github.com/LifelessNerd/PureKitPvP
@@ -220,7 +220,7 @@ public class PerkFireHandler {
double damageDealt = event.getDamage();
double regen = damageDealt / 2;
double maxHealth = player.getAttribute(Attribute.GENERIC_MAX_HEALTH).getValue();
System.out.println(maxHealth);
// System.out.println(maxHealth);
if (player.getHealth() + regen <= maxHealth){
player.setHealth(player.getHealth() + regen);
} else {
@@ -45,11 +45,13 @@ public class SidebarScoreboard implements Listener {
switch(panel){
case "GlobalStats":
Sidebar<Component> globalStatsSidebar = ProtocolSidebar.newAdventureSidebar(titleComponent, plugin);
globalStatsSidebar.getObjective().scoreNumberFormatBlank();
fillGlobalSidebar(globalStatsSidebar);
enabledSidebars.add(globalStatsSidebar);
break;
case "PersonalStats":
Sidebar<Component> personalStatsSidebar = ProtocolSidebar.newAdventureSidebar(titleComponent, plugin);
personalStatsSidebar.getObjective().scoreNumberFormatBlank();
fillPersonalSidebar(personalStatsSidebar);
enabledSidebars.add(personalStatsSidebar);
break;
@@ -96,6 +98,7 @@ public class SidebarScoreboard implements Listener {
switch(component) {
case "Killstreak":
sidebar.addLine(LanguageConfig.lang.get("SCOREBOARD_GLOBAL_KILLSTREAK"));
createdLeaderboard = createLeaderboard(".killstreak", places);
break;