aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/cowtipper/cowlection/config
diff options
context:
space:
mode:
authorCow <cow@volloeko.de>2021-03-17 12:39:02 +0100
committerCow <cow@volloeko.de>2021-03-17 12:39:02 +0100
commite09fc0d1f07da1fe5def7cb80c2128cf71a6ad4f (patch)
tree3cf5ead8e73bf85aa29ee90745eb1b281cdeac0b /src/main/java/de/cowtipper/cowlection/config
parentf43d8f566c6140eda00867b2ccfdbc2e967e5596 (diff)
downloadCowlection-e09fc0d1f07da1fe5def7cb80c2128cf71a6ad4f.tar.gz
Cowlection-e09fc0d1f07da1fe5def7cb80c2128cf71a6ad4f.tar.bz2
Cowlection-e09fc0d1f07da1fe5def7cb80c2128cf71a6ad4f.zip
Added /moo whatAmILookingAt
- Copy info of "the thing" you're looking at - currently supports: NPCs and mobs + nearby "text-only" armor stands; armor stands, placed skulls, dropped items, items in item frames, maps on walls
Diffstat (limited to 'src/main/java/de/cowtipper/cowlection/config')
-rw-r--r--src/main/java/de/cowtipper/cowlection/config/MooConfig.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/de/cowtipper/cowlection/config/MooConfig.java b/src/main/java/de/cowtipper/cowlection/config/MooConfig.java
index caa392a..533a767 100644
--- a/src/main/java/de/cowtipper/cowlection/config/MooConfig.java
+++ b/src/main/java/de/cowtipper/cowlection/config/MooConfig.java
@@ -53,6 +53,7 @@ public class MooConfig {
public static String mooCmdAlias;
public static boolean fixReplyCmd;
public static boolean enableCopyInventory;
+ private static String wailaLevelOfDetail;
public static String[] tabCompletableNamesCommands;
private static final String CATEGORY_LOGS_SEARCH = "logssearch";
public static String[] logsDirs;
@@ -264,6 +265,8 @@ public class MooConfig {
"fixReplyCmd", true, "Auto-replace /r?"));
Property propEnableCopyInventory = subCat.addConfigEntry(cfg.get(configCat.getConfigName(),
"enableCopyInventory", false, "Enable copy inventory with CTRL + C?"));
+ Property propWailaLevelOfDetail = subCat.addConfigEntry(cfg.get(configCat.getConfigName(),
+ "wailaLevelOfDetail", "main info", "Level of detail of /moo waila", new String[]{"main info", "all info"}));
// Sub-Category: Tab-completable names in commands
subCat = configCat.addSubCategory("Tab-completable usernames");
@@ -574,6 +577,7 @@ public class MooConfig {
mooCmdAlias = propMooCmdAlias.getString();
fixReplyCmd = propFixReplyCmd.getBoolean();
enableCopyInventory = propEnableCopyInventory.getBoolean();
+ wailaLevelOfDetail = propWailaLevelOfDetail.getString();
tabCompletableNamesCommands = propTabCompletableNamesCommands.getStringList();
logsDirs = propLogsDirs.getStringList();
defaultStartDate = propDefaultStartDate.getString().trim();
@@ -639,6 +643,7 @@ public class MooConfig {
propMooCmdAlias.set(mooCmdAlias);
propFixReplyCmd.set(fixReplyCmd);
propEnableCopyInventory.set(enableCopyInventory);
+ propWailaLevelOfDetail.set(wailaLevelOfDetail);
propTabCompletableNamesCommands.set(tabCompletableNamesCommands);
propLogsDirs.set(logsDirs);
propDefaultStartDate.set(defaultStartDate);
@@ -774,6 +779,10 @@ public class MooConfig {
return Setting.get(configGuiExplanations);
}
+ public static boolean keepFullWailaInfo() {
+ return "all info".equals(wailaLevelOfDetail);
+ }
+
// Category: Notifications
/**