feat(Core/ItemHandler): Optional item recovery (#2442)

This commit is contained in:
IntelligentQuantum
2019-12-09 10:33:33 +03:30
committed by Stoabrogga
parent e337f1e38d
commit b6c0f58dda
8 changed files with 125 additions and 13 deletions

View File

@@ -25,6 +25,7 @@
# NETWORK CONFIG
# CONSOLE AND REMOTE ACCESS
# CHARACTER DELETE OPTIONS
# ITEM DELETE OPTIONS
# CUSTOM SERVER OPTIONS
#
###################################################################################################
@@ -1456,11 +1457,11 @@ Motd = "Welcome to an AzerothCore server."
# All the AzerothCore contributors, as well as its father projects (MaNGOS, TrinityCore, etc..),
# have worked for free to provide you this software. Please do not remove the credits.
#
# Changing or removing such hardcoded text is considered a violation of our license
# Changing or removing such hardcoded text is considered a violation of our license
# and it's not allowed. We reserve the right to take legal action in case of violations.
# Furthermore, any kind of support will be always denied.
#
# All AzerothCore contributors and its father projects are publicly listed in
# All AzerothCore contributors and its father projects are publicly listed in
# our official repository. Credits to open source contributions should always be shown.
#
@@ -2966,6 +2967,55 @@ CharDelete.KeepDays = 30
#
###################################################################################################
###################################################################################################
# ITEM DELETE OPTIONS
#
# ItemDelete.Method
# Description: Item deletion behavior.
# Default: 0 - (Completely remove item from the database)
# 1 - (Save Item to database)
ItemDelete.Method = 0
#
# ItemDelete.Vendor
# Description: Saving items into database when the player sells items to vendor
# Default: 0 (disabled)
# 1 (enabled)
#
ItemDelete.Vendor = 0
#
# ItemDelete.Quality
# Description: Saving items into database that have quality greater or equal to ItemDelete.Quality
#
# ID | Color | Quality
# 0 | Grey | Poor
# 1 | White | Common
# 2 | Green | Uncommon
# 3 | Blue | Rare
# 4 | Purple| Epic
# 5 | Orange| Legendary
# 6 | Red | Artifact
# 7 | Gold | Bind to Account
#
# Default: 3
#
ItemDelete.Quality = 3
#
# ItemDelete.ItemLevel
# Description: Saving items into database that are Item Levels greater or equal to ItemDelete.ItemLevel
# Default: 80
#
ItemDelete.ItemLevel = 80
#
###################################################################################################
###################################################################################################
# CUSTOM SERVER OPTIONS
#
@@ -3265,7 +3315,7 @@ Minigob.Manabonk.Enable = 1
# Description: Logs actions, e.g. account login and logout to name a few, based on IP of current session.
# Default: 0 - (Disabled)
# 1 - (Enabled)
Allow.IP.Based.Action.Logging = 0
# Calculate.Creature.Zone.Area.Data
@@ -3284,8 +3334,8 @@ Calculate.Gameoject.Zone.Area.Data = 0
# LFG SETTINGS
#
# Includes satellite to search for work elsewhere LFG
# Default: 0 - Disable
# 1 - Enable
# Default: 0 - Disable
# 1 - Enable
LFG.Location.All = 0