Solved Maintenence in MOTD instead of Player Counter

Discussion in 'BungeeCord Plugin Development' started by DerEyve, Feb 19, 2020.

  1. Im trying to remove the max players and show maintenence instead, but i dont know how to do it!
    I searched for around 30 minutes in the internet but couln't find it, maybe im just to dumb to search...

    Thanks for the help
  2. SteelPhoenix


    On BungeeCord you can listen to ProxyPingEvent and modify the response. The Protocol name (what you want to show) is only shown if the protocol version is unsupported (e.g. 999).
  3. Thanks, but can u send me and example if u have time? Im new to java and dont really now what im doing
  4. "please spoonfeed me like in the bukkit tutorials"

  5. Code (Java):
    public void ProxyPingEvent(ProxyPingEvent e) {
            ServerPing ping = e.getResponse();
    I've got this now, but i want it to show a specific text...
  6. ServerPing.Protocol#setName