Skip to content

Commit

Permalink
add metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
MajdT51 committed Jul 17, 2024
1 parent c62a76a commit a2699b9
Show file tree
Hide file tree
Showing 5 changed files with 887 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/java_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: echo "PLUGIN_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV

- name: Build with Maven
run: mvn install
run: mvn clean package

- name: Upload plugin jar with version
if: github.event_name == 'push'
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>me.ryanhamshire</groupId>
<artifactId>diamondGuarantee</artifactId>
<version>0.2.1</version>
<version>0.2.2</version>
<packaging>jar</packaging>

<name>DiamondGuarantee</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ public void onEnable() {
for (Player player : players) {
PlayerData.preloadPlayerData(player);
}

// Enable metrics
Metrics metrics = new Metrics(this, 22678);
}

@Override
Expand Down
Loading

0 comments on commit a2699b9

Please sign in to comment.