aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/commands
diff options
context:
space:
mode:
authorminhperry <46137516+minhperry@users.noreply.github.com>2024-08-26 13:49:47 +0200
committerGitHub <noreply@github.com>2024-08-26 13:49:47 +0200
commit416a767ac27c4ebf9d60c933037b7f94623e7ecf (patch)
treeae3ae9dd91935a1e62bc2b5b2463917a111033e6 /src/main/java/at/hannibal2/skyhanni/config/commands
parentfaadba9341743843c999057e5413b8aedbd49e3f (diff)
downloadskyhanni-416a767ac27c4ebf9d60c933037b7f94623e7ecf.tar.gz
skyhanni-416a767ac27c4ebf9d60c933037b7f94623e7ecf.tar.bz2
skyhanni-416a767ac27c4ebf9d60c933037b7f94623e7ecf.zip
Feature: Colors and formatting helper in chat (#2216)
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.kt7
1 files changed, 6 insertions, 1 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 a1549aacf..a8b3deb6b 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
@@ -14,6 +14,7 @@ import at.hannibal2.skyhanni.data.TitleManager
import at.hannibal2.skyhanni.data.bazaar.HypixelBazaarFetcher
import at.hannibal2.skyhanni.features.bingo.card.BingoCardDisplay
import at.hannibal2.skyhanni.features.bingo.card.nextstephelper.BingoNextStepHelper
+import at.hannibal2.skyhanni.features.chat.ColorFormattingHelper
import at.hannibal2.skyhanni.features.chat.translation.Translator
import at.hannibal2.skyhanni.features.combat.endernodetracker.EnderNodeTracker
import at.hannibal2.skyhanni.features.combat.ghostcounter.GhostUtil
@@ -347,8 +348,12 @@ object Commands {
) { PestFinder.teleportNearestInfestedPlot() }
registerCommand(
"shhoppitystats",
- "Look up stats for a Hoppity's Event (by SkyBlock year).\nRun standalone for a list of years that have stats."
+ "Look up stats for a Hoppity's Event (by SkyBlock year).\nRun standalone for a list of years that have stats.",
) { HoppityEventSummary.sendStatsMessage(it) }
+ registerCommand(
+ "shcolors",
+ "Prints a list of all Minecraft color & formatting codes in chat.",
+ ) { ColorFormattingHelper.printColorCodeList() }
}
private fun usersBugFix() {