Class DTRControl
java.lang.Object
dev.kitteh.factions.landraidcontrol.DTRControl
- All Implemented Interfaces:
LandRaidControl
@AvailableSince("4.0.0")
@NullMarked
public class DTRControl
extends Object
implements LandRaidControl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanDisbandFaction(Faction faction, FPlayer playerAttempting) booleancanJoinFaction(Faction faction, FPlayer player) booleanbooleancanLeaveFaction(FPlayer player) doublebooleanhasLandInflation(Faction faction) booleanisRaidable(Faction faction) booleanisRaidable(Faction faction, double dtr) intvoidonDeath(org.bukkit.entity.Player player) voidonDTRChange(Faction faction, double start, double end) voidvoidvoidstatic Stringround(double dtr) voidvoidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.kitteh.factions.landraidcontrol.LandRaidControl
announceNotRaidable, announceRaidable, possibleClaimCount
-
Constructor Details
-
DTRControl
public DTRControl()
-
-
Method Details
-
round
-
isRaidable
- Specified by:
isRaidablein interfaceLandRaidControl
-
isRaidable
-
hasLandInflation
- Specified by:
hasLandInflationin interfaceLandRaidControl
-
landLimit
- Specified by:
landLimitin interfaceLandRaidControl
-
canJoinFaction
- Specified by:
canJoinFactionin interfaceLandRaidControl
-
canLeaveFaction
- Specified by:
canLeaveFactionin interfaceLandRaidControl
-
canDisbandFaction
- Specified by:
canDisbandFactionin interfaceLandRaidControl
-
canKick
- Specified by:
canKickin interfaceLandRaidControl
-
onRespawn
- Specified by:
onRespawnin interfaceLandRaidControl
-
update
- Specified by:
updatein interfaceLandRaidControl
-
onDeath
public void onDeath(org.bukkit.entity.Player player) - Specified by:
onDeathin interfaceLandRaidControl
-
onQuit
- Specified by:
onQuitin interfaceLandRaidControl
-
onJoin
- Specified by:
onJoinin interfaceLandRaidControl
-
updateDTR
-
updateDTR
-
getMaxDTR
-
onDTRChange
-