A Bukkit/Spigot API for the command UI introduced in Minecraft 1.13
FunctionArgument
from 9.3.0MultiLiteralArgument
help displaying the node name instead of the literal textCommandAPIBukkit.get().getTags()
erroring in 1.20.4CommandArguments
EntitySelectorArgument
to allow failure when no entity lists are emptyCommandPermission
NamespacedKey
variant for the PotionEffectArgument
Full Changelog: https://github.com/JorelAli/CommandAPI/compare/9.3.0...9.4.0
executesFeedbackForwarding()
not checking for a FeedbackForwardingCommandSender
correctly thus allowing every executor to execute the commandCustomArgument.CustomArgumentException#fromString
creating the wrong colorsExecutionInfo
executors for the Kotlin DSLRemoteConsoleCommandSender
FunctionArgument
will always return a value of 1
when executed, regardless if the function succeeds, fails or returns a resultFunctionArgument
will always return an empty array of commands when you retrieve the list of commands in that functionFull Changelog: https://github.com/JorelAli/CommandAPI/compare/9.2.0...9.3.0
Bukkit.createCommandSender()
not working on paper:
at the end of its nameFull Changelog: 9.1.0...9.2.0
AdventureChatColorArgument
Full Changelog: https://github.com/JorelAli/CommandAPI/compare/9.0.3...9.1.0
use-latest-nms-version
not pointing to the right versionLiteralArgument
s and MultiLiteralArgument
s by their node nameswithUsage()
method to customise command usage infoMapArgument
not allowing player names as keys because we forgot to allow the _
character/execute as ...
not working because we were casting to a player instead of a proxied senderIntegerArgument
failing to compile in certain circumstancesCommandArguments.count()
utility method to get the number of argumentsCommandArguments.getOptional()
methodsCustomArgumentException
static factory methods to accept Spigot/Paper text components