diff --git a/proxy/src/main/java/net/md_5/bungee/UserConnection.java b/proxy/src/main/java/net/md_5/bungee/UserConnection.java index c4427bdf..584feab2 100644 --- a/proxy/src/main/java/net/md_5/bungee/UserConnection.java +++ b/proxy/src/main/java/net/md_5/bungee/UserConnection.java @@ -182,7 +182,7 @@ public final class UserConnection implements ProxiedPlayer } if ( pendingConnects.contains( target ) ) { - sendMessage( ChatColor.RED + "Already connecting to this server!" ); + sendMessage( bungee.getTranslation( "already_connecting" ) ); return; } diff --git a/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java b/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java index c45555db..d9967f23 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java @@ -50,7 +50,7 @@ public class DownstreamBridge extends PacketHandler { server.setObsolete( true ); con.connectNow( def ); - con.sendMessage( ChatColor.RED + "The server you were previously on went down, you have been connected to the lobby" ); + con.sendMessage( bungee.getTranslation( "server_went_down" ) ); } else { con.disconnect( Util.exception( t ) ); diff --git a/proxy/src/main/resources/messages_en.properties b/proxy/src/main/resources/messages_en.properties index 95500358..3891dfc9 100644 --- a/proxy/src/main/resources/messages_en.properties +++ b/proxy/src/main/resources/messages_en.properties @@ -1,5 +1,6 @@ alert: \u00a78[\u00a74Alert\u00a78]\u00a7r already_connected: You are already connected to the server +already_connecting: \u00a7cAlready connecting to this server! connect_kick: \u00a7cKicked whilst connecting to current_server: \u00a76You are currently connected to fallback_kick: \u00a7cCould not connect to default server, please try again later: @@ -15,4 +16,5 @@ proxy_full: Server is full restart: [Proxy] Proxy restarting. server_kick: [Kicked] server_list: \u00a76You may connect to the following servers at this time: +server_went_down: \u00a7cThe server you were previously on went down, you have been connected to the lobby total_players: Total players online: