createCharacter(entry.username, character, template, clientid, address, channel,
protocolVersion, true);
} else {
MessageP2SCreateCharacter msg = (MessageP2SCreateCharacter) message;
RPObject template = msg.getTemplate();
String character = msg.getCharacter();
String address = msg.getForwardedFor();
if ((msg.getCredentials() != null)
&& (msg.getCredentials().equals(Configuration.getConfiguration().get(
"proxy_credentials")))) {
createCharacter(msg.getUsername(), character, template, clientid, address,
channel, protocolVersion, false);
} else {
logger.warn("Invalid credentials for proxy method.");
}
}