Core/Instances: Add new config options to control the time when both daily and weekly resets occur (will not be restricted to instances only)

Port From (https://github.com/TrinityCore/TrinityCore/commit/cedf09f93c44be2abf1c2b40e0e4c51f95f2975c)
This commit is contained in:
hondacrx
2022-10-04 17:02:16 -04:00
parent 8d2770081b
commit 276d199a6f
4 changed files with 22 additions and 11 deletions
+16 -8
View File
@@ -970,14 +970,6 @@ Instance.IgnoreLevel = 0
Instance.IgnoreRaid = 0
#
# Instance.ResetTimeHour
# Description: Hour of the day when the global instance reset occurs.
# Range: 0-23
# Default: 4 - (04:00 AM)
Instance.ResetTimeHour = 4
#
# Instance.UnloadDelay
# Description: Time (in milliseconds) before instance maps are unloaded from memory if no
@@ -996,6 +988,22 @@ Instance.UnloadDelay = 1800000
InstancesResetAnnounce = false
#
# ResetSchedule.WeekDay
# Description: Day of the week when the global weekly reset occurs.
# Range: 0-6
# Default: 2 - (Tuesday)
ResetSchedule.WeekDay = 2
#
# ResetSchedule.Hour
# Description: Hour of the day when the global daily reset occurs.
# Range: 0-23
# Default: 8 - (08:00 AM)
ResetSchedule.Hour = 8
#
# Quests.EnableQuestTracker
# Description: Store data in the database about quest completion and abandonment to help finding bugged quests.