From f89ceb8530ec16c051198f35a8402dcc215fa0a2 Mon Sep 17 00:00:00 2001 From: PyvesB Date: Fri, 22 Dec 2017 17:36:51 +0100 Subject: [PATCH] Increased version number to 5.5 --- README.md | 2 +- pom.xml | 2 +- .../hm/achievement/AdvancedAchievements.java | 2 +- .../com/hm/achievement/utils/FileUpdater.java | 8 +++---- src/main/resources/config.yml | 24 +++++++++---------- src/main/resources/gui.yml | 2 +- src/main/resources/lang-FI.yml | 2 +- src/main/resources/lang-PL.yml | 2 +- src/main/resources/lang.yml | 2 +- 9 files changed, 22 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 8d7d905d0..a5c5c1d7d 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ Your generated `AdvancedAchievements.jar` can be found in the `target` folder. * [Documentation, installation and FAQ](https://github.com/PyvesB/AdvancedAchievements/wiki), a lot of valuable information on how to set the plugin up or use it properly. -* [Plugin translations](https://github.com/PyvesB/AdvancedAchievements/tree/master/src/main/resources), 14 languages available, feel free to improve them! +* [Plugin translations](https://github.com/PyvesB/AdvancedAchievements/tree/master/src/main/resources), 15 languages available, feel free to improve them! * [HelloMinecraft](http://hellominecraft.fr/), the plugin's official server, amongst the best French servers out there! diff --git a/pom.xml b/pom.xml index a252cd346..807e045cd 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.hm.achievement AdvancedAchievements - 5.4 + 5.5 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 b062d3b1f..72aa29f66 100644 --- a/src/main/java/com/hm/achievement/AdvancedAchievements.java +++ b/src/main/java/com/hm/achievement/AdvancedAchievements.java @@ -112,7 +112,7 @@ * Spigot project page: spigotmc.org/resources/advanced-achievements.6239 * * @since April 2015 - * @version 5.4 + * @version 5.5 * @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 81d1c7b0b..5a60dc2e5 100644 --- a/src/main/java/com/hm/achievement/utils/FileUpdater.java +++ b/src/main/java/com/hm/achievement/utils/FileUpdater.java @@ -156,7 +156,7 @@ public void updateOldConfiguration(CommentedYamlConfiguration config) { "the chat. If HoverableReceiverChatText is true, a single hoverable text will be displayed to the receiver.", "Otherwise texts will be displayed one after the other."); - // Added in version 5.4.1: + // Added in version 5.5: updateSetting(config, "ListColorNotReceived", 8, "Color used for Goals and progress bars in /aach list when an achievement is not yet received."); @@ -268,11 +268,9 @@ public void updateOldLanguage(CommentedYamlConfiguration lang) { // Added in version 5.4: updateSetting(lang, "custom-command-reward", "You received your reward: MESSAGE"); - // Added in version 5.4.1: + // Added in version 5.5: updateSetting(lang, "version-command-essentials", "Essentials integration:"); updateSetting(lang, "version-command-placeholderapi", "PlaceholderAPI integration:"); - - // Added in version 5.4.X: updateSetting(lang, "error-value", "The value VALUE must to be an integer!"); updateSetting(lang, "statistic-increased", "Statistic ACH increased by AMOUNT for PLAYER!"); updateSetting(lang, "aach-command-add", "Increase a statistic."); @@ -317,7 +315,7 @@ public void updateOldGUI(CommentedYamlConfiguration gui) { updateSetting(gui, "NextButton.Item", "stone_button"); updateSetting(gui, "NextButton.Metadata", 0); - // Added in version 5.4.X: + // Added in version 5.5: updateSetting(gui, "Custom.Item", "feather"); updateSetting(gui, "Custom.Metadata", 0); diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 79dc1c95b..93a6b84ca 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -1,6 +1,6 @@ #==============================O==============================# # I---------------------------------------------------------I # -# | Advanced Achievements 5.4 configuration - Readme | # +# | Advanced Achievements 5.5 configuration - Readme | # # 1---------------------------------------------------------1 # #==============================o==============================# @@ -629,19 +629,9 @@ PlayerCommands: Execute: "say §cALERT: §7PLAYER is now a statistician" Display: Broadcast -# When the command /aach add is called for this category. -Custom: - votes: - 10: - Message: Vote 10 times for the server! - Name: customs_votes_10 - DisplayName: Server fan - Reward: - Money: 5 - #===========================OOO=OOO===========================# # VI-------------------------------------------------------VI # -# | Command achievements | # +# | Command-based achievements | # # 6---------------------------------------------------------6 # #===========================ooo=ooo===========================# @@ -656,6 +646,16 @@ Commands: Name: yourAch1 DisplayName: Special Event Achievement! +# When the command /aach add is called for this category. +Custom: + votes: + 10: + Message: Vote 10 times for the server! + Name: customs_votes_10 + DisplayName: Server fan + Reward: + Money: 5 + #===========================OOOOOOO===========================# # VII-----------------------------------------------------VII # # | Parameters in future plugin versions will appear here | # diff --git a/src/main/resources/gui.yml b/src/main/resources/gui.yml index 425e7eda0..5ca6de4da 100644 --- a/src/main/resources/gui.yml +++ b/src/main/resources/gui.yml @@ -1,6 +1,6 @@ #==============================================================# # +----------------------------------------------------------+ # -# | Advanced Achievements 5.4 /aach list GUI configuration | # +# | Advanced Achievements 5.5 /aach list GUI configuration | # # +----------------------------------------------------------+ # #==============================================================# # Possible items: hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html diff --git a/src/main/resources/lang-FI.yml b/src/main/resources/lang-FI.yml index 4c30baadb..425433d92 100644 --- a/src/main/resources/lang-FI.yml +++ b/src/main/resources/lang-FI.yml @@ -1,7 +1,7 @@ #=============================================================# # +---------------------------------------------------------+ # # | Advanced Achievements Finnish translation by Rsl1122 | # -# | ~ Valid as of version 5.4 ~ | # +# | ~ Valid as of version 5.5 ~ | # # | Newer plugin versions will automatically append new | # # | untranslated parameters to the end of the file. | # # +---------------------------------------------------------+ # diff --git a/src/main/resources/lang-PL.yml b/src/main/resources/lang-PL.yml index 2df16242e..9a27beffb 100644 --- a/src/main/resources/lang-PL.yml +++ b/src/main/resources/lang-PL.yml @@ -1,6 +1,6 @@ #=============================================================# # +---------------------------------------------------------+ # -# | Advanced Achievements English translation by Garixer | # +# | Advanced Achievements Polish translation by Garixer | # # | ~ Valid as of version 5.3.3 ~ | # # | Newer plugin versions will automatically append new | # # | untranslated parameters to the end of the file. | # diff --git a/src/main/resources/lang.yml b/src/main/resources/lang.yml index 52b6c694e..582603f26 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.4 ~ | # +# | ~ Valid as of version 5.5 ~ | # # | Newer plugin versions will automatically append new | # # | untranslated parameters to the end of the file. | # # +---------------------------------------------------------+ #