Skip to content

Welcome message.

Featured Replies

Hello there,i need help!How can i make the welcome.htm msg appears to GMs/Admins only?

He said that the text should be shown only to gms/admins. Maybe if u check the java code for welcome for clan members u will find a solution..i dont know how to..btw you are using gracia final, right?

He said show HTML same welcome.htm .  can when edit EnterWorld.java for it  is easy :D

i will recommand to add a new config if u want. like Config.showGMnews, than put it under the 167 line of EnterWorld.java

 

and for a pop up gm news just use that code

 

{
            String GMNews = HtmCache.getInstance().getHtm("data/html/gm.htm");
            if (GMNews != null)
		sendPacket(new NpcHtmlMessage(1, GMNews));
  }

  • Author

Can't find the enterworld.java ...any suggestions where it is?I use L2J Gracia Final

follow:

L2_GameServer\java\net\sf\l2j\gameserver\network\clientpackets

 

17646528.th.jpg

Luck

 

  • Author

Found it but it don't works...other chars can see it aswell.

on line 167  its check if its is a GM, so put it inside of that, or make like if char has acces = 200 > show GM news, if not do nothing

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.