minekube / gate

High-performance, resource-efficient Minecraft reverse proxy with robust multi-protocol version support. Designed as a scalable Velocity/BungeeCord alternative, suitable for both development and large-scale deployments. Proven in production environments, powering our global Connect edge proxy network.
https://gate.minekube.com
Apache License 2.0
657 stars 57 forks source link

List players on all proxied servers in tab-list #422

Closed rickiewars closed 3 days ago

rickiewars commented 5 days ago

Is it possible to list all players online on each server when the player views a tablist?

e.g. server 1 server 2 server 3
player 1 player 3 player 6
player 2 player 4
player 5

I've looked into the source-code and documentation but couldn't figure out how I could do that.

robinbraemer commented 3 days ago

Yes, you can modify the tablist for every player via https://github.com/minekube/gate/blob/133de6f30cfec5b52036fd0f2cfc5776a85463d7/pkg/edition/java/proxy/player.go#L93 and add entries.

For further questions join the discord :D