Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

running task while server is active

Comments in 'Plugin Development' started by xBeastMode, Jan 1, 2016.

  1. xBeastMode
    Offline

    xBeastMode Active Member

    Joined:
    Nov 27, 2015
    Posts:
    292
    Will running a schedule repeating task while the server is active cause lag?If so, is there another way to create a repeating task that doesn't lag?
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    HotFireyDeath likes this.
  3. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    This is already the least laggy method. If you want to optimize, try scheduling only one task and handle the rest of internal scheduling yourself.
    xBeastMode likes this.

Share This Page

Advertisement