Package com.github.syari.spigot.api.command

Types

CommandArgument
Link copied to clipboard
class CommandArgument(array: List<String>) : List<String>
コマンドの引数。
CommandCreateAction
Link copied to clipboard
typealias CommandCreateAction = CommandCreator.() -> Unit

CommandCreator.() -> Unit

CommandCreator
Link copied to clipboard
class CommandCreator(label: String)
コマンドの設定を行うクラス。
CommandExecuteAction
Link copied to clipboard
typealias CommandExecuteAction = CommandExecuteParameter.() -> Unit

CommandExecuteParameter.() -> Unit

CommandTabAction
Link copied to clipboard
typealias CommandTabAction = CommandTab.Container.() -> Unit

CommandTab.Container.() -> Unit

CommandTabCompleteAction
Link copied to clipboard
typealias CommandTabCompleteAction = CommandTab.Element.() -> Unit

CommandTab.Element.() -> Unit

Functions

command
Link copied to clipboard
fun JavaPlugin.command(label: String, action: CommandCreateAction)
コマンドを作成し、登録する。