com.mineblown.challengescript.scripting.event
Class ScriptPlayerChatEvent

java.lang.Object
  extended by com.mineblown.challengescript.scripting.event.ScriptCancellableEvent
      extended by com.mineblown.challengescript.scripting.event.ScriptPlayerChatEvent

public class ScriptPlayerChatEvent
extends ScriptCancellableEvent


Constructor Summary
ScriptPlayerChatEvent(java.lang.String message, ScriptPlayer player)
           
 
Method Summary
 java.lang.String getMessage()
          Gets the message sent.
 ScriptPlayer getPlayer()
          Gets the player that send this message
 
Methods inherited from class com.mineblown.challengescript.scripting.event.ScriptCancellableEvent
isCancelled, setCancelled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptPlayerChatEvent

public ScriptPlayerChatEvent(java.lang.String message,
                             ScriptPlayer player)
Method Detail

getMessage

public java.lang.String getMessage()
Gets the message sent.

Returns:
The message.

getPlayer

public ScriptPlayer getPlayer()
Gets the player that send this message

Returns:
Sender