I want to ""random sort"" the tablist.

Discussion in 'Plugin Development' started by karu1231, May 8, 2021.

  1. Offline


    The tab list is automatically sorted by team. However, no matter what team a player is on, and no matter what the situation is, I always want it to be sorted randomly (or alphabetically).
  2. Offline

    Mathias Eklund

    I'm not 100% on how the Tab list functions as I haven't worked with it in a while, but you should be able to just store all the player names in a TreeSet, which will sort the names automatically.

Share This Page