CommandAPI
CommandAPI copied to clipboard
A Bukkit/Spigot API for the command UI introduced in Minecraft 1.13
### Description I'd like to be able to supply help messages to users for commands in the user's preferred language. ### Expected code ``` new CommandAPICommand("blah") .withHelp(makeHelpTopic("blah")) .executes( ... )...
The main goal of this PR is to fix the method `CommandAPIVelocity#updateRequirements`, which currently does nothing. When `CommandAPI#updateRequirements` is called, the [Commands](https://wiki.vg/Protocol#Commands) packet should be resent. This packet encodes a...
This PR refactors parts of the CommandAPI so the Adventure library and Bungee library aren't used in the same .jar's anymore and Paper API and Spigot API also aren't used...
### Description Paper plugins are here! We should consider implementing a (possibly separate) CommandAPI paper plugin. This should hypothetically allow the CommandAPI to not require reloading datapacks twice, by adding...
This PR remakes #370. The original `argument-exceptions` branch had fallen quite far behind, so instead of trying to rebase that mess, I just re-coded it all here, with a few...
### CommandAPI version 9.3.0 ### Minecraft version 1.20 ### Are you shading the CommandAPI? Yes ### What I did I set up a basic project to test the `CommandAPIBukkit.get().getTags();` method....
Added a new option: skipListValidation 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...
This fixes https://github.com/JorelAli/CommandAPI/issues/477. See that issue for context and a deeper analysis of the problem. When `VanillaCommandWrapper` runs a command, it uses its [`getListener`](https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/browse/src/main/java/org/bukkit/craftbukkit/command/VanillaCommandWrapper.java?until=40945171bf8a5a234ed084386ef6b89070d2a4e3#66-87) method to convert a Bukkit `CommandSender`...
### Description In Minecraft 1.20.2, Minecraft added support for "macros" (more info [here](https://minecraft.wiki/w/Function_(Java_Edition)#Macros)) which lets you run functions with parameters: ``` /function foo:bar {key_1:"Example String", key_2:10} ``` ``` # function...