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);
					}
				}

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock