From 9cfdf252304e3fe270bd84ddcae292273a9927aa Mon Sep 17 00:00:00 2001 From: Obsidian <108832807+Obsidianninja11@users.noreply.github.com> Date: Fri, 9 Feb 2024 13:40:02 -0900 Subject: SkyHanni's own /wiki command logic now works better in SkyBlock Level guide and allows to change weather to use official Hypixel Wiki or the older Fandom Wiki. #831 --- .../at/hannibal2/skyhanni/config/commands/Commands.kt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/main/java/at/hannibal2/skyhanni/config/commands') 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 771bf7055..e2868a931 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.features.chat.Translator import at.hannibal2.skyhanni.features.combat.endernodetracker.EnderNodeTracker import at.hannibal2.skyhanni.features.combat.ghostcounter.GhostUtil import at.hannibal2.skyhanni.features.commands.PartyCommands +import at.hannibal2.skyhanni.features.commands.WikiManager import at.hannibal2.skyhanni.features.event.diana.BurrowWarpHelper import at.hannibal2.skyhanni.features.event.diana.DianaProfitTracker import at.hannibal2.skyhanni.features.event.diana.GriffinBurrowHelper @@ -237,6 +238,22 @@ object Commands { "shresetseacreaturetracker", "Resets the Sea Creature Tracker" ) { SeaCreatureTracker.resetCommand(it) } + registerCommand( + "shfandomwiki", + "Searches the fandom wiki with SkyHanni's own method." + ) {WikiManager.otherWikiCommands(it, true)} + registerCommand( + "shfandomwikithis", + "Searches the fandom wiki with SkyHanni's own method." + ) {WikiManager.otherWikiCommands(it, true, true)} + registerCommand( + "shofficialwiki", + "Searches the official wiki with SkyHanni's own method." + ) {WikiManager.otherWikiCommands(it, false)} + registerCommand( + "shofficialwikithis", + "Searches the official wiki with SkyHanni's own method." + ) {WikiManager.otherWikiCommands(it, false, true)} registerCommand0("shcalccrop", "Calculate how many crops need to be farmed between different crop milestones.", { FarmingMilestoneCommand.onCommand(it.getOrNull(0), it.getOrNull(1), it.getOrNull(2), false) }, FarmingMilestoneCommand::onComplete) -- cgit