summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/commands
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-08-31 10:20:42 +0200
committerGitHub <noreply@github.com>2024-08-31 10:20:42 +0200
commit96423e4b788e2dd96001dc3bf788b1d542d73ba0 (patch)
tree4de172535b7807b5b8ebc29af6ed98a5d4a3656f /src/main/java/at/hannibal2/skyhanni/config/commands
parentd298d2a04fa4d0cbcb4f03fae84cc2f498e06a63 (diff)
downloadskyhanni-96423e4b788e2dd96001dc3bf788b1d542d73ba0.tar.gz
skyhanni-96423e4b788e2dd96001dc3bf788b1d542d73ba0.tar.bz2
skyhanni-96423e4b788e2dd96001dc3bf788b1d542d73ba0.zip
Backend: /shdebugscoreboard (#2412)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/commands')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
index a8b3deb6b..e9dcb2525 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
@@ -10,6 +10,7 @@ import at.hannibal2.skyhanni.data.GardenCropMilestonesCommunityFix
import at.hannibal2.skyhanni.data.GuiEditManager
import at.hannibal2.skyhanni.data.PartyAPI
import at.hannibal2.skyhanni.data.SackAPI
+import at.hannibal2.skyhanni.data.ScoreboardData
import at.hannibal2.skyhanni.data.TitleManager
import at.hannibal2.skyhanni.data.bazaar.HypixelBazaarFetcher
import at.hannibal2.skyhanni.features.bingo.card.BingoCardDisplay
@@ -470,6 +471,10 @@ object Commands {
"Sets the current skyblock island for testing purposes.",
) { SkyBlockIslandTest.onCommand(it) }
registerCommand("shdebugprice", "Debug different price sources for an item.") { ItemPriceUtils.debugItemPrice(it) }
+ registerCommand(
+ "shdebugscoreboard",
+ "Monitors the scoreboard changes: Prints the raw scoreboard lines in the console after each update, with time since last update.",
+ ) { ScoreboardData.toggleMonitor() }
}
private fun developersCodingHelp() {