summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-21 13:37:55 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-21 13:37:55 +0200
commit9a410749c465280342ea176d855d9ca4ece94be2 (patch)
tree97157b0a88b0a9af27f0290661c50b1a287a0ab7 /src/main/java/at/hannibal2/skyhanni/config
parentac792ec4d55d46512930667402782fb545221a0f (diff)
downloadskyhanni-9a410749c465280342ea176d855d9ca4ece94be2.tar.gz
skyhanni-9a410749c465280342ea176d855d9ca4ece94be2.tar.bz2
skyhanni-9a410749c465280342ea176d855d9ca4ece94be2.zip
Added /shconfig command
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-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 e5c46cb00..9e5082f37 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
@@ -25,6 +25,7 @@ import at.hannibal2.skyhanni.features.misc.discordrpc.DiscordRPCManager
import at.hannibal2.skyhanni.features.misc.ghostcounter.GhostUtil
import at.hannibal2.skyhanni.features.slayer.SlayerItemProfitTracker
import at.hannibal2.skyhanni.test.PacketTest
+import at.hannibal2.skyhanni.test.SkyHanniConfigSearchResetCommand
import at.hannibal2.skyhanni.test.SkyHanniTestCommand
import at.hannibal2.skyhanni.test.TestBingo
import at.hannibal2.skyhanni.test.command.*
@@ -156,6 +157,10 @@ object Commands {
"shclearminiondata",
"Reset data about minion profit and the name display on the private island"
) { MinionFeatures.clearMinionData() }
+ registerCommand(
+ "shconfig",
+ "Search or reset config elements §c(warning, dangerous!)"
+ ) { SkyHanniConfigSearchResetCommand.command(it) }
}
private fun developersDebugFeatures() {