Dieser Commit ist enthalten in:
Ursprung
300a2ef502
Commit
86530eacf5
@ -591,10 +591,8 @@ public class TeamCommand extends BasicCommand {
|
||||
return info;
|
||||
});
|
||||
((UserConnection) player).connect(serverInfo, (success, error) -> {
|
||||
if (error instanceof ConnectTimeoutException) {
|
||||
Message.send("TEAM_TIMEOUT", player);
|
||||
} else if (error != null) {
|
||||
Message.send("TEAM_UNKNOWN", player);
|
||||
if (error != null) {
|
||||
Message.send("TEAM_OFFLINE", player);
|
||||
}
|
||||
}, false, ServerConnectEvent.Reason.PLUGIN, BungeeCord.getInstance().getConfig().getServerConnectTimeout(), false);
|
||||
}
|
||||
|
@ -478,8 +478,7 @@ TEAM_SERVER_SET=§7You changed the team server address§8!
|
||||
TEAM_SERVER_PORT_INVALID=§cInvalid port number.
|
||||
TEAM_SERVER_ADDRESS_INVALID=§cInvalid address.
|
||||
TEAM_NO_ADDRESS=§cNo team server address set.
|
||||
TEAM_TIMEOUT=§cTeam server may be offline.
|
||||
TEAM_UNKNOWN=§cAn unexpected error occurred while connecting to the team server.
|
||||
TEAM_OFFLINE=§cTeam server may be offline.
|
||||
TEAM_TP_NO_TEAM=§cUnknown team.
|
||||
|
||||
#TpCommand
|
||||
|
@ -457,7 +457,7 @@ TEAM_SERVER_SET=§7Du hast die Teamserveradresse geändert§8!
|
||||
TEAM_SERVER_PORT_INVALID=§cUnmögliche Portnummer.
|
||||
TEAM_SERVER_ADDRESS_INVALID=§cUngültige Adresse.
|
||||
TEAM_NO_ADDRESS=§cTeamserveradresse nicht gesetzt.
|
||||
TEAM_TIMEOUT=§cTeamserver scheint offline zu sein.
|
||||
TEAM_OFFLINE=§cTeamserver scheint offline zu sein.
|
||||
TEAM_UNKNOWN=§cEin unwerwarteter Fehler ist aufgetreten beim verbinden zum Teamserver.
|
||||
TEAM_TP_NO_TEAM=§cUnbekanntes Team.
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren