Jump to content

Recommended Posts

Posted

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

Posted
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

Posted

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>

 

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

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..