Skip to content

Commit

Permalink
Updated version number to 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
RadBuilder committed Dec 27, 2017
1 parent 1a2701e commit 22ebc5f
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 20 deletions.
6 changes: 3 additions & 3 deletions plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<parent>
<groupId>io.github.radbuilder</groupId>
<artifactId>emojichat-parent</artifactId>
<version>1.3</version>
<version>1.4</version>
</parent>

<name>EmojiChat Plugin</name>
<artifactId>emojichat-plugin</artifactId>
<version>1.3</version>
<version>1.4</version>
<packaging>jar</packaging>

<build>
Expand Down Expand Up @@ -72,7 +72,7 @@
<dependency>
<groupId>github.scarsz.discordsrv</groupId>
<artifactId>DiscordSRV</artifactId>
<version>LATEST</version>
<version>15.5</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand All @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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.");
Expand Down
2 changes: 1 addition & 1 deletion plugin/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -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/"
Expand Down
19 changes: 8 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>io.github.radbuilder</groupId>
<name>EmojiChat Parent</name>
<artifactId>emojichat-parent</artifactId>
<version>1.3</version>
<version>1.4</version>
<packaging>pom</packaging>

<modules>
Expand All @@ -21,18 +21,15 @@
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
</repository>
<!-- DiscordSRV -->
<!--<repository>-->
<!--<id>Scarsz-Jenkins</id>-->
<!--<url>http://ci.scarsz.me/plugin/repository/everything/</url>-->
<!--<snapshots>-->
<!--<enabled>true</enabled>-->
<!--<updatePolicy>always</updatePolicy>-->
<!--</snapshots>-->
<!--</repository>-->
<repository>
<id>repo-androkai</id>
<url>https://repo.androkai.net/minecraft</url>
<id>Scarsz-Jenkins</id>
<url>http://ci.scarsz.me/plugin/repository/everything/</url>
</repository>
<!-- DiscordSRV Backup Repo -->
<!--<repository>-->
<!--<id>repo-androkai</id>-->
<!--<url>https://repo.androkai.net/minecraft</url>-->
<!--</repository>-->
<!-- MVdWPlaceholderAPI -->
<repository>
<id>mvdw-software</id>
Expand Down

0 comments on commit 22ebc5f

Please sign in to comment.