Skip to content

Commit

Permalink
Initial Support 1.19.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Happyuky7 committed Mar 15, 2023
1 parent 2664e72 commit acac1c4
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 25 deletions.
4 changes: 2 additions & 2 deletions Code/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.github.happyrogelio7</groupId>
<artifactId>SepareWorldItems</artifactId>
<version>1.2.20-DEV-100</version>
<version>1.2.20-DEV-101</version>
<packaging>jar</packaging>

<name>SepareWorldItems</name>
Expand All @@ -33,7 +33,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.19.3-R0.1-SNAPSHOT</version>
<version>1.19.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void onEnable() {
Bukkit.getConsoleSender().sendMessage(MessageColors.getMsgColor("&3&m------------------------------------"));

// Verify config version.
if (!getConfig().getString("general.config").equals("1.2.20-DEV-100")) {
if (!getConfig().getString("general.config").equals("1.2.20-DEV-101")) {
Bukkit.getConsoleSender().sendMessage(MessageColors.getMsgColor("&3&m------------------------------------"));
Bukkit.getConsoleSender().sendMessage(MessageColors.getMsgColor("&f [Error]: &cConfig Version ERROR."));
getLogger().log(Level.SEVERE, "[Error]: Config Version ERROR.");
Expand All @@ -103,18 +103,6 @@ public void onEnable() {
//onDisable();
}

// Verify Java Build Version.
if (!Objects.equals(getConfig().getString("general.java-version"), "17")) {
Bukkit.getConsoleSender().sendMessage(MessageColors.getMsgColor("&3&m------------------------------------"));
Bukkit.getConsoleSender().sendMessage(MessageColors.getMsgColor("&f [Error]: &cConfig Version JAVA ERROR."));
Bukkit.getConsoleSender().sendMessage(MessageColors.getMsgColor("&f [Error]: &cJava Build 17"));
getLogger().log(Level.SEVERE, "[Error]: Config Version JAVA ERROR.");
getLogger().log(Level.SEVERE, "[Error]: Java Build 17");
Bukkit.getConsoleSender().sendMessage(MessageColors.getMsgColor("&3&m------------------------------------"));
//Bukkit.getPluginManager().disablePlugin(this);
//onDisable();
}

}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static String getMsgColor(String text) {
|| Bukkit.getVersion().contains("1.18") || Bukkit.getVersion().contains("1.18.1")
|| Bukkit.getVersion().contains("1.18.2") || Bukkit.getVersion().contains("1.19")
|| Bukkit.getVersion().contains("1.19.1") || Bukkit.getVersion().contains("1.19.2")
|| Bukkit.getVersion().contains("1.19.3")
|| Bukkit.getVersion().contains("1.19.3") || Bukkit.getVersion().contains("1.19.4")
) {
Pattern pattern = Pattern.compile("#[a-fA-F0-9]{6}");
Matcher matcher = pattern.matcher(text);
Expand Down
10 changes: 4 additions & 6 deletions Code/src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
# Discord OR Support: https://discord.gg/3EebYUyeUX
# Config Plugin SepareWorldItems 1.2.20-DEV-100
# Update = true
# Config = 1.2.20-DEV-100
# Config = 1.2.20-DEV-101
#
general:
update: true
update-link: "https://github.com/HappyRogelio7/SEPARE-WORLD-ITEMS/" #Do not change.
config: 1.2.20-DEV-100 #Do not change
java-version: 17 #Do not change, This version is build for Java 17.
config: 1.2.20-DEV-101 #Do not change

experimental:
lang: en_US #Change the language of the plugin.
#
# Options.
Expand All @@ -35,9 +36,6 @@ Options:
bypass-world-options:
use_bypass: false

#
# Config Plugin SepareWorldItems 1.2.20-DEV-100
#
groups:
- default
worlds:
Expand Down
2 changes: 1 addition & 1 deletion Code/src/main/resources/langs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Config Langs
# Config = 1.2.20-DEV-100
# Config = 1.2.20-DEV-101
# Prefix Value: %prefix%
# Lang: EN
# Here you can find the list of languages to which the plugin is already translated:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
License

Copyright (c) 2017-2022 HappyRogelio7
Copyright (c) 2017-2023 HappyRogelio7

He use of this Repository is Free but its Sale or distribution is not allowed as you created it.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SEPARE WORLD ITEMS, It's a echo plugin to be for your invention by world.
[Donwload 1.2.19 / Minecraft Version Support 1.8.8 - 1.19.2 ](https://github.com/HappyRogelio7/SEPARE-WORLD-ITEMS/blob/master/SepareWorldItems-Downloads/Updates/SepareWorldItems-1.2.19.jar)

[Download / Dev Support 1.19.3 (1.2.20-DEV-100)](https://github.com/HappyRogelio7/SEPARE-WORLD-ITEMS/blob/master/SepareWorldItems-Downloads/Dev-Version/SepareWorldItems-1.2.20-DEV-100.jar)


---

Expand Down
Binary file not shown.

0 comments on commit acac1c4

Please sign in to comment.