Package org.bukkit.event.player
Class PlayerChatTabCompleteEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerChatTabCompleteEvent
@Deprecated public class PlayerChatTabCompleteEvent extends PlayerEvent
Deprecated.
This event is no longer fired due to client changes
Called when a player attempts to tab-complete a chat message.
- 
Nested Class Summary
- 
Field Summary
- 
Constructor SummaryConstructors Constructor Description PlayerChatTabCompleteEvent(Player who, String message, Collection<String> completions)Deprecated.
- 
Method SummaryModifier and Type Method Description StringgetChatMessage()Deprecated.Gets the chat message being tab-completed.static HandlerListgetHandlerList()Deprecated.HandlerListgetHandlers()Deprecated.StringgetLastToken()Deprecated.Gets the last 'token' of the message being tab-completed.Collection<String>getTabCompletions()Deprecated.This is the collection of completions for this event.
- 
Constructor Details- 
PlayerChatTabCompleteEventpublic PlayerChatTabCompleteEvent(@NotNull Player who, @NotNull String message, @NotNull Collection<String> completions)Deprecated.
 
- 
- 
Method Details- 
getChatMessageDeprecated.Gets the chat message being tab-completed.- Returns:
- the chat message
 
- 
getLastTokenDeprecated.Gets the last 'token' of the message being tab-completed.The token is the substring starting with the character after the last space in the message. - Returns:
- The last token for the chat message
 
- 
getTabCompletionsDeprecated.This is the collection of completions for this event.- Returns:
- the current completions
 
- 
getHandlersDeprecated.- Specified by:
- getHandlersin class- Event
 
- 
getHandlerListDeprecated.
 
-