aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java5
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt11
2 files changed, 16 insertions, 0 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 afa2ea873..58f68b2d3 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java
@@ -611,6 +611,11 @@ public class MiscConfig {
@ConfigOption(name = "Mark Special Persons", desc = "Show speical icons behind the name of guild members, party members, friends, and marked players.")
@ConfigEditorBoolean
public boolean markSpecialPersons = false;
+
+ @Expose
+ @ConfigOption(name = "Mark SkyHanni Devs", desc = "Adds a §c:O §7behind the tablist name of SkyHanni's creators.")
+ @ConfigEditorBoolean
+ public boolean markSkyHanniDevs = false;
}
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt
index 77874373d..d234b0559 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt
@@ -115,6 +115,14 @@ object AdvancedPlayerList {
fun ignoreCustomTabList() = SkyHanniMod.feature.dev.debugEnabled && LorenzUtils.isControlKeyDown()
+ private val listOfSkyHanniDevsOrPeopeWhoKnowALotAboutModdingSeceneButAreBadInCoding = listOf(
+ "hannibal2",
+ "CalMWolfs",
+ "HiZe",
+ "lrg89",
+ "Eisengolem",
+ )
+
private fun createCustomName(data: PlayerData): String {
val playerName = if (config.useLevelColorForName) {
val c = data.levelText[3]
@@ -133,6 +141,9 @@ object AdvancedPlayerList {
val score = socialScore(data.name)
suffix += " " + getSocialScoreIcon(score)
}
+ if (config.markSkyHanniDevs && data.name in listOfSkyHanniDevsOrPeopeWhoKnowALotAboutModdingSeceneButAreBadInCoding) {
+ suffix += " §c:O"
+ }
return "$level $playerName ${suffix.trim()}"
}