Skip to content

[Share]Edit Licence at Start Up of your server[L2JFree]

Featured Replies

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

Thanks for guide, i was wondering how to delete that.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.