public class PlayerCommandSendEvent extends PlayerEvent
Event.Result
player
Constructor | Description |
---|---|
PlayerCommandSendEvent(Player player,
java.util.Collection<java.lang.String> commands) |
Modifier and Type | Method | Description |
---|---|---|
java.util.Collection<java.lang.String> |
getCommands() |
Returns a mutable collection of all top level commands to be sent.
|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlayer
public PlayerCommandSendEvent(Player player, java.util.Collection<java.lang.String> commands)
public java.util.Collection<java.lang.String> getCommands()
public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2018. All rights reserved.