Jorel Ali

Results 30 issues of Jorel Ali

**Describe the bug** If you try to register with a username that already exists, registration fails and errors appear in the browser's console, but no visible errors are shown to...

bug

### Description Typing `/execute run luckperms user` as an operator in-game on a Spigot server can cause the server to instantly shutdown. ### Reproduction Steps - Use the latest version...

type: issue

### Description If a user registers multiple commands that have the same argument type paths, the CommandAPI should tell the user that there are commands with identical types which can...

enhancement

### CommandAPI version 8.5.0 ### Minecraft version 1.19 ### Are you shading the CommandAPI? No ### What I did - Register the following commands: ```java new CommandAPICommand("sug") .withArguments(new StringArgument("my_str_arg") .includeSuggestions(ArgumentSuggestions.strings("hello",...

bug

**Please describe your suggestion** Optional arguments **Please supply examples of the desired inputs and outputs** _Normal usage:_ User enters this: ```java new CommandAPICommand("blah") .withArgument(new IntegerArgument("int")) .withOptionalArgument(new IntegerArgument("optional"), 10) .executes((sender, args)...

enhancement

**CommandAPI version** 5.11 **Minecraft version** 1.16.5 **Describe the bug** Given a class that actually is inner class: ```java @Command("weather") @Permission("assentials.command.weather") public class WeatherCommand { @Command("sun") @Permission("assentials.command.weather") public static class SunShortcut...

bug
for annotations

**Please describe your suggestion** Annotation suggestions **Please supply examples of the desired inputs and outputs** See [`misc/annotation-suggestions/`](https://github.com/JorelAli/CommandAPI/tree/v5.3/misc/annotation-suggestions) folder.

enhancement
for annotations

**Please describe your suggestion** The new annotation system should support multiple command executors for a single command, similarly to how the CommandAPI does already **Please supply examples of the desired...

enhancement
for annotations

```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...

documentation

Some arguments conflict with each other (e.g. `StringArgument` and `PlayerArgument`, and probably `SoundArgument`, `AdvancementArgument`, `LootTableArgument` etc.) This should be documented.

documentation