public static PlayersConnectedMessage createPlayersConnectedMessage(String playerNames) {
        if (playerNames == null) throw new IllegalArgumentException("PlayerName is null");
        return new PlayersConnectedMessage(playerNames);
    }