public class PowerLossEvent extends FactionPlayerEvent implements org.bukkit.event.Cancellable
fPlayer
Constructor and Description |
---|
PowerLossEvent(Faction f,
FPlayer p) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFactionId()
Deprecated.
use getFaction().getId() instead.
|
java.lang.String |
getFactionTag()
Deprecated.
use getFaction().getTag() instead.
|
java.lang.String |
getMessage()
Get the power loss message.
|
org.bukkit.entity.Player |
getPlayer()
Deprecated.
use getfPlayer().getPlayer() instead.
|
boolean |
isCancelled() |
void |
setCancelled(boolean c) |
void |
setMessage(java.lang.String message)
Set the power loss message.
|
getfPlayer
getFaction, getHandlerList, getHandlers
@Deprecated public java.lang.String getFactionId()
@Deprecated public java.lang.String getFactionTag()
@Deprecated public org.bukkit.entity.Player getPlayer()
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message
- of powerlosspublic boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean c)
setCancelled
in interface org.bukkit.event.Cancellable