Skip to content

Commit

Permalink
Added Player stats (deaths & time)
Browse files Browse the repository at this point in the history
Added 5 new placeholders
Bump dependencies
Checkstyle improvements
  • Loading branch information
A5H73Y committed Sep 3, 2023
1 parent b5f19a8 commit 6a90614
Show file tree
Hide file tree
Showing 28 changed files with 594 additions and 214 deletions.
25 changes: 25 additions & 0 deletions docs/files/parkourPlaceholders.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,31 @@
"placeholder": "%parkour_player_personal_best_(course)_deaths%",
"output": "3",
"description": "The number of deaths accumulated for the Player's personal best time on the specified Course."
},
{
"placeholder": "%parkour_player_total_leaderboard_deaths%",
"output": "53",
"description": "The number of recorded deaths accumulated by the Player across all Courses in the Leaderboards."
},
{
"placeholder": "%parkour_player_total_leaderboard_time%",
"output": "01:02:34",
"description": "The accumulated recorded time by the Player across all Courses in the Leaderboards."
},
{
"placeholder": "%parkour_player_total_leaderboard_times%",
"output": "9",
"description": "The accumulated number of leaderboard times recorded by the Player across all Courses."
},
{
"placeholder": "%parkour_player_total_playing_deaths%",
"output": "153",
"description": "The total number of recorded deaths accumulated by the Player across all Courses."
},
{
"placeholder": "%parkour_player_total_playing_time%",
"output": "02:03:45",
"description": "The total recorded time by the Player across all Courses."
}
]
},
Expand Down
22 changes: 14 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
<dependency>
<groupId>com.github.cryptomorin</groupId>
<artifactId>XSeries</artifactId>
<version>9.4.0</version>
<version>9.5.0</version>
<scope>compile</scope>
</dependency>
<!-- Version Compare -->
Expand All @@ -158,7 +158,7 @@
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>2.0</version>
<version>2.2</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
Expand Down Expand Up @@ -187,7 +187,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.11.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
Expand All @@ -197,7 +197,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<version>3.3.0</version>
<configuration>
<outputDirectory>${export_dir}</outputDirectory>
</configuration>
Expand All @@ -206,7 +206,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<version>3.5.0</version>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>true</minimizeJar>
Expand Down Expand Up @@ -252,7 +252,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
<version>3.3.1</version>
<executions>
<execution>
<id>copy-my-resources</id>
Expand Down Expand Up @@ -280,14 +280,20 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.1</version>
<version>3.3.0</version>
<configuration>
<configLocation>src/main/resources/parkourCheckstyles.xml</configLocation>
<encoding>${project.build.sourceEncoding}</encoding>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<linkXRef>false</linkXRef>
</configuration>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>10.9.1</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>validate</id>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/a5h73y/parkour/Parkour.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ public void onDisable() {
/**
* Get the Default config.
* Overrides the default getConfig() method.
* @deprecated use getDefaultConfig()
*
* @return default config
* @deprecated use getDefaultConfig()
*/
@Deprecated
@Override
Expand Down
Loading

0 comments on commit 6a90614

Please sign in to comment.