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

10 hours ago, Designatix said:

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

i want to add one to my server

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

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
Reply to this topic...

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