Class TabCompletionHelper


  • public class TabCompletionHelper
    extends java.lang.Object
    Class to help with the TabCompletion for Bukkit.

    Can be used by anybody, as long as you provide credit for it.

    • Method Summary

      Modifier and Type Method Description
      static java.lang.String[] getOnlinePlayerNames()  
      static java.util.List<java.lang.String> getOnlinePlayers()  
      static java.util.List<java.lang.String> getPossibleCompletionsForGivenArgs​(java.lang.String[] args, java.util.List<java.lang.String> possibilitiesOfCompletion)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TabCompletionHelper

        public TabCompletionHelper()
    • Method Detail

      • getOnlinePlayerNames

        public static java.lang.String[] getOnlinePlayerNames()
      • getOnlinePlayers

        public static java.util.List<java.lang.String> getOnlinePlayers()
      • getPossibleCompletionsForGivenArgs

        public static java.util.List<java.lang.String> getPossibleCompletionsForGivenArgs​(java.lang.String[] args,
                                                                                          java.util.List<java.lang.String> possibilitiesOfCompletion)