NamelessMC / Nameless

NamelessMC is a free, easy to use & powerful website software for your Minecraft server, which includes a large range of features.
https://namelessmc.com/
MIT License
610 stars 311 forks source link

Player heads with skin for BungeeCord server list #1728

Open TheJoshue opened 4 years ago

TheJoshue commented 4 years ago

Please describe the feature in as much detail as possible Assuming you want only proxy server to have with MC integration for player list on "Status" page of your namelessMC site, it would be so much better if you can either have option to ENABLE showing of custom player heads of their skin - players that are on server right now that are showed on status page.

I know that standalone (spigot) server does support player heads if there are for example 5 players online, it'll show 5 player heads (but without skin, I would suggest adding skin to player heads in status page within MC server integration just as I posted here https://github.com/NamelessMC/Nameless/issues/1727)... now I would like to suggest adding that if you enable that option "BungeeCord Instance?", then it'll pop up another option right below that, it'll say "Show player heads with skin?"

Although I know there is an option for any server (MC integration) for "Enable player list", but if option "BungeeCord Instance?" is enabled, it won't show player list.

samerton commented 4 years ago

Unfortunately this isn't possible as Bungee does not return a player list

Derkades commented 4 years ago

I have no idea how it works but it does actually: https://github.com/SpigotMC/BungeeCord/commit/32a5271dc321b1e8f5ed1478f919650ac9aded74

// Player List
for ( ProxiedPlayer p : bungee.getPlayers() )
{
    writeString( out, p.getName() );
}
samerton commented 4 years ago

It's not present in the server query response so we can't obtain it on the website.

Derkades commented 4 years ago

Like the vanilla minecraft server, bungeecord has a separate "query" system that needs to be enabled. It runs on a different port. While a minecraft server returns a player list in a normal ping, bungeecord only does this through the advanced query system

StormyIceLeopard commented 4 years ago

Mine works with bungeecord. It returns player heads. https://blizzardcraft.net/status/ I am unable to get individual servers to work.

BaxAndrei commented 4 years ago

Unfortunately this isn't possible as Bungee does not return a player list

This website, somehow get playerlist even if bungee: https://mcsrvstat.us/ (I saw this on my own bungee server)

StormyIceLeopard commented 4 years ago

I just remembered I have this plugin installed. https://github.com/StormyIceLeopard/SimplePlayerListQuery

TheJoshue commented 11 months ago

anyone?