aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java58
1 files changed, 29 insertions, 29 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java
index 0c72e2b32..4e8eee363 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java
@@ -1,50 +1,47 @@
package at.hannibal2.skyhanni.config.features.mining;
import at.hannibal2.skyhanni.config.FeatureToggle;
+import at.hannibal2.skyhanni.config.core.config.Position;
import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
+import io.github.moulberry.moulconfig.annotations.ConfigEditorDropdown;
import io.github.moulberry.moulconfig.annotations.ConfigOption;
public class MiningEventConfig {
-// @Expose
-// @ConfigOption(name = "Enabled", desc = "Show information about upcoming Dwarven Mines and Crystal Hollows mining events, also enables you sending data.")
-// @ConfigEditorBoolean
-// @FeatureToggle
-// public boolean enabled = true;
-//
-// @Expose
-// @ConfigOption(name = "Show Outside Mining Islands", desc = "Shows the event tracker when you are not inside of the Dwarven Mines or Crystal Hollows.")
-// @ConfigEditorBoolean
-// public boolean outsideMining = true;
-//
-// @Expose
-// @ConfigOption(name = "What to Show", desc = "Choose which island's events are shown in the gui.")
-// @ConfigEditorDropdown
-// public ShowType showType = ShowType.BOTH;
-//
-// @Expose
-// @ConfigOption(name = "Show Warnings For Events", desc = "Shows the warnings when select mining events are about to start.")
-// @ConfigEditorBoolean
-// @FeatureToggle
-// public boolean showWarnings = false;
-
- //todo remove when released
@Expose
- @ConfigOption(name = "Send Test data", desc = "Sends test data to make sure the api works.")
+ @ConfigOption(name = "Enabled", desc = "Show information about upcoming Dwarven Mines and Crystal Hollows mining events, " +
+ "also enables you sending data. §eTakes up to a minute to sync new events.")
@ConfigEditorBoolean
@FeatureToggle
- public boolean sendData = true;
+ public boolean enabled = true;
-// @Expose
-// @ConfigOption(name = "Events to Warn for", desc = "Choose which mining events you get warned about.")
-// @ConfigEditorDraggableList
-// public List<MiningEvent> eventsToWarn = new ArrayList<>(Collections.singletonList(MiningEvent.DOUBLE_POWDER));
+ @Expose
+ @ConfigOption(name = "Show Outside Mining Islands", desc = "Shows the event tracker when you are not inside of the Dwarven Mines or Crystal Hollows.")
+ @ConfigEditorBoolean
+ public boolean outsideMining = false;
+
+ @Expose
+ @ConfigOption(name = "What to Show", desc = "Choose which island's events are shown in the gui.")
+ @ConfigEditorDropdown
+ public ShowType showType = ShowType.BOTH;
+
+ @Expose
+ @ConfigOption(name = "Compressed Format", desc = "Compresses the event names so that they are shorter.")
+ @ConfigEditorBoolean
+ public boolean compressedFormat = false;
+
+ @Expose
+ @ConfigOption(name = "Show Passed Events", desc = "Shows the most recent passed event at the start greyed out. " +
+ "§eTakes a little while to save last event.")
+ @ConfigEditorBoolean
+ public boolean passedEvents = false;
public enum ShowType {
BOTH("Both Mining Islands"),
CRYSTAL("Crystal Hollows Only"),
DWARVEN("Dwarven Mines Only"),
+ CURRENT("Current Island Only"),
;
private final String str;
@@ -58,4 +55,7 @@ public class MiningEventConfig {
return str;
}
}
+
+ @Expose
+ public Position position = new Position(15, 70, false, true);
}