if(msg.getOption("port") != null) port = Integer.parseInt(msg.getOption("port"));
}
@Override
public void init(Object[] requirements) {
this.db = (DB)requirements[1];
ExternalComponentManagerAddin manager = (ExternalComponentManagerAddin)requirements[0];
if(port < 0)
manager.addComponent(LFSComponent.SUBDOMAIN,null,lfsComponent = new LFSComponent(manager,db,this));
else
manager.addComponent(LFSComponent.SUBDOMAIN,null,lfsComponent = new LFSComponent(manager,db,this),port);
Timer timer = new Timer();
timer.schedule(new TimerTask() {
@Override
public void run() {
//System.out.println("Checking online LFS Players");