diff options
author | Cow <cow@volloeko.de> | 2021-03-20 14:47:00 +0100 |
---|---|---|
committer | Cow <cow@volloeko.de> | 2021-03-20 14:47:00 +0100 |
commit | b3ec6cd425b6ae5d2795a32369f0f12792b2beaf (patch) | |
tree | 1a5801a5a286473511a125081fb841262fed6abc /src/main/java/de/cowtipper/cowlection/config | |
parent | 27811afe485ce639bbc920d885fb98d4b052bcc6 (diff) | |
download | Cowlection-b3ec6cd425b6ae5d2795a32369f0f12792b2beaf.tar.gz Cowlection-b3ec6cd425b6ae5d2795a32369f0f12792b2beaf.tar.bz2 Cowlection-b3ec6cd425b6ae5d2795a32369f0f12792b2beaf.zip |
Added min Dungeon lvl req to Party Finder
Diffstat (limited to 'src/main/java/de/cowtipper/cowlection/config')
-rw-r--r-- | src/main/java/de/cowtipper/cowlection/config/MooConfig.java | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/main/java/de/cowtipper/cowlection/config/MooConfig.java b/src/main/java/de/cowtipper/cowlection/config/MooConfig.java index a19218e..d23592b 100644 --- a/src/main/java/de/cowtipper/cowlection/config/MooConfig.java +++ b/src/main/java/de/cowtipper/cowlection/config/MooConfig.java @@ -100,6 +100,7 @@ public class MooConfig { public static boolean dungPartyFullLookup; public static boolean dungPartyFinderPartyLookup; public static boolean dungPartiesSize; + public static int dungDungeonReqMin; public static int dungClassMin; private static String dungMarkPartiesWithCarry; private static String dungMarkPartiesWithHyperion; @@ -524,8 +525,10 @@ public class MooConfig { "Marks parties...", " ‣ you cannot join: " + EnumChatFormatting.RED + "⬛", " ‣ that do not meet all your criteria: " + EnumChatFormatting.GOLD + "⬛", + " ‣ with \"Dungeon Level Required\" below a certain level " + EnumChatFormatting.GRAY + "(if present)" + EnumChatFormatting.RESET + ": " + EnumChatFormatting.DARK_RED + EnumChatFormatting.BOLD + "ᐯ" + EnumChatFormatting.RESET, " ‣ with someone below a certain class level: " + EnumChatFormatting.RED + EnumChatFormatting.BOLD + "ᐯ" + EnumChatFormatting.RESET, - " ‣ with duplicated roles you specify below: " + EnumChatFormatting.GOLD + "²⁺", + " ‣ with duplicated roles you specify: " + EnumChatFormatting.GOLD + "²⁺", + " ‣ with someone with a role you specify: " + EnumChatFormatting.GRAY + "e.g. " + EnumChatFormatting.WHITE + "H " + EnumChatFormatting.GRAY + "(class' 1ˢᵗ letter)", " ‣ that match your criteria: " + EnumChatFormatting.GREEN + "⬛"); Property propDungPartyFinderPlayerLookup = subCat.addConfigEntry(cfg.get(configCat.getConfigName(), @@ -541,6 +544,11 @@ public class MooConfig { "dungPartiesSize", true, "Show size of parties?"), new MooConfigPreview(new MooChatComponent("Marked with: " + EnumChatFormatting.WHITE + "1 - 4").gray())); + Property propDungDungeonReqMin = subCat.addConfigEntry(cfg.get(configCat.getConfigName(), + "dungDungeonReqMin", 0, "Marks parties with lower Dungeon level req than this value") + .setMinValue(0).setMaxValue(50), + new MooConfigPreview(new MooChatComponent("Marked with: " + EnumChatFormatting.DARK_RED + EnumChatFormatting.BOLD + "ᐯ").gray())); + Property propDungClassMin = subCat.addConfigEntry(cfg.get(configCat.getConfigName(), "dungClassMin", 0, "Marks parties with members with lower class level than this value") .setMinValue(0).setMaxValue(50), @@ -634,6 +642,7 @@ public class MooConfig { dungPartyFullLookup = propDungPartyFullLookup.getBoolean(); dungPartyFinderPartyLookup = propDungPartyFinderPartyLookup.getBoolean(); dungPartiesSize = propDungPartiesSize.getBoolean(); + dungDungeonReqMin = propDungDungeonReqMin.getInt(); dungClassMin = propDungClassMin.getInt(); dungMarkPartiesWithCarry = propDungMarkPartiesWithCarry.getString(); dungMarkPartiesWithHyperion = propDungMarkPartiesWithHyperion.getString(); @@ -704,6 +713,7 @@ public class MooConfig { propDungPartyFullLookup.set(dungPartyFullLookup); propDungPartyFinderPartyLookup.set(dungPartyFinderPartyLookup); propDungPartiesSize.set(dungPartiesSize); + propDungDungeonReqMin.set(dungDungeonReqMin); propDungClassMin.set(dungClassMin); propDungMarkPartiesWithCarry.set(dungMarkPartiesWithCarry); propDungMarkPartiesWithHyperion.set(dungMarkPartiesWithHyperion); |