CommandAPI
CommandAPI copied to clipboard
A Bukkit/Spigot API for the command UI introduced in Minecraft 1.13
**Please describe your suggestion** Currently, the annotation processor of CommandAPI can only process Java code. If you create a Kotlin project and follow all the steps, the annotation processor is...
**CommandAPI version:** _5.12_ **Server version:** Paper version git-Paper-762 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT) **What I did:** CommandAPI running as plugin on the server. ```java class Main extends JavaPlugin {...
```java new CommandAPICommand("hello") .executes(...) .register() new CommandAPICommand("hello") .withPermission(...) .executes(...) .register() ``` Because these commands have the same name, the permission from the second one doesn't carry over. The fix is...
Some arguments conflict with each other (e.g. `StringArgument` and `PlayerArgument`, and probably `SoundArgument`, `AdvancementArgument`, `LootTableArgument` etc.) This should be documented.
**Please describe your suggestion** A folder in the root of this repository with some plugin examples would be pretty good. This would be a good way to demonstrate how things...
### Description If you have the following in your `config.yml` (note the erroneous values for `other-commands-to-convert` and `skip-sender-proxy`): ```yml # Plugins to convert (default: []) # Controls the list of...
### Documentation URL https://commandapi.jorel.dev/8.5.1/normalexecutors.html#example---creating-a-message-broadcasting-system ### What the documentation currently says  ### Proposed fix (Double reference to "normalcommandexecutors3" in Examples.java. Needs renaming and re-linking): ```java //Create our command CommandAPICommand("broadcastmsg") .withArguments(GreedyStringArgument("message"))...
### Description I would love it if I were able to implement CommandAPI in my Velocity proxy server, since it would make the experience on my server network so much...
### CommandAPI version 8.5.1 ### Minecraft version 1.19.2 ### Are you shading the CommandAPI? No ### What I did - https://commandapi.jorel.dev/8.5.1/reloading.html ### What actually happened The command never unregisters when...
### Description An easy way to clone a CommandAPICommand instance ### Expected code Something like: ```java new CommandAPICommand(instance); ``` Or: ```java instance.copy(); ``` ### Extra details _No response_