Just a quick tutorial on how to use the TabCompleter feature. If you don't know what this is, go in game and do /effect (yourName) and press tab. Without further ado, here is the commented class: Code:java // Make sure your class implements TabCompleter.public class Test implements TabCompleter { public List<String> onTabComplete(CommandSender sender, Command cmd, String commandLabel, String[] args) { List<String> list = new ArrayList<>(); // Now, it's just like any other command. // Check if the sender is a player. if (sender instanceof Player) { // Check if the command is "something." if (cmd.getName().equalsIgnoreCase("command")) { // If the player has not typed anything in if (args.length == 0) { // Add a list of words that you'd like to show up // when the player presses tab. list.add("hello"); list.add("hello2"); // Sort them alphabetically. Collections.sort(list); // return the list. return list; // If player has typed one word in. // This > "/command hello " does not count as one // argument because of the space after the hello. } else if (args.length == 1) { list.add("hello"); list.add("hello2"); for (String s : list){ // Since the player has already typed something in, // we ant to complete the word for them so we check startsWith(). if (!s.toLowerCase().startsWith(args[0].toLowerCase())){ list.remove(s); } } Collections.sort(list); return list; } } } // return null at the end. return null; }}