Adding a first joined message + removing 1.12 recommedation
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
9ca9fcf38f
Commit
5de365d485
@ -86,10 +86,6 @@ public class ConnectionListener extends BasicListener {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(player.getPendingConnection().getVersion() < 335 || player.getPendingConnection().getVersion() > 340){
|
||||
player.sendMessage(BungeeCore.CHAT_PREFIX + "§cWir empfehlen die Minecraft-Version 1.12.2");
|
||||
}
|
||||
}
|
||||
|
||||
/** To redirect players to the lobby in case of server closure. */
|
||||
|
@ -62,6 +62,7 @@ public class SteamwarUser {
|
||||
user = dbInit(SQL.select("SELECT * FROM UserData WHERE UUID = ?", connection.getUniqueId().toString()));
|
||||
if(user == null)
|
||||
throw new SecurityException("user == null");
|
||||
BungeeCore.broadcast(BungeeCore.CHAT_PREFIX + "§7Begrüßt alle mal §e" + connection.getName() + " §7auf dem Server§8!");
|
||||
}
|
||||
|
||||
return user;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren