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

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

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock