@Deprecated public class PlayerChatTabCompleteEvent extends PlayerEvent
Event.Resultplayer| Constructor | Description | 
|---|---|
| PlayerChatTabCompleteEvent(Player who,
                          String message,
                          Collection<String> completions) | Deprecated.  | 
| Modifier and Type | Method | Description | 
|---|---|---|
| String | getChatMessage() | Deprecated.  Gets the chat message being tab-completed. | 
| static HandlerList | getHandlerList() | Deprecated.  | 
| HandlerList | getHandlers() | Deprecated.  | 
| String | getLastToken() | Deprecated.  Gets the last 'token' of the message being tab-completed. | 
| Collection<String> | getTabCompletions() | Deprecated.  This is the collection of completions for this event. | 
getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlayerpublic PlayerChatTabCompleteEvent(@NotNull
                                  Player who,
                                  @NotNull
                                  String message,
                                  @NotNull
                                  Collection<String> completions)
@NotNull public String getChatMessage()
@NotNull public String getLastToken()
The token is the substring starting with the character after the last space in the message.
@NotNull public Collection<String> getTabCompletions()
@NotNull public HandlerList getHandlers()
getHandlers in class Event@NotNull public static HandlerList getHandlerList()
Copyright © 2019. All rights reserved.