@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        PlayersConnectedMessage that = (PlayersConnectedMessage) o;

        return Arrays.equals(playerName, that.playerName);

    }