Server offline on ListPing

Discussion in 'Plugin Development' started by phips99, Sep 3, 2013.

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

    phips99

    Hey,
    today I found this in my list of servers: [​IMG]
    I wonder how they created that "offline" sign in front of the connection thingi. It looks like faking something, because when I hover the red connection stuff, it's displaying that the version out of date is... Maybe somebody knows how they did this.
    Edit: I think they are faking the version of the server but how?
     
  2. Offline

    Assult

    serverListPing event with some packets maybe?
     
  3. Offline

    phips99

    tommycake50 Assult Nope already checked packets! There is a listping packet but the only thing which you can set is a byte which you can't really set because it's always 1.
     
  4. Offline

    tommycake50

    So how does the client get the data? :confused:.
    is the wiki.vg protocol spec just missing a packet or two?
     
  5. Offline

    phips99

    tommycake50 Nope the packet is in the wiki.vg protocol site! But it is not very helpfull
     
  6. Offline

    tommycake50

    Ohh i saw the server list ping packet but it said it was only client to server which seemed really odd, because obviously the server sends a response. am i missing that packet? i didn't see it.
     
  7. Offline

    Minecrell

    The server answeres on the server list ping packet using a kick disconnect packet. You can listen for the packet, check if the kick message contains the server list information, and modify them. (For example using ProtocolLib)
    Packet info: http://wiki.vg/Server_List_Ping#Server_-.3E_Client

    If you want to display a custom string (like the "Offline" in your picture), you have to modify the sent protocol version, so the client will display "Client out of date" or "Server out of date", and modify the minecraft version in the packet to your string.

    You can't join the server through your server list if you change the protocol version, however it's still possible to connect to the server using the direct connect button.
     
  8. Offline

    Janmm14

  9. Offline

    xCyanide

    phips99
    Codename_b might know the answer since he is a dev for hypixel's server.
     
  10. Offline

    Chinwe

    I haven't used this, but it seems to do what you want :)
     
    Minecrell likes this.
  11. Offline

    RainoBoy97

    Tested and approved by Raino! (Tested in 1.5)
     
  12. Offline

    codename_B

    We're using MCSignOnDoor
     
Thread Status:
Not open for further replies.

Share This Page