TabComplete 1.13

Discussion in 'Plugin Development' started by The_Spaceman, Oct 28, 2018.

Thread Status:
Not open for further replies.
  1. Offline

    The_Spaceman

    I was wondering if there is a new way of creating TabCompletes like in Minecraft 1.13

    not just a list, but also a name (like '/time set ' and the name is '<time>' (press esc when tab list appears)), colors, error name (like when '/time set notAnInteger')

    Thanks in advance
     
  2. Offline

    Esophose

    @The_Spaceman There isn't an official way to do this using the Bukkit/Spigot API, but there are some APIs that exist such as this one that uses reflection to hook into Brigadier: https://github.com/JorelAli/1.13-Command-API. I should warn you that this is quite a bit more advanced than the built-in basic tab completion.
     
  3. Offline

    The_Spaceman

    thats great, but also not... I recently made a subCommand system with a build-in tabComplete, and when using this it would change everything...

    but thank you!
     
Thread Status:
Not open for further replies.

Share This Page