public ChannelServerConnection(Socket socket, ChannelServer server, Lobby _lobby, SQLDatabase _sql)
    {
        this.socket = socket;
        this.server = server;
        this.sql = _sql;
        item = new ItemClass(sql);
        this.ip = Main.getip(socket);
        this.lobby = _lobby;
        debug("" + socket.getLocalSocketAddress());
    }