Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
Increased version number to 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB committed Dec 22, 2016
1 parent 14d6421 commit bd6cb7d
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 10 deletions.
33 changes: 27 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.hm.achievement</groupId>
<artifactId>AdvancedAchievements</artifactId>
<version>4.0.3</version>
<version>4.1</version>
<url>https://github.com/PyvesB/AdvancedAchievements</url>
<name>AdvancedAchievements</name>
<description>A Minecraft plugin that brings unique and challenging achievements on your server! Books, GUI, rankings, rewards, effects and more!</description>
Expand Down Expand Up @@ -52,8 +52,30 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
<executions>
<execution>
<id>install-external</id>
<phase>clean</phase>
<configuration>
<file>${project.basedir}/libs/PetMaster-1.3.jar</file>
<repositoryLayout>default</repositoryLayout>
<groupId>com.hm.petmaster</groupId>
<artifactId>PetMaster</artifactId>
<version>1.3</version>
<packaging>jar</packaging>
<generatePom>true</generatePom>
</configuration>
<goals>
<goal>install-file</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>

<resources>
<resource>
<directory>src/main/resources</directory>
Expand All @@ -65,8 +87,8 @@
<filtering>true</filtering>
</resource>
</resources>

</build>

<repositories>
<repository>
<id>bukkit-repo</id>
Expand All @@ -81,6 +103,7 @@
<url>http://repo.mcstats.org/content/repositories/public/</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
Expand All @@ -105,9 +128,7 @@
<groupId>com.hm.petmaster</groupId>
<artifactId>PetMaster</artifactId>
<version>1.3</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/PetMaster-1.3.jar</systemPath>
<scope>provided</scope>
</dependency>
</dependencies>

</project>
2 changes: 1 addition & 1 deletion src/main/java/com/hm/achievement/AdvancedAchievements.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
* Spigot project page: spigotmc.org/resources/advanced-achievements.6239
*
* @since April 2015
* @version 4.0.3
* @version 4.1
* @author Pyves
*/
public class AdvancedAchievements extends JavaPlugin {
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/hm/achievement/utils/FileUpdater.java
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ public void updateOldLanguage(YamlManager langFile) {
updateDone = true;
}

// Added in version 4.1:
if (!langFile.getKeys(false).contains("list-description")) {
langFile.set("list-description", "Description:");
updateDone = true;
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#==============================O==============================#
# I---------------------------------------------------------I #
# | Advanced Achievements 4.0.3 configuration - Readme | #
# | Advanced Achievements 4.1 configuration - Readme | #
# 1---------------------------------------------------------1 #
#==============================o==============================#

Expand Down Expand Up @@ -371,7 +371,7 @@ Beds:
'5':
Message: You entered a bed 5 times!
Name: bed_5
DisplayName: Sleepy guy
DisplayName: Sleepy Guy

# Maximum level reached.
MaxLevel:
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/lang.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#============================================================#
# +--------------------------------------------------------+ #
# | Advanced Achievements 4.0.3 English language file | #
# | Advanced Achievements 4.1 English language file | #
# | By DarkPyves | #
# +--------------------------------------------------------+ #
#============================================================#
Expand Down

0 comments on commit bd6cb7d

Please sign in to comment.