Skip to content

Commit

Permalink
1.21.4 and API updates
Browse files Browse the repository at this point in the history
  • Loading branch information
BGHDDevelopment committed Dec 31, 2024
1 parent efa2337 commit 8290dd4
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
Binary file removed lib/Skulls - v3.12.0.jar
Binary file not shown.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,14 @@
<dependency>
<groupId>sample</groupId>
<artifactId>SkullsAPI</artifactId>
<version>3.12.0</version>
<version>3.22.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/Skulls - v3.12.0.jar</systemPath>
<systemPath>${project.basedir}/lib/Skulls - v3.22.0.jar</systemPath>
</dependency>
<dependency>
<groupId>com.github.cryptomorin</groupId>
<artifactId>XSeries</artifactId>
<version>11.3.0</version>
<version>12.1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public final class PunishGUI extends JavaPlugin {
private List<Listener> listeners = new ArrayList<>();
private BannedManager bannedPlayersManager = BannedManager.getManager();
private PlaceholderAPI placeholderAPI;
private String Version = "1.1.10";
private String Version = "1.1.11";

public static PunishGUI getInstance() {
return PunishGUI.instance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,62 +25,62 @@ private static boolean versionMatches(String... versions) {
}

public static boolean isOnePointEightPlus() {
return versionMatches("1.8", "1.9", "1.10", "1.11", "1.12", "1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3");
return versionMatches("1.8", "1.9", "1.10", "1.11", "1.12", "1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4");
}

public static boolean isOnePointNinePlus() {
return versionMatches("1.9", "1.10", "1.11", "1.12", "1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3");
return versionMatches("1.9", "1.10", "1.11", "1.12", "1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4");
}

public static boolean isOnePointTenPlus() {
return versionMatches("1.10", "1.11", "1.12", "1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3");
return versionMatches("1.10", "1.11", "1.12", "1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4");
}

public static boolean isOnePointElevenPlus() {
return versionMatches("1.11", "1.12", "1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3");
return versionMatches("1.11", "1.12", "1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4");
}

public static boolean isOnePointTwelvePlus() {
return versionMatches("1.12", "1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3");
return versionMatches("1.12", "1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4");
}

public static boolean isOnePointThirteenPlus() {
return versionMatches("1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3");
return versionMatches("1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4");
}

public static boolean isOnePointFourteenPlus() {
return versionMatches("1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3");
return versionMatches("1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4");
}

public static boolean isOnePointFifteenPlus() {
return versionMatches("1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3");
return versionMatches("1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4");
}

public static boolean isOnePointSixteenPlus() {
return versionMatches("1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3");
return versionMatches("1.16", "1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4");
}

public static boolean isOnePointSeventeenPlus() {
return versionMatches("1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3");
return versionMatches("1.17", "1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4");
}

public static boolean isOnePointEighteenPlus() {
return versionMatches("1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3");
return versionMatches("1.18", "1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4");
}

public static boolean isOnePointNineteenPlus() {
return versionMatches("1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3");
return versionMatches("1.19", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4");
}

public static boolean isOnePointTwentyPointFivePlus() {
return versionMatches("1.20.5", "1.20.6", "1.21", "1.21.1", "1.21.2", "1.21.3");
return versionMatches("1.20.5", "1.20.6", "1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4");
}

public static boolean isVersionAvailable() {
return versionMatches("1.8", "1.9", "1.10", "1.11", "1.12", "1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.20.5", "1.20.6", "1.21", "1.21.1", "1.21.2", "1.21.3");
return versionMatches("1.8", "1.9", "1.10", "1.11", "1.12", "1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.20.5", "1.20.6", "1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4");
}

public static boolean isVersionStable() {
return versionMatches("1.8", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3");
return versionMatches("1.8", "1.20", "1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4");
}
}
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: PunishGUI
version: 1.1.10
version: 1.1.11
main: net.bghddevelopment.punishmentgui.PunishGUI
author: BGHDDevelopmentLLC
api-version: 1.13
Expand Down

0 comments on commit 8290dd4

Please sign in to comment.