Jump to content
  • 0

[HELP] Chat Global = PVPS


Question

Posted

Hello friends,

 

Looking for a script where the player so you will have access to speak in global chat above 500 PVPS and Trade Chat above 300 PVPS. In l2Pride have it. This reduces the Lag and the flood in the Server! I await a response!

4 answers to this question

Recommended Posts

  • 0
Posted

Hello friends,

 

Looking for a script where the player so you will have access to speak in global chat above 500 PVPS and Trade Chat above 300 PVPS. In l2Pride have it. This reduces the Lag and the flood in the Server! I await a response!

 

if you dont want global chat then just turn off that... and set REGION the trade chanel

  • 0
Posted

Say2 class

 

			case SHOUT:
-					if (Config.DEFAULT_GLOBAL_CHAT.equalsIgnoreCase("on") || (Config.DEFAULT_GLOBAL_CHAT.equalsIgnoreCase("gm") && activeChar.isGM()))
+					if (Config.DEFAULT_GLOBAL_CHAT.equalsIgnoreCase("on") || (Config.DEFAULT_GLOBAL_CHAT.equalsIgnoreCase("gm") && activeChar.isGM()) || activeChar.getPvpKills() >= 500)
				{
					int region = MapRegionTable.getInstance().getMapRegion(activeChar.getX(), activeChar.getY());
					for (L2PcInstance player : L2World.getInstance().getAllPlayers())
					{
						if (region == MapRegionTable.getInstance().getMapRegion(player.getX(),player.getY()))
							player.sendPacket(cs);
					}
				}

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...