How accurate is the scheduler?

Discussion in 'Plugin Development' started by willeb96, Dec 9, 2012.

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

    willeb96

    Hi!

    Does anyone know how accurate the scheduler is?
    Is it okay to use it as a timer? (repeating a task every 20 ticks, time--)
     
  2. Offline

    p000ison

    depends if your server is lagging. A not-lagging server has 20 ticks per second.

    EDIT: if your server has only 5 ticks per second it is very unaccurate
     
  3. Offline

    willeb96

    So as long as the tickrate is at 20/sec everything should be fine?
     
  4. Offline

    p000ison

    yup
     
Thread Status:
Not open for further replies.

Share This Page