Jump to content

Recommended Posts

Posted

If you see at config/options.properties it has that

# Show server version + license when player enter game.
ShowLicense = True

 

And when starting L2JFree Gameserver it also shows a big text of L2JFree

 

you can edit and that too!

 

Just go and open

C:\test\l2jfree-core\src\main\java\com\l2jfree\gameserver\L2JfreeInfo.java

 

It has these things

/**
* 
*/
package com.l2jfree.gameserver;

import com.l2jfree.gameserver.model.actor.instance.L2PcInstance;

/**
* @author noctarius
*/
public class L2JfreeInfo
{
public static final void showStartupInfo()
{
	System.out.println("");
	System.out.println("");
	System.out.println("");
	System.out.println(" ___       ___");
	System.out.println("/\\_ \\    /'___`\\   __  /'___\\");
	System.out.println("\\//\\ \\  /\\_\\ /\\ \\ /\\_\\/\\ \\__/  _ __    __     __");
	System.out.println("  \\ \\ \\ \\/_/// /__\\/\\ \\ \\ ,__\\/\\`'__\\/'__`\\ /'__`\\");
	System.out.println("   \\_\\ \\_  // /_\\ \\\\ \\ \\ \\ \\_/\\ \\ \\//\\  __//\\  __/");
	System.out.println("   /\\____\\/\\______/_\\ \\ \\ \\_\\  \\ \\_\\\\ \\____\\ \\____\\");
	System.out.println("   \\/____/\\/_____//\\ \\_\\ \\/_/   \\/_/ \\/____/\\/____/");
	System.out.println("                  \\ \\____/");
	System.out.println("                   \\/___/  [starting Version: " + GameServer.getVersionNumber() + "]");
}

public static final void versionInfo(L2PcInstance activeChar)
{
	activeChar.sendMessage(":__.     :_____:_____:_____:_____:_____:_____:");
	activeChar.sendMessage("|    |__|___   |__.     |     __|        |     __|     __|");
	activeChar.sendMessage("|         |   ___|   |     |     __|    ) _|     __|     __|");
	activeChar.sendMessage("|_____|_____|_____|__|    |__|__|_____|_____|");
	activeChar.sendMessage("l2jfree version: "+ GameServer.getVersionNumber() + " license: gpl 3 ");
}
}

 

 

I made it like for my server like that!

/**
* 
*/
package com.l2jfree.gameserver;

import com.l2jfree.gameserver.model.actor.instance.L2PcInstance;

/**
* @author noctarius
*/
public class L2JfreeInfo
{
public static final void showStartupInfo()
{
	System.out.println("Welcome to L2 WanteD!!!");
	System.out.println("Don't forget to vote for us every 12 hours!");
}

public static final void versionInfo(L2PcInstance activeChar)
{
	activeChar.sendMessage("Welcome to L2 WanteD!!!");
	activeChar.sendMessage("Don't forget to vote for us every 12 hours!");
}
}

 

 

So what happends...

 

By editing System.out.println("Welcome to L2 WanteD!!!");

you are editing the message at start up of "startGameServer.bat"

qo9j6b.jpg

 

 

By editing activeChar.sendMessage("Welcome to L2 WanteD!!!");

you are editing the message that a character takes when he is logged in the server!

2a0cach.jpg

 

 

PS: My server L2WanteD (name taken from the movie) is now offline due to problem with the computer...

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