Check if a server is offline

Discussion in 'Plugin Development' started by Forseth11, Jan 2, 2014.

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

    Forseth11

    How would I check if a server is offline. I can use bungee. I tried using sockets, but it kicks everyone if the server is offline because of lag. How would I go about doing this?
     
  2. Offline

    RawCode

    what about netIO inside separate thread (async task)?
     
  3. Offline

    LucasEmanuel

    Use separate thread and ping the server.
     
  4. Offline

    xTrollxDudex

    Forseth11
    How about using a Socket and wait for timeout

    Locked. Unofficial builds are not supported here.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 18, 2019
Thread Status:
Not open for further replies.

Share This Page