aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-07 03:58:44 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-07 03:58:44 +0200
commitd52f89085b2162d9af1fb537b44fdde8d0457462 (patch)
tree49691c4a67b37a616a44b489d4da4689ea7ea9b7 /src/main/java/at/hannibal2/skyhanni/config/features
parent24c8ce90e3925a397975b617eedf796ae52208ae (diff)
downloadskyhanni-d52f89085b2162d9af1fb537b44fdde8d0457462.tar.gz
skyhanni-d52f89085b2162d9af1fb537b44fdde8d0457462.tar.bz2
skyhanni-d52f89085b2162d9af1fb537b44fdde8d0457462.zip
Add tab list sorting
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java13
1 files changed, 12 insertions, 1 deletions
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