mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 03:05:49 +01:00
Custom outdated messages, tick!
This commit is contained in:
parent
d3d11cf283
commit
d1760dad93
@ -202,10 +202,10 @@ public class InitialHandler extends PacketHandler implements PendingConnection
|
||||
|
||||
if ( handshake.getProcolVersion() > Vanilla.PROTOCOL_VERSION )
|
||||
{
|
||||
disconnect( "Outdated server!" );
|
||||
disconnect( bungee.getTranslation( "outdated_server" ) );
|
||||
} else if ( handshake.getProcolVersion() < Vanilla.PROTOCOL_VERSION )
|
||||
{
|
||||
disconnect( "Outdated client!" );
|
||||
disconnect( bungee.getTranslation( "outdated_client" ) );
|
||||
}
|
||||
|
||||
if ( handshake.getUsername().length() > 16 )
|
||||
|
@ -9,6 +9,8 @@ mojang_fail: Error occurred while contacting login servers, are they down?
|
||||
no_permission: \u00a7cYou do not have permission to execute this command!
|
||||
no_server: \u00a7cThe specified server does not exist
|
||||
no_server_permission: \u00a7cYou don't have permission to access this server
|
||||
outdated_client: Outdated Client!
|
||||
outdated_server: Outdated Server!
|
||||
proxy_full: Server is full
|
||||
restart: [Proxy] Proxy restarting.
|
||||
server_kick: [Kicked]
|
||||
|
Loading…
Reference in New Issue
Block a user