28 lines
588 B
Markdown
28 lines
588 B
Markdown
---
|
|
title: registerAs -
|
|
---
|
|
//[KSpigot](../../index.md)/[net.axay.kspigot.utils](../index.md)/[RegisterableCommand](index.md)/[registerAs](register-as.md)
|
|
|
|
|
|
|
|
# registerAs
|
|
[jvm]
|
|
Brief description
|
|
|
|
|
|
Registers this executor for the given command and for the given instance of kSpigot.
|
|
|
|
|
|
|
|
#### Return
|
|
|
|
|
|
true if the command was found - false if not
|
|
|
|
|
|
Content
|
|
open fun [registerAs](register-as.md)(commandName: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
|
|
|
|
|
|
|