Package com.massivecraft.factions.event
Class LandUnclaimAllEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- com.massivecraft.factions.event.FactionEvent
-
- com.massivecraft.factions.event.FactionPlayerEvent
-
- com.massivecraft.factions.event.LandUnclaimAllEvent
-
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class LandUnclaimAllEvent extends FactionPlayerEvent implements org.bukkit.event.Cancellable
-
-
Field Summary
-
Fields inherited from class com.massivecraft.factions.event.FactionPlayerEvent
fPlayer
-
-
Constructor Summary
Constructors Constructor Description LandUnclaimAllEvent(Faction f, FPlayer p)
-
Method Summary
Modifier and Type Method Description java.lang.String
getFactionId()
Deprecated.use getFaction().getId() instead.java.lang.String
getFactionTag()
Deprecated.use getFaction().getTag() instead.org.bukkit.entity.Player
getPlayer()
Deprecated.use getfPlayer().getPlayer() instead.boolean
isCancelled()
void
setCancelled(boolean cancelled)
-
Methods inherited from class com.massivecraft.factions.event.FactionPlayerEvent
getfPlayer
-
Methods inherited from class com.massivecraft.factions.event.FactionEvent
getFaction, getHandlerList, getHandlers
-
-
-
-
Method Detail
-
getFactionId
@Deprecated public java.lang.String getFactionId()
Deprecated.use getFaction().getId() instead.Get the id of the faction.- Returns:
- id of faction as String
-
getFactionTag
@Deprecated public java.lang.String getFactionTag()
Deprecated.use getFaction().getTag() instead.Get the tag of the faction.- Returns:
- tag of faction as String
-
getPlayer
@Deprecated public org.bukkit.entity.Player getPlayer()
Deprecated.use getfPlayer().getPlayer() instead.Get the Player involved in the event.- Returns:
- Player from FPlayer.
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled)
- Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
-