-
Notifications
You must be signed in to change notification settings - Fork 1
Syntax
Marcin Grzywacz edited this page Nov 5, 2022
·
3 revisions
@Syntax("Your syntax")
@HelpCMD
class TestCMD {
@Syntax("[a]")
fun run_s(ex: CommandSender, value: Int) {
}
@Syntax("[value]")
fun run_a(ex: CommandSender, value: Int) {
}
}
Produces output:
This syntax basically replaces what there is after sub-command
Without it you would get normal syntax as you would get with every other command
Syntax is also supporting I18n tags you can use it like: Syntax("<path-to-your-i18n-msg>")
- Maven installation
- Using in java
- Initializing commands
- I18n
- Annotations
- Additional
- Errors