Level 80 needed to talk on Global/Trade Chat

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
hiroshima
Posts: 107
Joined: Tue Nov 03, 2009 1:28 pm

Level 80 needed to talk on Global/Trade Chat

Post by hiroshima »

someone know how to set it like in topic guys?
Thanks
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Level 80 needed to talk on Global/Trade Chat

Post by Zoey76 »

Shout, trade and hero voice cannot be used until level 80.

Code: Select all

### by Zoey76#P L2_GameServerIndex: java/com/l2jserver/gameserver/network/clientpackets/Say2.java===================================================================--- java/com/l2jserver/gameserver/network/clientpackets/Say2.java    (revision 4422)+++ java/com/l2jserver/gameserver/network/clientpackets/Say2.java    (working copy)@@ -196,6 +196,13 @@         if (Config.USE_SAY_FILTER)             checkText();         +        +        if ((activeChar.getLevel() < 80) && (_type == TRADE || _type == SHOUT || _type == HERO_VOICE))+        {+            activeChar.sendMessage("Shout, trade and hero chatting cannot be used until level 80.");+            return;+        }+                 IChatHandler handler = ChatHandler.getInstance().getChatHandler(_type);         if (handler != null)             handler.handleChat(_type, activeChar, _target, _text); 
Shout and trade:

Code: Select all

### by Zoey76#P L2_GameServerIndex: java/com/l2jserver/gameserver/network/clientpackets/Say2.java===================================================================--- java/com/l2jserver/gameserver/network/clientpackets/Say2.java    (revision 4422)+++ java/com/l2jserver/gameserver/network/clientpackets/Say2.java    (working copy)@@ -196,6 +196,13 @@         if (Config.USE_SAY_FILTER)             checkText();         +        +        if ((activeChar.getLevel() < 80) && (_type == TRADE || _type == SHOUT))+        {+            activeChar.sendMessage("Shout and trade chatting cannot be used until level 80.");+            return;+        }+                 IChatHandler handler = ChatHandler.getInstance().getChatHandler(_type);         if (handler != null)             handler.handleChat(_type, activeChar, _target, _text); 
Powered by Eclipse 4.34 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
User avatar
shoko
Posts: 160
Joined: Sat Jul 28, 2007 11:46 am

Re: Level 80 needed to talk on Global/Trade Chat

Post by shoko »

It so good :lol:
hiroshima
Posts: 107
Joined: Tue Nov 03, 2009 1:28 pm

Re: Level 80 needed to talk on Global/Trade Chat

Post by hiroshima »

Again you Zoey... thanks :)
Post Reply