Identify
From ScapeFX Wiki
The telnet negotiator used in ScapeFX will identify the client through the TELOPT_TTYPE as:
SERVER: IAC DO TELOPT_TTYPE CLIENT: IAC WILL TELOPT_TTYPE SERVER: IAC SB TELOPT_TTYPE SEND IAC SE CLIENT: IAC SB TELOPT_TTYPE IS ScapeFX IAC SE
If you do not wish to use the telnet protocol to identify the client you can write your own plugins for it. You can for example use the ScapeFXPlugin_NetworkConnect to immediately send something from the client when it has made a connection to the game server.
Example:
public class MyConnect extends ScapeFXPlugin_NetworkConnect{
@Override
public void performAfterConnect() {
this.getNetwork().send("Hello!");
}
@Override
public String getPluginInfo() {
return "Plugin for sending something after connection is established.";
}
@Override
public String getPluginName() {
return "MyConnect";
}
}
