public class FactionsPlayerListener
extends java.lang.Object
implements org.bukkit.event.Listener
Constructor and Description |
---|
FactionsPlayerListener(SavageFactions savageFactions)
|
Modifier and Type | Method and Description |
---|---|
static boolean |
canPlayerUseBlock(org.bukkit.entity.Player player,
org.bukkit.block.Block block,
boolean justCheck) |
void |
enableFly(FPlayer me) |
static java.lang.Boolean |
isSystemFaction(Faction faction) |
void |
onClose(org.bukkit.event.inventory.InventoryCloseEvent e)
|
void |
onFactionJoin(FPlayerJoinEvent event)
|
void |
onFactionLeave(FPlayerLeaveEvent event)
|
void |
onInspect(org.bukkit.event.player.PlayerInteractEvent e)
|
void |
onPearl(org.bukkit.event.player.PlayerInteractEvent e) |
void |
onPlayerBucketEmpty(org.bukkit.event.player.PlayerBucketEmptyEvent event) |
void |
onPlayerBucketFill(org.bukkit.event.player.PlayerBucketFillEvent event) |
void |
onPlayerFall(org.bukkit.event.entity.EntityDamageEvent e) |
void |
onPlayerInteract(org.bukkit.event.player.PlayerInteractEvent event) |
void |
onPlayerInteractGUI(org.bukkit.event.inventory.InventoryClickEvent event) |
void |
onPlayerJoin(org.bukkit.event.player.PlayerJoinEvent event) |
void |
onPlayerKick(org.bukkit.event.player.PlayerKickEvent event) |
void |
onPlayerMove(org.bukkit.event.player.PlayerMoveEvent event) |
void |
onPlayerMoveGUI(org.bukkit.event.inventory.InventoryDragEvent event) |
void |
onPlayerQuit(org.bukkit.event.player.PlayerQuitEvent event) |
void |
onPlayerRespawn(org.bukkit.event.player.PlayerRespawnEvent event) |
java.lang.String |
parseAllPlaceholders(java.lang.String string,
Faction faction,
org.bukkit.entity.Player player) |
static boolean |
playerCanUseItemHere(org.bukkit.entity.Player player,
org.bukkit.Location location,
org.bukkit.Material material,
boolean justCheck) |
static boolean |
preventCommand(java.lang.String fullCmd,
org.bukkit.entity.Player player) |
public FactionsPlayerListener(SavageFactions savageFactions)
public static java.lang.Boolean isSystemFaction(Faction faction)
public static boolean playerCanUseItemHere(org.bukkit.entity.Player player, org.bukkit.Location location, org.bukkit.Material material, boolean justCheck)
public static boolean canPlayerUseBlock(org.bukkit.entity.Player player, org.bukkit.block.Block block, boolean justCheck)
public static boolean preventCommand(java.lang.String fullCmd, org.bukkit.entity.Player player)
public void onPlayerJoin(org.bukkit.event.player.PlayerJoinEvent event)
public void onPlayerFall(org.bukkit.event.entity.EntityDamageEvent e)
public void onPlayerQuit(org.bukkit.event.player.PlayerQuitEvent event)
public java.lang.String parseAllPlaceholders(java.lang.String string, Faction faction, org.bukkit.entity.Player player)
public void enableFly(FPlayer me)
public void onInspect(org.bukkit.event.player.PlayerInteractEvent e)
public void onPearl(org.bukkit.event.player.PlayerInteractEvent e)
public void onPlayerMove(org.bukkit.event.player.PlayerMoveEvent event)
public void onClose(org.bukkit.event.inventory.InventoryCloseEvent e)
public void onPlayerInteract(org.bukkit.event.player.PlayerInteractEvent event)
public void onPlayerRespawn(org.bukkit.event.player.PlayerRespawnEvent event)
public void onPlayerBucketEmpty(org.bukkit.event.player.PlayerBucketEmptyEvent event)
public void onPlayerBucketFill(org.bukkit.event.player.PlayerBucketFillEvent event)
public void onPlayerInteractGUI(org.bukkit.event.inventory.InventoryClickEvent event)
public void onPlayerMoveGUI(org.bukkit.event.inventory.InventoryDragEvent event)
public void onPlayerKick(org.bukkit.event.player.PlayerKickEvent event)
public final void onFactionJoin(FPlayerJoinEvent event)
public void onFactionLeave(FPlayerLeaveEvent event)