aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-10 11:32:32 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-10 11:32:32 +0200
commit7d0875bf2218c9e03712f549baa6471221ff7140 (patch)
treef46ed7a378d2c1e7402c8249ed8bf5698ba96982 /src/main/java/at/hannibal2/skyhanni/config
parente43939a64c9c7b8a5164066a63897dbba0a34afb (diff)
downloadskyhanni-7d0875bf2218c9e03712f549baa6471221ff7140.tar.gz
skyhanni-7d0875bf2218c9e03712f549baa6471221ff7140.tar.bz2
skyhanni-7d0875bf2218c9e03712f549baa6471221ff7140.zip
Added City Project Daily Reminder
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/Storage.java3
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Misc.java5
3 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Storage.java b/src/main/java/at/hannibal2/skyhanni/config/Storage.java
index 1807e2e22..2de960a30 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/Storage.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/Storage.java
@@ -186,5 +186,8 @@ public class Storage {
public Map<FarmingItems, ItemStack> farmingItems = new HashMap<>();
}
}
+
+ @Expose
+ public long nextCityProjectParticipationTime = 0L;
}
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
index 147734b30..bcddda8df 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
@@ -18,6 +18,7 @@ import at.hannibal2.skyhanni.features.garden.farming.GardenStartLocation
import at.hannibal2.skyhanni.features.garden.fortuneguide.CaptureFarmingGear
import at.hannibal2.skyhanni.features.garden.fortuneguide.FFGuideGUI
import at.hannibal2.skyhanni.features.minion.MinionFeatures
+import at.hannibal2.skyhanni.features.misc.CityProjectFeatures
import at.hannibal2.skyhanni.features.misc.CollectionCounter
import at.hannibal2.skyhanni.features.misc.MarkedPlayerManager
import at.hannibal2.skyhanni.features.misc.discordrpc.DiscordRPCManager
@@ -61,6 +62,7 @@ object Commands {
registerCommand("shshareinquis") { InquisitorWaypointShare.sendInquisitor() }
registerCommand("shrpcstart") { DiscordRPCManager.startCommand() }
registerCommand("shcropstartlocation") { GardenStartLocation.setLocationCommand() }
+ registerCommand("shstopcityprojectreminder") { CityProjectFeatures.disable() }
// for users - fix bugs
registerCommand("shupdaterepo") { SkyHanniMod.repo.updateRepo() }
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java b/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java
index bf2baef35..97a885cdc 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java
@@ -382,6 +382,11 @@ public class Misc {
public boolean showReady = true;
@Expose
+ @ConfigOption(name = "Daily Reminder", desc = "Remind every 24 hours to participate.")
+ @ConfigEditorBoolean
+ public boolean dailyReminder = true;
+
+ @Expose
public Position pos = new Position(150, 150, false, true);
}