CommandAPI
CommandAPI copied to clipboard
A Bukkit/Spigot API for the command UI introduced in Minecraft 1.13
Added a new option: allowAnyValue This allows me to use ListArgumentBuilder for complex tab suggestions and simply passing all input so I can do my own validation. This allowed me...
### CommandAPI version 9.5.1 ### Minecraft version 1.20.5 ### Are you shading the CommandAPI? Yes ### What I did I added this code to my `onEnable` and started the server:...
### Description Now that #517 is merged, there are a few things that need addressing: - [ ] Documentation - [ ] Changelog in the README needs amending - [...
Some updates to the networking logic as suggested by @Timongcraft on Discord. The `CommandAPI` Bukkit plugin now [provides](https://docs.papermc.io/paper/dev/plugin-yml/#provides) `CommandAPINetworking`. So, if a plugin depends on `CommandAPINetworking`, it will be able...
### Description Currently, both `CommandTree.argument` and `Argument.argument` are defined separately. This is due to the lack of a common interface between `CommandTree` and `Argument`, even though both define a `then`...
### Description There should be a suspending parseArgument method for creating asnyc custom arguments with Kotlin. This could be used to load database informations or fetch http requests without blocking...
### CommandAPI version 9.7.0 ### Minecraft version 1.21.4 ### Are you shading the CommandAPI? Yes ### What I did @Override public void onLoad() { CommandAPI.onLoad(new CommandAPIBukkitConfig(this) .shouldHookPaperReload(true) .skipReloadDatapacks(true) .verboseOutput(true) );...
### CommandAPI version 9.7.0 ### Minecraft version 1.21.1 ### Are you shading the CommandAPI? No ### What I did In a datapack, using a CommandAPI command will not "work" in...
### CommandAPI version 9.6.0 ### Minecraft version 1.21.1 ### Are you shading the CommandAPI? No ### What I did Registered a command that uses a entity selector: ```java new CommandAPICommand("test")...
### CommandAPI version 9.5.3 ### Minecraft version 1.20.6 ### Are you shading the CommandAPI? No ### What I did Registered a command that uses the `RecipeArgument`: ```java new CommandAPICommand("recipe") .withArguments(new...