Minecraft script | any suggestions in Minecraft?

Good day and Merry Christmas everyone!

I'm currently writing a Minecraft script (plugin) and I'm wondering if there's a way to have suggestions for arguments in Minecraft.

Example:

Code:

 command /test [<text>]: trigger: if arg-1 is "Test": send "Test" else if arg-1 is "Test2" send "Test2"

Now I want Test and Test2 to be available as options when you enter /test in MC.

If I didn't describe it exactly, here's another picture of what I mean:

My suggestions should then be found in the list if you enter /test.

If you have any further questions, please let me know!

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
1 Answer
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
playToTroll
1 year ago

Having worked too little with Minecraft plugins over the past few years and knowing me too little to answer this. However, I found the following post on the official Bukkit website: https://bukkit.org/threads/easy-no-api-setting-up-custom-tab-completion.299956/

In case of questions, I would like to help