From d52f89085b2162d9af1fb537b44fdde8d0457462 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 7 Oct 2023 03:58:44 +0200 Subject: Add tab list sorting --- .../at/hannibal2/skyhanni/config/features/MiscConfig.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/config') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java index 95435f34f..1dd24fc44 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java @@ -549,9 +549,20 @@ public class MiscConfig { public boolean enabled = false; @Expose - @ConfigOption(name = "Hide Hypixel Adverts", desc = "Hides text from advertising the Hypixel server or store in the tablist") + @ConfigOption(name = "Hide Hypixel Adverts", desc = "Hides text from advertising the Hypixel server or store in the tablist.") @ConfigEditorBoolean public boolean hideAdverts = false; + + @Expose + @ConfigOption(name = "Player Sort", desc = "Change what the player list is sorted by.") + @ConfigEditorDropdown(values = {"Rank (Default)", "SB Level", "Name (Abc)", "Ironman/Bingo", "Party/Friends/Guild"}) + @ConfigAccordionId(id = 1) + public int playerSort = 0; + + @Expose + @ConfigOption(name = "Invert Sort", desc = "Flip the player list on its head (also works with default rank).") + @ConfigEditorBoolean + public boolean reverseSort = false; } @Expose -- cgit