Solved How does Bungee get Bukkit online player count?

Discussion in 'BungeeCord Plugin Development' started by Terrobility, May 22, 2016.

  1. I'd like to know so that I can spoof the online player count with my Bukkit plugin. As of right now I use ProtocolLib to replace the PacketType.Status.Server.OUT_SERVER_INFO packet with my version where I have modified the online players but that doesn't seem to affect Bungee. However it does work on a server without Bungee.
  2. It doesn't affect bungee because bungee uses it's own player counter based on who is connected to the proxy. If you want to edit the player-count for a bungee server then you need to make a bungee plugin.
  3. Alright, thanks. I'll probably use plugin messaging to get the spoofed counts from the server and calculate a total using the server ping event on Bungee.