diff options
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/kotlin/com/ambientaddons/commands/AmbientCommand.kt | 8 | ||||
| -rw-r--r-- | src/main/kotlin/com/ambientaddons/config/Config.kt | 6 | 
2 files changed, 11 insertions, 3 deletions
| diff --git a/src/main/kotlin/com/ambientaddons/commands/AmbientCommand.kt b/src/main/kotlin/com/ambientaddons/commands/AmbientCommand.kt index ca5631c..17bc2e8 100644 --- a/src/main/kotlin/com/ambientaddons/commands/AmbientCommand.kt +++ b/src/main/kotlin/com/ambientaddons/commands/AmbientCommand.kt @@ -3,6 +3,7 @@ package com.ambientaddons.commands  import AmbientAddons  import AmbientAddons.Companion.mc  import com.ambientaddons.config.Config +import com.ambientaddons.gui.MoveGui  import com.ambientaddons.utils.Chat  import com.ambientaddons.utils.Extensions.withModPrefix  import com.ambientaddons.utils.SBLocation @@ -25,6 +26,8 @@ class AmbientCommand : CommandBase() {              "location" -> UChat.chat(SBLocation.toString().withModPrefix())              "buy" -> AutoBuyCommand.processCommand(args.drop(1))              "salvage" -> SalvageCommand.processCommand(args.drop(1)) +            "move" -> AmbientAddons.currentGui = MoveGui() +              else -> {                  UChat.chat("""                      ${Chat.getChatBreak()} @@ -32,6 +35,11 @@ class AmbientCommand : CommandBase() {                       §a/ambient §eto access GUI settings.                                  §a/ambient buy §eto edit autobuy list.                       §a/ambient salvage §eto configure salvage features. +                     §a/ambient move §eto move display elements. +                      +                    §b§lAliases: +                     §a/aa  +                     §a/ambientaddons                      ${Chat.getChatBreak()}                  """.trimIndent())              } diff --git a/src/main/kotlin/com/ambientaddons/config/Config.kt b/src/main/kotlin/com/ambientaddons/config/Config.kt index 9f25914..ccf4909 100644 --- a/src/main/kotlin/com/ambientaddons/config/Config.kt +++ b/src/main/kotlin/com/ambientaddons/config/Config.kt @@ -68,7 +68,7 @@ object Config : Vigilant(                  selector(                      ::salvageMode,                      name = "Salvaging features", -                    description = "Various modes to improve salvaging.", +                    description = "Various modes to improve salvaging. §c/ambient salvage §7to configure.",                      options = listOf("Off", "Highlight", "Block misclicks", "Legit autosalvage", "Unlegit autosalvage")                  )                  switch( @@ -192,7 +192,7 @@ object Config : Vigilant(                  selector(                      ::autoBuyChest,                      name = "Dungeon Reward Chests", -                    description = "Either blocks rerolls or automatically buys dungeon reward chests containing certain items.", +                    description = "Either blocks rerolls or automatically buys dungeon reward chests containing certain items. §c/ambient buy §7to configure.",                      options = listOf("Off", "Block Reroll", "Autobuy")                  )              } @@ -219,7 +219,7 @@ object Config : Vigilant(          category("Displays") {              button(                  name = "Move GUI elements", -                description = "Opens a GUI to edit locations of all GUI elements.", +                description = "Opens a GUI to edit locations of all GUI elements. §c/ambient move §7to access anywhere.",              ) {                  currentGui = MoveGui()              } | 
