@Deprecated public class PlayerChatTabCompleteEvent extends PlayerEvent
Event.Resultplayer| Constructor | Description | 
|---|---|
| PlayerChatTabCompleteEvent(@NotNull Player who,
                          @NotNull String message,
                          @NotNull Collection<String> completions) | Deprecated.  | 
| Modifier and Type | Method | Description | 
|---|---|---|
| @NotNull String | getChatMessage() | Deprecated.  Gets the chat message being tab-completed. | 
| static @NotNull HandlerList | getHandlerList() | Deprecated.  | 
| @NotNull HandlerList | getHandlers() | Deprecated.  | 
| @NotNull String | getLastToken() | Deprecated.  Gets the last 'token' of the message being tab-completed. | 
| @NotNull 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
                                  @NotNull Player who,
                                  @NotNull
                                  @NotNull String message,
                                  @NotNull
                                  @NotNull Collection<String> completions)
@NotNull public @NotNull String getChatMessage()
@NotNull public @NotNull String getLastToken()
The token is the substring starting with the character after the last space in the message.
@NotNull public @NotNull Collection<String> getTabCompletions()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class Event@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2020. All rights reserved.