Add level restrictions to some commands:

say, yell, emote, whisper, channel use, trade, auction, mail, tickets
By azazel. Closes issue #598

--HG--
branch : trunk
This commit is contained in:
Spp
2010-03-09 12:58:48 +01:00
parent 8034a6c48e
commit cef249ff2c
11 changed files with 138 additions and 5 deletions
+32 -2
View File
@@ -1164,10 +1164,18 @@ ListenRange.Yell = 300
# Default: 0 (join announcement in normal way)
# 1 (GM join without announcement)
#
# ChannelLevelReq
# ChatLevelReq.Channel
# The required level of character to be able to write in chat channels
# Default: 1 (From level 1)
#
# ChatLevelReq.Whisper
# The required level of character to be able to whisper
# Default: 1 (From level 1)
#
# ChatLevelReq.Say
# The required level of character to be able to say/yell/emote
# Default: 1 (From level 1)
#
# AllowPlayerCommands
# Allowed the players to use commands
# Default: 1 (allow)
@@ -1182,7 +1190,9 @@ ChatFlood.MessageDelay = 1
ChatFlood.MuteTime = 10
Channel.RestrictedLfg = 1
Channel.SilentlyGMJoin = 0
ChannelLevelReq = 1
ChatLevelReq.Channel = 1
ChatLevelReq.Whisper = 1
ChatLevelReq.Say = 1
AllowPlayerCommands = 1
###############################################################################
@@ -2146,6 +2156,22 @@ Ra.Secure = 1
# to players when they login to a newly created character.
# Default: "" - send no text
#
# LevelReq.Trade
# The required level of character to be able to trade
# Default: 1 (From level 1)
#
# LevelReq.Ticket
# The required level of character to be able to write tickets
# Default: 1 (From level 1)
#
# LevelReq.Auction
# The required level of character to be able to use auction
# Default: 1 (From level 1)
#
# LevelReq.Mail
# The required level of character to be able to send and receive mail
# Default: 1 (From level 1)
#
###############################################################################
PlayerStart.AllReputation = 0
@@ -2164,3 +2190,7 @@ ShowKickInWorld = 0
RecordUpdateTimeDiffInterval = 60000
MinRecordUpdateTimeDiff = 100
PlayerStart.String = ""
LevelReq.Trade = 1
LevelReq.Ticket = 1
LevelReq.Auction = 1
LevelReq.Mail = 1