diff --git a/plugin/pom.xml b/plugin/pom.xml index 21b23d1..3e29ff1 100644 --- a/plugin/pom.xml +++ b/plugin/pom.xml @@ -7,12 +7,12 @@ io.github.radbuilder emojichat-parent - 1.3 + 1.4 EmojiChat Plugin emojichat-plugin - 1.3 + 1.4 jar @@ -72,7 +72,7 @@ github.scarsz.discordsrv DiscordSRV - LATEST + 15.5 provided diff --git a/plugin/src/main/java/io/github/radbuilder/emojichat/EmojiChat.java b/plugin/src/main/java/io/github/radbuilder/emojichat/EmojiChat.java index 8fbe212..d115aab 100644 --- a/plugin/src/main/java/io/github/radbuilder/emojichat/EmojiChat.java +++ b/plugin/src/main/java/io/github/radbuilder/emojichat/EmojiChat.java @@ -35,7 +35,7 @@ public class EmojiChat extends JavaPlugin { /** * The ResourcePack URL. */ - final String PACK_URL = "https://github.com/RadBuilder/EmojiChat/releases/download/v1.0/EmojiChat.ResourcePack.v1.4.zip"; + final String PACK_URL = "https://github.com/RadBuilder/EmojiChat/releases/download/v1.4/EmojiChat.ResourcePack.v1.4.zip"; /** * The SHA1 sum of the ResourcePack as a byte array. */ @@ -62,7 +62,7 @@ public void onEnable() { metricsHandler = new MetricsHandler(this); // Creates the metrics handler for metrics gathering - PACK_SHA1 = BaseEncoding.base16().lowerCase().decode("ced8f7267286b19414d2500f03c0c38f38f13dcc"); // Allows applying a cached version of the ResourcePack if available + PACK_SHA1 = BaseEncoding.base16().lowerCase().decode("c0143b56fb568ec4787320ea1e6af245d8a8140c"); // Allows applying a cached version of the ResourcePack if available // Register the chat listener Bukkit.getPluginManager().registerEvents(new EmojiChatListener(this), this); diff --git a/plugin/src/main/java/io/github/radbuilder/emojichat/EmojiChatCommand.java b/plugin/src/main/java/io/github/radbuilder/emojichat/EmojiChatCommand.java index 2027532..dc60c83 100644 --- a/plugin/src/main/java/io/github/radbuilder/emojichat/EmojiChatCommand.java +++ b/plugin/src/main/java/io/github/radbuilder/emojichat/EmojiChatCommand.java @@ -30,7 +30,7 @@ class EmojiChatCommand implements CommandExecutor { @Override public boolean onCommand(CommandSender sender, Command command, String s, String[] args) { if (args.length < 1) { - sender.sendMessage(ChatColor.AQUA + "EmojiChat v1.3 by RadBuilder"); + sender.sendMessage(ChatColor.AQUA + "EmojiChat v1.4 by RadBuilder"); sender.sendMessage(ChatColor.AQUA + "Use " + ChatColor.GREEN + "/emojichat help" + ChatColor.AQUA + " for help."); return true; } @@ -62,10 +62,11 @@ public boolean onCommand(CommandSender sender, Command command, String s, String } return true; case "load": - if (!sender.hasPermission("emojichat.load")) { - sender.sendMessage(ChatColor.RED + "You need " + ChatColor.GOLD + "emojichat.load" + ChatColor.RED + " to use this command."); + if (!sender.hasPermission("emojichat.reload")) { + sender.sendMessage(ChatColor.RED + "You need " + ChatColor.GOLD + "emojichat.reload" + ChatColor.RED + " to use this command."); return true; } + plugin.reloadConfig(); plugin.getEmojiHandler().load(plugin); sender.sendMessage(ChatColor.GREEN + "EmojiChat config reloaded."); diff --git a/plugin/src/main/resources/plugin.yml b/plugin/src/main/resources/plugin.yml index 0180a8e..7b14cac 100644 --- a/plugin/src/main/resources/plugin.yml +++ b/plugin/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: EmojiChat -version: 1.3 +version: 1.4 description: Adds emojis to your chat author: RadBuilder website: "https://github.com/RadBuilder/EmojiChat/" diff --git a/pom.xml b/pom.xml index ed3f28d..3488ddb 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ io.github.radbuilder EmojiChat Parent emojichat-parent - 1.3 + 1.4 pom @@ -21,18 +21,15 @@ https://hub.spigotmc.org/nexus/content/groups/public/ - - - - - - - - - repo-androkai - https://repo.androkai.net/minecraft + Scarsz-Jenkins + http://ci.scarsz.me/plugin/repository/everything/ + + + + + mvdw-software