How to check if a given address is a minecraft server

Discussion in 'Plugin Development' started by Tirelessly, Mar 17, 2013.

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

    Tirelessly

    Given an address and port, how would I use packets to check if the address points to a minecraft server? I've tried using the packets sent to the server when the client opens their multiplayer menu but I'm not having success, and google turned up nothing.
     
  2. Offline

    microgeek

    It would be a lot easier if you told us what you are trying to accomplish.
     
  3. Offline

    Tirelessly

    That's pretty much it. It's for anti-advertising.
     
  4. Offline

    microgeek

    Why not just block any message that matches a Regex?
     
  5. Offline

    Tirelessly

    Because I don't want to block every link, just links to servers.

    mncat77 I tried that, but nothing after the socket.connect ever fired.
     
Thread Status:
Not open for further replies.

Share This Page