Player#create
public static Player create(int objectId, PlayerTemplate template, String accountName, String name, byte hairStyle, byte hairColor, byte face, Sex sex)
{
// Create a new Player with an account name
Appearance app = new Appearance(face, hairColor, hairStyle, sex);
Player player = new Player(objectId, template, accountName, app);
// Set the name of the Player
player.setName(name);
// Set access level
player.setAccessLevel(Config.DEFAULT_ACCESS_LEVEL);
// Cache few informations into CharNameTable.
PlayerInfoTable.getInstance().addPlayer(objectId, accountName, name, player.getAccessLevel().getLevel());
// Set the base class ID to that of the actual class ID.
player.setBaseClass(player.getClassId());
+ player.getStat().setLevel((byte) 80);