TabCommandExecutor

Discussion in 'Plugin Development' started by Sabersamus, Aug 10, 2012.

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

    Sabersamus

    Maybe theres a thread about it somewhere, but i cant find one.

    Using the new API version (1.3.1)
    there is the TabCommandExecutor,

    Could someone please explain to me, and all of the Bukkit community that does not know, how this works, and how to use this?
     
  2. Offline

    sd5

    TabCommandExecutor contains a new command
    Code:
    List<String> onTabComplete()
    When someone presses Tab, the first entry in the list will be returned and if he presses Tab again, the second entry wil be returned and so on...

    EDIT: TabCommandExecutor - ApiDocs
     
    theplayerjooo likes this.
  3. Offline

    Sabersamus

    Yes, but how exactly do i use it?
    Like, where? when? Do i use it in the same class as my command? How does it know what command to handle it for?
     
Thread Status:
Not open for further replies.

Share This Page