customrealms / core

Core library for the CustomRealms runtime
https://customrealms.io/core
MIT License
35 stars 13 forks source link

Command Completion #5

Open DoggersFor1 opened 2 years ago

DoggersFor1 commented 2 years ago

Command Completion

BasToTheMax commented 2 years ago

Some ide's have this automaticly.

connerdouglass commented 2 years ago

I think he means command completion in the Minecraft game itself, so players can see the list of options for commands and arguments. We will definitely need to implement this!

DoggersFor1 commented 2 years ago

yes. There is currently a fix for this. go into the commands.yml file and add the commands. it the one generated with the project

AL1L commented 2 years ago

Not quite a fix @Xgod2205, but that is a workaround.

connerdouglass commented 2 years ago

I just made some improvements to the CLI project here: customrealms/cli#2

You can now define your plugin's commands and permissions in your package.json file and it'll get included in your plugin.yml in your JAR file.

What else is typically done in a Bukkit plugin to get command completion? I've never done it personally.

andriemc commented 2 years ago

Can there be a tutorial on how customrealms/cli#2 works? I cannot seem to get it to work.

BasToTheMax commented 2 years ago

CustomRealms is a bit dead ig