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