10 Commits
Author SHA1 Message Date
dmg f82dd6c311 fix: restore spigot chat listener
Build / build (push) Successful in 1m51s
2026-01-27 23:16:04 -05:00
dmg 5017887429 fix: switch to paper async chat event
Build / build (push) Failing after 1m25s
2026-01-27 23:03:40 -05:00
dmg fa2aec3502 Merge pull request 'chore(deps): update dependency gradle to v9' (#4) from renovate/gradle-9.x into main
Build / build (push) Successful in 1m27s
Reviewed-on: #4
2026-01-28 03:58:59 +00:00
dmg 5d0bf94dff Merge branch 'main' into renovate/gradle-9.x 2026-01-28 03:57:37 +00:00
dmg e91797d9ac chore(ci): use node 22.14.0 for releases
Build / build (push) Successful in 2m1s
2026-01-27 22:55:49 -05:00
dmg 6952ba6975 Merge branch 'main' into renovate/gradle-9.x 2026-01-28 03:48:48 +00:00
dmg 83b66ce262 Merge pull request 'chore(deps): update devdependencies (major)' (#5) from renovate/major-devdependencies into main
Build / build (push) Failing after 2m33s
Reviewed-on: #5
2026-01-28 03:47:49 +00:00
dmg 1bad62513f Merge branch 'main' into renovate/major-devdependencies 2026-01-28 03:44:18 +00:00
Renovate Bot b2558b8855 chore(deps): update devdependencies 2026-01-23 05:07:59 +00:00
Renovate Bot 58e692833e chore(deps): update dependency gradle to v9 2026-01-23 05:07:57 +00:00
7 changed files with 10 additions and 13 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
- name: Set up Node - name: Set up Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 20 node-version: 22.14.0
- name: Install Node dependencies - name: Install Node dependencies
run: npm install run: npm install
Binary file not shown.
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.0-bin.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
Vendored
+1 -4
View File
@@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# #
# Copyright © 2015-2021 the original authors. # Copyright © 2015 the original authors.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
@@ -114,7 +114,6 @@ case "$( uname )" in #(
NONSTOP* ) nonstop=true ;; NONSTOP* ) nonstop=true ;;
esac esac
CLASSPATH="\\\"\\\""
# Determine the Java command to use to start the JVM. # Determine the Java command to use to start the JVM.
@@ -172,7 +171,6 @@ fi
# For Cygwin or MSYS, switch paths to Windows format before running java # For Cygwin or MSYS, switch paths to Windows format before running java
if "$cygwin" || "$msys" ; then if "$cygwin" || "$msys" ; then
APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
JAVACMD=$( cygpath --unix "$JAVACMD" ) JAVACMD=$( cygpath --unix "$JAVACMD" )
@@ -212,7 +210,6 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
set -- \ set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \ "-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \ -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
"$@" "$@"
Vendored
+1 -2
View File
@@ -70,11 +70,10 @@ goto fail
:execute :execute
@rem Setup the command line @rem Setup the command line
set CLASSPATH=
@rem Execute Gradle @rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
:end :end
@rem End local scope for the variables with windows NT shell @rem End local scope for the variables with windows NT shell
+4 -4
View File
@@ -2,10 +2,10 @@
"name": "prometheus-spigot", "name": "prometheus-spigot",
"private": true, "private": true,
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^19.5.0", "@commitlint/cli": "^20.0.0",
"@commitlint/config-conventional": "^19.5.0", "@commitlint/config-conventional": "^20.0.0",
"@semantic-release/exec": "^6.0.3", "@semantic-release/exec": "^7.0.0",
"@semantic-release/git": "^10.0.1", "@semantic-release/git": "^10.0.1",
"semantic-release": "^23.1.1" "semantic-release": "^25.0.0"
} }
} }
@@ -2,6 +2,7 @@ package com.prometheus.spigot.listeners;
import com.prometheus.spigot.metrics.MetricsRegistry; import com.prometheus.spigot.metrics.MetricsRegistry;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener; import org.bukkit.event.Listener;
import org.bukkit.event.player.AsyncPlayerChatEvent; import org.bukkit.event.player.AsyncPlayerChatEvent;
@@ -12,7 +13,7 @@ public final class ChatListener implements Listener {
this.registry = registry; this.registry = registry;
} }
@EventHandler @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
public void onChat(AsyncPlayerChatEvent event) { public void onChat(AsyncPlayerChatEvent event) {
registry.incrementChatMessages(); registry.incrementChatMessages();
} }