diff options
author | Appability <appable@icloud.com> | 2022-11-13 03:22:13 -0800 |
---|---|---|
committer | Appability <appable@icloud.com> | 2022-11-13 03:22:13 -0800 |
commit | 766ce61c5655935a232c5d87c1e334c6fba3d73b (patch) | |
tree | d95e94774becceb59b9398c5eedbe2008ba0a165 /src/main/kotlin/com/ambientaddons/commands | |
parent | a4aac041f9fb4d47203f4fd10dddcebe91abc750 (diff) | |
download | AmbientAddons-766ce61c5655935a232c5d87c1e334c6fba3d73b.tar.gz AmbientAddons-766ce61c5655935a232c5d87c1e334c6fba3d73b.tar.bz2 AmbientAddons-766ce61c5655935a232c5d87c1e334c6fba3d73b.zip |
add move command
and additional help in main settings gui and help chat message (to show aliases)
Diffstat (limited to 'src/main/kotlin/com/ambientaddons/commands')
-rw-r--r-- | src/main/kotlin/com/ambientaddons/commands/AmbientCommand.kt | 8 |
1 files changed, 8 insertions, 0 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()) } |