Package org.kingdoms.managers
Class KingdomsTimings
java.lang.Object
org.kingdoms.managers.KingdomsTimings
- All Implemented Interfaces:
org.bukkit.event.Listener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidvoidchangeWorlds(org.bukkit.event.player.PlayerChangedWorldEvent event) static voidenable()static doublegetAverageTimesPerMinute(List<Long> times) static longvoidguiOpened(KingdomGUIOpenEvent event) static booleanvoidvoidvoidplayerJoined(org.bukkit.event.player.PlayerJoinEvent event) voidplayerLeft(org.bukkit.event.player.PlayerQuitEvent event) void
-
Field Details
-
TIMINGS
-
-
Constructor Details
-
KingdomsTimings
public KingdomsTimings()
-
-
Method Details
-
isEnabled
public static boolean isEnabled() -
getAverageTimesPerMinute
-
enable
public static void enable() -
getStarted
public static long getStarted() -
addTiming
public static void addTiming() -
addTiming
-
moveToAnotherChunk
-
moveToAnotherChunk
-
changeWorlds
public void changeWorlds(org.bukkit.event.player.PlayerChangedWorldEvent event) -
playerJoined
public void playerJoined(org.bukkit.event.player.PlayerJoinEvent event) -
playerLeft
public void playerLeft(org.bukkit.event.player.PlayerQuitEvent event) -
turretActivated
-
guiOpened
-