From f8322cd21cde68a72b05efbad3a05b8e67c0bdd0 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 26 Mar 2026 23:15:33 -0400 Subject: initial --- core/src/command/util/Command.kt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 core/src/command/util/Command.kt (limited to 'core/src/command/util/Command.kt') diff --git a/core/src/command/util/Command.kt b/core/src/command/util/Command.kt new file mode 100644 index 0000000..734305a --- /dev/null +++ b/core/src/command/util/Command.kt @@ -0,0 +1,17 @@ +package cat.freya.khs.command.util + +import cat.freya.khs.Khs +import cat.freya.khs.player.Player + +interface CommandPart { + val label: String +} + +interface Command : CommandPart { + val usage: List + val description: String + + fun execute(plugin: Khs, player: Player, args: List) + + fun autoComplete(plugin: Khs, parameter: String, typed: String): List +} -- cgit v1.2.3-freya