diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-03-10 23:27:31 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-10 13:27:31 +0100 |
commit | 498afd58e3405d473107e08a3b1891f93f76a96a (patch) | |
tree | 9eabf6a6642cfa9d8939f5f4572c3a5cf00a3a6d /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | cb62e10474ac7c5aacb52d6cd04095e65051c060 (diff) | |
download | skyhanni-498afd58e3405d473107e08a3b1891f93f76a96a.tar.gz skyhanni-498afd58e3405d473107e08a3b1891f93f76a96a.tar.bz2 skyhanni-498afd58e3405d473107e08a3b1891f93f76a96a.zip |
Feature: Display current and upcoming mining events (#1040)
Co-authored-by: Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com>
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java | 58 |
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); } |