1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

AsyncTask

Discussion in 'Development' started by LucGamesDE, Mar 12, 2017.

  1. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    ??
     
  2. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    ????
     
  3. LucGamesDE

    LucGamesDE Baby Zombie

    Messages:
    170
    If I use it as a normal Class, it brings lagg to my server. I get the status of 5 server with one command. But it needs some seconds to load
     
  4. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    I think it's not a good idea for you to try this yet. You obviously do not know how the asnyc task api works and also obviously not what threads really are. You might want to carefully read through SSS and you need to understand almost every single line in there. If you don't understand what some particular line does, ask.

    You can also simply install SSS and use https://github.com/robske110/SignSe...84/SSS/src/robske_110/SSS/rootPlugin.php#L104 for getting online servers. However, currently no good api functions for adding servers are provided, so you'd need to have a sign with the server info somewhere in your world. I might change that.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.