Rollczi / LiteCommands

☄️ LiteCommands - Command framework for Velocity, Bukkit, Paper, BungeeCord, Minestom, Sponge, Fabric, JDA and future implementations.
https://docs.rollczi.dev/
Apache License 2.0
146 stars 21 forks source link

Commandblock Support #397

Closed creatorfromhell closed 6 months ago

creatorfromhell commented 6 months ago

Not sure if this is a bug or a feature that needs requested, but attempting to use commands created using LiteCommands in command blocks doesn't work.

Rollczi commented 6 months ago

Can you show how to recreate a command that doesn't work in a command block? I checked the code and there should be no such problems

creatorfromhell commented 6 months ago

Can you show how to recreate a command that doesn't work in a command block? I checked the code and there should be no such problems

https://github.com/TheNewEconomy/PhantomWorlds/blob/master/src/main/java/me/lokka30/phantomworlds/commands/PWCommand.java

Registration: https://github.com/TheNewEconomy/PhantomWorlds/blob/0a76fe44fc855dc1ad08373722b74770ed4d6bcc/src/main/java/me/lokka30/phantomworlds/PhantomWorlds.java#L253

Go to command block and it doesn't autofill or anything, whereas another plugin on a separate library auto fills and everything.

Rollczi commented 6 months ago

I can not reproduce this problem: image video: https://cdn.discordapp.com/attachments/896935070823239731/1234627846924668978/20240429-2209-08.3684862.mp4?ex=66316c48&is=66301ac8&hm=1be14a1c9f1a2afe18fe5abf2e6b5b7cd0d62fda8a843d1a896e4293bd053b32&

My server configuration: server.properties image

paper-world-defaults.yml image

Rollczi commented 6 months ago

Your plugin also work image image

creatorfromhell commented 6 months ago

Your plugin also work image image

interesting, testing now I'm not able to reproduce again, maybe just some form of weird magic.

Thanks anyways!