Jump to content

Requesting welcome message HTML


lescos

Recommended Posts

You have it on your server or you want to add it?

If you already have it, it's on your folder gameserver/data/html/welcome.htm

Link to comment
Share on other sites

Go to your EnterWorld.java and find where are the seven signs announcements (search for // Announcements, welcome & Seven signs period messages )

and below the seven signs announcement add:

	if (Config.ENABLE_SERVER_NEWS)
		{
			final NpcHtmlMessage html = new NpcHtmlMessage(0);
			html.setFile("data/html/servernews.htm");
			sendPacket(html);
		}

then on your Config.java add the configs

public static boolean SERVER_NEWS;

SERVER_NEWS = server.getProperty("ShowServerNews", false);

and then go to your datapack go to data/html and create a file called servernews.htm and paste your code inside:

(for example this)

<html>
	<title>aCis</title>
	<body>
		<font color="LEVEL">Welcome,</font>
		<br><br>
		This server uses aCis <font color="LEVEL">(http://i-live.eu/acis/)</font>, a fork of L2J software, a legal Lineage II server emulator.<br>
		In case you will find any kind of bugs, please report them in the forum.<br><br>
		This notice can be modified in data/html folder, this is the file named <font color="LEVEL">servernews.htm</font>.<br><br>
		Enjoy your stay in your world.
	</body>
</html>

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...