How to make player count message unhoverable.

Discussion in 'Spigot Plugin Development' started by Kosem, May 1, 2017.

  1. Hey, I've been through some problems trying to make player count message unhoverable,
    to basically remove it completely.

    Here's how I want it to be:

    Instead of:

    I don't want any of the players names to be presented.
    I don't want anything to be presented at all :#

    I've used ProtocolLib, OUT_SERVER_INFO packet which wasn't that successful.
    Any ideas?
  2. Have you tried removing the players at the ServerListPingEvent?
  3. By saying "removing the players" what exactly you mean?
  4. There's an Option in that event to remove players from the list too, but @Trigary already mentioned an easier way ^^
  5. What other way exists? I would like to know another one :)
    • Agree Agree x 1
  6. Code (Java):

    Iterator iterator = list.iterator(); //Change this so you get the iterator form the event

    while (iterator.hasNext()) {; //Get the next entry
     iterator.remove(); //Remove it
  7. Thanks mate. :)