Class PlayerExperienceSynchronizationTask

java.lang.Object
org.bukkit.scheduler.BukkitRunnable
dev.satyrn.xpeconomy.tasks.PlayerExperienceSynchronizationTask
All Implemented Interfaces:
Runnable

public final class PlayerExperienceSynchronizationTask extends org.bukkit.scheduler.BukkitRunnable
Task used to synchronize player experience with a value in an account.
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlayerExperienceSynchronizationTask(org.bukkit.plugin.Plugin plugin, UUID playerID, Account account)
    Creates a new player experience synchronization task.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

    Methods inherited from class org.bukkit.scheduler.BukkitRunnable

    cancel, getTaskId, isCancelled, runTask, runTaskAsynchronously, runTaskLater, runTaskLaterAsynchronously, runTaskTimer, runTaskTimerAsynchronously

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PlayerExperienceSynchronizationTask

      public PlayerExperienceSynchronizationTask(org.bukkit.plugin.Plugin plugin, UUID playerID, Account account)
      Creates a new player experience synchronization task.
      Parameters:
      plugin - The plugin instance.
      playerID - The player ID.
      account - The player's economy account
  • Method Details

    • run

      public void run()
      When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

      The general contract of the method run is that it may take any action whatsoever.

      See Also: