Tab Complete

Discussion in 'Spigot Plugin Development' started by LazerShadow, Sep 29, 2015.

  1. How do I make to so that on PlayerCommandPreprocessEvent when they start typing a players name and press tab it completes their name? I use PlayerCommandPreprocessEvent for my commands instead of CommandExecutor.
  2. Um... It would be way simpler if you were using CommandExecutor... Because then you could just change it to TabExecutor and you get a handy little method to override to tab completion.

    Other than that, you're gonna have a hard time going against the API the way you are.
  3. There is no tab-complete event, so you are messed up!

    Also it is just big pointless to not use the Command system and using the event instead. Please dtop that and do it right.