1. Welcome to LilyPad. Download the project, explore the forums, and create your own LilyPad network.


    If you use the software and enjoy it or have a question, or would like to contribute to the future of the software directly or through resources, please sign up and join our little community.

Completed Names in Clients

Discussion in 'Feature Requests' started by The_Zip, Nov 9, 2013.

  1. The_Zip

    The_Zip Active Member Resource Contributor

    Hey guys,

    So I was just scrolling through my server list, than BAM! I saw http://prntscr.com/22ug97 , and I thought this was pretty cool, and would be useful for small servers. It would be nice for me to so I can just scroll over my servers list, and see who is online.

    Does anyone know how ChunkNetwork did this?

    Connor
  2. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    LilyPad has this disabled because some of the servers that use LilyPad simply have a lot of people.
    • Like Like x 1
  3. The_Zip

    The_Zip Active Member Resource Contributor

    Ya, I understand why it would be bad to hard code it in. Even with the Chunk Network, it looks pretty bad with it filling up the whole page, and they are only sitting around 100 people. If it wouldn't be hard to add, it might be a niece feature to add in the config or something similar. Not really useful in anyway, but, you never know.
  4. boboman13

    boboman13 Member Contributor

    I agree with @The_Zip, it should be a possibility to implement this.
  5. Shawshark

    Shawshark Active Member Resource Contributor

    I'v seen some servers replace the whole players name and use it to show other information such as change logs.
  6. The_Zip

    The_Zip Active Member Resource Contributor

    Wow! I can't believe I didn't think about it that way, or seen it done @Shawshark ! That would be a really nice feature that I could see allot of useful things being done with. It would be amazing if implemented with LilyPad and add some things to the library to make features like this.
  7. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    I'll add this feature soon :)
    • Like Like x 2
    • Friendly Friendly x 1
    • Optimistic Optimistic x 1
  8. The_Zip

    The_Zip Active Member Resource Contributor

    Thanks a ton @Coelho ! I am really looking forward to this!!!!!!!!
  9. The_Zip

    The_Zip Active Member Resource Contributor

    Does anyone know what the exact name of this is? I would love to look into this more, but I haven't gotten very far. I have tried most of the basic stuff on google and haven't found anything about this.
  10. The_Zip

    The_Zip Active Member Resource Contributor

    I would love to get this feature added soon, I just realized the extent it can go to. [​IMG]
  11. boboman13

    boboman13 Member Contributor

    ~ preliminary observation ~ that requires a username sent in the ping packet... Is that necessary now? o_O

    I agree that this should be added though, this would be really cool.
    • Agree Agree x 1
  12. resetter

    resetter New Member


    chunk network?/??????????????????/
  13. The_Zip

    The_Zip Active Member Resource Contributor

    Yeah why? Is there a problem?
  14. TakeMeNL

    TakeMeNL Member Resource Contributor

    No username is send with the Ping request.
    The server plugin/bungee logs the ips of players that login onto the server.
    Then the next time they hover over the player list the username is looked up in the log file and send to the client.

    (Plugin uses bungee.. Resource: ServerListPlus ;) )
  15. The_Zip

    The_Zip Active Member Resource Contributor

    Wow, the screen shot on the page of that is huge. Yes, Bungee/Spigot both have an API for it, but that is why we are requesting one.
  16. boboman13

    boboman13 Member Contributor

    And that requires a database. Looking into this on github... :p
  17. sgtcaze

    sgtcaze Member Resource Contributor

    Yes. Please yes Coelho. Yes.
    • Like Like x 1
  18. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    Please make this possible :)
  19. TakeMeNL

    TakeMeNL Member Resource Contributor

    Before the 1.7 change to the server ping i was able to get the playerlist through a serverping.
    Yes yes Coelho has it disabled and thats why this topic is created. But thats not my point.

    If Coelho implements this greate feature than we could change the playerlist to a text just like The_Zip shows us above.
    My point is, when i want to use BOTH functions (The playerlist and custom playerlist) thats not possible.
    What i was thinking, add a extra json variable to the serverping.

    This is how a normal json server ping looks like.
    The sample is the player list that we hopefully can modify :D :
    Code (text):
    {
        "version":{
        "name":"1.7.2",
        "protocol":4
    },
    "players":{
        "max":500,
        "online":3,
        "sample":[
            {
                "name":"§2Hey, player!",
                "id":""
            },
            {
                "name":"§3We welcome you to play on our server.",
                "id":""
            }
        ]
    },
    "description":"Random Server MOTD",
    "favicon":"data:image/png;base64,DATA"
    This is how i like it to see
    I added the list array that contains every player connected to the proxy :
    Code (text):
    {
        "version":{
        "name":"1.7.2",
        "protocol":4
    },
    "players":{
        "max":500,
        "online":3,
        "list":[
            {
                "name":"TakeMeNL"
                "id":""
            }
        ],
        "sample":[
            {
                "name":"§2Hey, player!",
                "id":""
            },
            {
                "name":"§3We welcome you to play on our server.",
                "id":""
            }
        ]
    },
    "description":"Random Server MOTD",
    "favicon":"data:image/png;base64,DATA"
    What you guys think of that?
  20. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    I assume that the file is separate of the rest? :p GoLilyPad is using YML instead of JSON ;p

Share This Page