How to tune chat filter - level limit and forbid offensive language

Deazer

Head Developer
Staff member
Path:
gameserver\config\chatfilters.xml

Reset of rules without restart of the server (in a game by GM) - //admin > Server > Components - Reload Chat Filter

2.
In fact, there are already described all the rules for the minimum level and bad words, etc. But the part is commented out - as an example we take:

Prohibited for Niewbies chat, limit level, send Warning
Code:
  <!--
   <ChatFilter>
    <Channels>SHOUT,TRADE,L2FRIEND</Channels>
    <Level>20</Level>
    <Action>WarnMsg</Action>
    <WarnMsg>common.ChattingProhibitedForNiewbies</WarnMsg>
   </ChatFilter>
    -->

What at us has to it will turn out at the exit if we want to establish these rules
Code:
<ChatFilter>
  <Channels>SHOUT,TRADE,L2FRIEND</Channels>
  <Level>20</Level>
  <Action>WarnMsg</Action>
  <WarnMsg>common.ChattingProhibitedForNiewbies</WarnMsg>
</ChatFilter>


Warning message placed <WarnMsg>common.ChattingProhibitedForNiewbies</WarnMsg>

Path: data/strings/strings_en.properties
 
Back
Top