Core/Chat: Configure automatic owner declaration for custom chat channels (patch by leak)

Closes issue 4974.

--HG--
branch : trunk
This commit is contained in:
click
2010-12-02 03:54:52 +01:00
parent 0c44bd33ee
commit bc098658c6
19 changed files with 920 additions and 188 deletions
+25 -3
View File
@@ -1371,9 +1371,10 @@ DungeonFinder.Enable = 0
#
# DBC.EnforceItemAttributes
# Disallow overriding item attributes stored in DBC files with values from the database
# Default: 0 - Off, Use DB values
# 1 - On, Enforce DBC Values (default)
# Description: Disallow overriding item attributes stored in DBC files with values from the
# database.
# Default: 1 - (Enabled, Enforce DBC values)
# 0 - (Disabled, Use database values)
DBC.EnforceItemAttributes = 1
@@ -1744,6 +1745,27 @@ ChatLevelReq.Say = 1
AllowPlayerCommands = 1
#
# PreserveCustomChannels
# Description: Store custom chat channel settings like password, automatic ownership handout
# or ban list in the database. Needs to be enabled to save custom
# world/trade/etc. channels that have automatic ownership handout disabled.
# (.channel set ownership $channel off)
# Default: 0 - (Disabled, Blizzlike, Channel settings are lost if last person left)
# 1 - (Enabled)
PreserveCustomChannels = 1
#
# PreserveCustomChannelDuration
# Description: Time (in days) that needs to pass before the customs chat channels get
# cleaned up from the database. Only channels with ownership handout enabled
# (default behavior) will be cleaned.
# Default: 14 - (Enabled, Clean channels that haven't been used for 14 days)
# 0 - (Disabled, Infinite channel storage)
PreserveCustomChannelDuration = 14
#
###################################################################################################