@Deprecated public class PlayerChatTabCompleteEvent extends PlayerEvent
Event.Resultplayer| Constructor and Description | 
|---|
PlayerChatTabCompleteEvent(@NotNull Player who,
                          @NotNull String message,
                          @NotNull Collection<String> completions)
Deprecated.  
  | 
| Modifier and Type | Method and 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. 
 | 
getPlayergetEventName, isAsynchronouspublic 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 © 2021. All rights reserved.