From 766ce61c5655935a232c5d87c1e334c6fba3d73b Mon Sep 17 00:00:00 2001 From: Appability Date: Sun, 13 Nov 2022 03:22:13 -0800 Subject: add move command and additional help in main settings gui and help chat message (to show aliases) --- src/main/kotlin/com/ambientaddons/commands/AmbientCommand.kt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/main/kotlin/com/ambientaddons/commands') 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()) } -- cgit