willkroboth

Results 31 issues of willkroboth

This PR adds a "delayed commands" example project to resolve #451. After [some discussion on Discord](https://discord.com/channels/745416925924032523/745419648970784821/1116325766423138365), the general idea was that the CommandAPI is focused on providing an interface to...

### Description This suggestion comes from a common question on the CommandAPI Discord. Most recently, a [comment from Lear](https://discord.com/channels/745416925924032523/745757702608912556/1142062958801866752) reminded me of this, but there have also been ideas from...

enhancement

### CommandAPI version 9.0.4 ### Minecraft version 1.20.1 ### Are you shading the CommandAPI? Yes ### What I did This issue was originally reported by [Zoom on the CommandAPI discord](https://discord.com/channels/745416925924032523/745757702608912556/1138130603368255611)....

bug
enhancement

### CommandAPI version 9.0.4-SNAPSHOT ### Minecraft version 1.20.1 ### Are you shading the CommandAPI? Yes ### What I did I registered this `test` command in `onEnable`: ```java new CommandAPICommand("test") .executesNative((sender,...

bug

This PR makes `RequiredArgumentBuilder`'s constructor protected, which makes it possible to create a class that extends `RequiredArgumentBuilder`. --- Currently, while `RequiredArgumentBuilder` is a public, non-final class, its only constructor is...

This may well be the intended behavior, but I wanted to check because it feels like a bug. If this is intended, I was wondering what the workaround would be?...

This PR resolves #137 and remakes #138. --- ### Summary: When _suggesting_ arguments after a redirect, calling `CommandContext#getArgument` on the given context can only access arguments declared _before_ the redirect....

### Expected behavior On Spigot, if a custom Brigadier command throws a `CommandSyntaxException`, that exception can appear in the console: ``` >version [11:26:28] [Server thread/INFO]: This server is running CraftBukkit...

type: bug
status: accepted
version: 1.20.2

Resolves #1362 Currently, the `/server` command uses `StringArgumentType#word` for its argument. This argument only accepts a limited set of characters, as defined by Brigadier's [`StringReader#isAllowedInUnquotedString`](https://github.com/Mojang/brigadier/blob/b92c420b2a292dd5c20f6adfafff5e21b9835c6d/src/main/java/com/mojang/brigadier/StringReader.java#L169) method. It is possible to...

### CommandAPI version 9.4.2 ### Minecraft version 1.19.4 ### Are you shading the CommandAPI? Yes ### What I did I registered the following command with CommandAPI 9.4.2 and 8.8.0 (whose...

bug