Difference Between TabExecutor and CommandExecutor

  • After careful consideration and due to limited usage, we’ve made the decision to discontinue the PaperMC forums. Moving forward, we recommend using Hangar for plugin uploads, and for all other community discussions and support, please join us on Discord.

DerexXD

New member
Apr 4, 2025
9
2
3
derec4.github.io
came across both TabExecutor and CommandExecutor interfaces. I understand they are used for handling commands, but I'm not entirely sure about their specific differences or when to use each one. Can someone explain how TabExecutor differs from CommandExecutor, and in what situations I should use one over the other?


Thanks in advance!
 

electronicboy

Administrator
Staff member
Dec 11, 2021
321
18
68
28
It’s a utility interface implements both the tab completion and the command executor classes, there is no real advantage to it other than brevity