Run a check every X minutes/seconds

Discussion in 'Plugin Development' started by xlilcasper, Jun 19, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    xlilcasper

    What is the best way to run a check around every minute or so. Does not need to be exact. I was going to use the bukkit scheduler but from my reading I don't think I can do things in there like get a list of players that are on the server and editing details about them due to it not being thread safe? Am I wrong in thinking this? Is there another or a better way?
     
  2. Offline

    Shamebot

    BukkitScheduler is thread safe as long as you use a SyncTask.
     
Thread Status:
Not open for further replies.

Share This Page