blob: 734305ac69d590754235d2f36e35284ac90e6188 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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<String>
val description: String
fun execute(plugin: Khs, player: Player, args: List<String>)
fun autoComplete(plugin: Khs, parameter: String, typed: String): List<String>
}
|