Package com.earth2me.essentials.signs
Class SignProtection
java.lang.Object
com.earth2me.essentials.signs.EssentialsSign
com.earth2me.essentials.signs.SignProtection
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.earth2me.essentials.signs.EssentialsSign
EssentialsSign.ISign
-
Field Summary
Fields inherited from class com.earth2me.essentials.signs.EssentialsSign
MINTRANSACTION, signName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Deprecated.boolean
hasAdjacentBlock
(Block block, Block... ignoredBlocks) Deprecated.boolean
isBlockProtected
(Block block) Deprecated.isBlockProtected
(Block block, User user, String username, boolean secure) Deprecated.protected boolean
onBlockBreak
(Block block, User player, String username, IEssentials ess) Deprecated.boolean
onBlockBreak
(Block block, IEssentials ess) Deprecated.boolean
onBlockBurn
(Block block, IEssentials ess) Deprecated.boolean
onBlockExplode
(Block block, IEssentials ess) Deprecated.boolean
onBlockIgnite
(Block block, IEssentials ess) Deprecated.protected boolean
onBlockInteract
(Block block, User player, String username, IEssentials ess) Deprecated.protected boolean
onBlockPlace
(Block block, User player, String username, IEssentials ess) Deprecated.boolean
onBlockPush
(Block block, IEssentials ess) Deprecated.protected boolean
onSignBreak
(EssentialsSign.ISign sign, User player, String username, IEssentials ess) Deprecated.protected boolean
onSignCreate
(EssentialsSign.ISign sign, User player, String username, IEssentials ess) Deprecated.Methods inherited from class com.earth2me.essentials.signs.EssentialsSign
checkIfBlockBreaksSigns, getBigDecimal, getBigDecimalPositive, getInteger, getIntegerPositive, getItemMeta, getItemMeta, getItemStack, getItemStack, getMoney, getName, getSuccessName, getSuccessName, getTemplateName, getTrade, getTrade, getTrade, getTrade, getTrade, getUsername, isOwner, isValidSign, isValidSign, onBlockBreak, onBlockInteract, onBlockPlace, onSignBreak, onSignCreate, onSignInteract, onSignInteract, setOwner, setOwnerData, validateInteger, validateTrade, validateTrade
-
Constructor Details
-
SignProtection
public SignProtection()Deprecated.
-
-
Method Details
-
onSignCreate
protected boolean onSignCreate(EssentialsSign.ISign sign, User player, String username, IEssentials ess) throws SignException, ChargeException Deprecated.- Overrides:
onSignCreate
in classEssentialsSign
- Throws:
SignException
ChargeException
-
onSignBreak
protected boolean onSignBreak(EssentialsSign.ISign sign, User player, String username, IEssentials ess) throws SignException Deprecated.- Overrides:
onSignBreak
in classEssentialsSign
- Throws:
SignException
-
hasAdjacentBlock
Deprecated. -
isBlockProtected
public SignProtection.SignProtectionState isBlockProtected(Block block, User user, String username, boolean secure) Deprecated. -
isBlockProtected
Deprecated. -
getBlocks
Deprecated.- Overrides:
getBlocks
in classEssentialsSign
-
areHeavyEventRequired
public boolean areHeavyEventRequired()Deprecated.- Overrides:
areHeavyEventRequired
in classEssentialsSign
-
onBlockPlace
protected boolean onBlockPlace(Block block, User player, String username, IEssentials ess) throws SignException Deprecated.- Overrides:
onBlockPlace
in classEssentialsSign
- Throws:
SignException
-
onBlockInteract
protected boolean onBlockInteract(Block block, User player, String username, IEssentials ess) throws SignException Deprecated.- Overrides:
onBlockInteract
in classEssentialsSign
- Throws:
SignException
-
onBlockBreak
protected boolean onBlockBreak(Block block, User player, String username, IEssentials ess) throws SignException, MaxMoneyException Deprecated.- Overrides:
onBlockBreak
in classEssentialsSign
- Throws:
SignException
MaxMoneyException
-
onBlockBreak
Deprecated.- Overrides:
onBlockBreak
in classEssentialsSign
-
onBlockExplode
Deprecated.- Overrides:
onBlockExplode
in classEssentialsSign
-
onBlockBurn
Deprecated.- Overrides:
onBlockBurn
in classEssentialsSign
-
onBlockIgnite
Deprecated.- Overrides:
onBlockIgnite
in classEssentialsSign
-
onBlockPush
Deprecated.- Overrides:
onBlockPush
in classEssentialsSign
-