From 5682f5d389d5473ba30e9bef4a895a88d583088a Mon Sep 17 00:00:00 2001 From: PyvesB Date: Thu, 18 Jan 2018 18:46:40 +0000 Subject: [PATCH] Increased version number to 5.6 --- pom.xml | 2 +- src/main/java/com/hm/achievement/AdvancedAchievements.java | 2 +- src/main/java/com/hm/achievement/utils/FileUpdater.java | 1 + src/main/resources/config.yml | 2 +- src/main/resources/gui.yml | 2 +- src/main/resources/lang.yml | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 0c3f677b6..1645da126 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.hm.achievement AdvancedAchievements - 5.5 + 5.6 https://github.com/PyvesB/AdvancedAchievements AdvancedAchievements A Minecraft plugin that brings unique and challenging achievements on your server! Books, GUI, rankings, rewards, effects and more! diff --git a/src/main/java/com/hm/achievement/AdvancedAchievements.java b/src/main/java/com/hm/achievement/AdvancedAchievements.java index 90e191a1b..89132ddc6 100644 --- a/src/main/java/com/hm/achievement/AdvancedAchievements.java +++ b/src/main/java/com/hm/achievement/AdvancedAchievements.java @@ -50,7 +50,7 @@ * Spigot project page: spigotmc.org/resources/advanced-achievements.6239 * * @since April 2015 - * @version 5.5 + * @version 5.6 * @author Pyves */ public class AdvancedAchievements extends JavaPlugin implements Reloadable { diff --git a/src/main/java/com/hm/achievement/utils/FileUpdater.java b/src/main/java/com/hm/achievement/utils/FileUpdater.java index 0f8d0d4fe..ac5b173b2 100644 --- a/src/main/java/com/hm/achievement/utils/FileUpdater.java +++ b/src/main/java/com/hm/achievement/utils/FileUpdater.java @@ -163,6 +163,7 @@ public void updateOldConfiguration(CommentedYamlConfiguration config) { updateSetting(config, "ListColorNotReceived", 8, "Color used for Goals and progress bars in /aach list when an achievement is not yet received."); + // Added in version 5.6: if (!config.isConfigurationSection("AllAchievementsReceivedRewards")) { updateSetting(config, "AllAchievementsReceivedRewards.Money", 30, "Awarded when a player has received all the achievements. Use the same reward pattern as with achievements.", diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 1e293ae77..8a3cf0a98 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -1,6 +1,6 @@ #==============================O==============================# # I---------------------------------------------------------I # -# | Advanced Achievements 5.5 configuration - Readme | # +# | Advanced Achievements 5.6 configuration - Readme | # # 1---------------------------------------------------------1 # #==============================o==============================# diff --git a/src/main/resources/gui.yml b/src/main/resources/gui.yml index 5ca6de4da..c8f6d64c3 100644 --- a/src/main/resources/gui.yml +++ b/src/main/resources/gui.yml @@ -1,6 +1,6 @@ #==============================================================# # +----------------------------------------------------------+ # -# | Advanced Achievements 5.5 /aach list GUI configuration | # +# | Advanced Achievements 5.6 /aach list GUI configuration | # # +----------------------------------------------------------+ # #==============================================================# # Possible items: hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html diff --git a/src/main/resources/lang.yml b/src/main/resources/lang.yml index c018ea867..98ba670bd 100644 --- a/src/main/resources/lang.yml +++ b/src/main/resources/lang.yml @@ -1,7 +1,7 @@ #=============================================================# # +---------------------------------------------------------+ # # | Advanced Achievements English translation by DarkPyves | # -# | ~ Valid as of version 5.5 ~ | # +# | ~ Valid as of version 5.6 ~ | # # | Newer plugin versions will automatically append new | # # | untranslated parameters to the end of the file. | # # +---------------------------------------------------------+ #