Jump to content
  • 0

[Request] Chat system ??


Question

Posted

all know id game when you write for example  f uck automatic what is change to -_-_-....

 

that is java side or client default mod ?

6 answers to this question

Recommended Posts

  • 0
Posted

Both, there is client chat protection aswell (may be even modified, by adding new words to dat file from system, don't remember which one)

 

But most common at l2j is this core side.

 

Say2.java

 

private void checkText()

{

String filteredText = _text;

for (String pattern : Config.FILTER_LIST)

filteredText = filteredText.replaceAll("(?i)" + pattern, Config.CHAT_FILTER_CHARS);

_text = filteredText;

}

  • 0
Posted

sayfilter mesa sta config gameserver  bale pia leksi thelis na bgeni etsi ama tin poun

English section??Edit you post

 

btw

 

he said that you can use the config Chat Filter and write inside it the word that you want

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...