Как узнать пинг в майнкрафте
Перейти к содержимому

Как узнать пинг в майнкрафте

  • автор:

How to check ping in Minecraft? Ping rate FAQs [Fully disclosed]

Like any video online game, Minecraft can work well depending on hardware and network latency (ping).

While hardware is considered consistent, ping can be changed due to the network and server status you’re connecting to.

Let’s learn about how to check ping and find out common FAQs relating to the ping ms to understand more about this rate.

How to check ping in Minecraft?

How to check ping in Minecraft?

Why Ping Test?

Several Minecraft servers react more slowly than others at any given time.

Except for operating your game, which requires setting up Minecraft server hosting, there is nothing you can do to boost up a single server’s response time.

Yet, if you’re only joining in multiplayer and not self-hosting, you may use a ping test.

It can help you get a server that is responding rapidly and connect to that one.

Also, you may check the responsiveness of a Minecraft server using a ping test.

You can compare many servers, choose the one with the least lag, and start playing.

A ping test is vital in Minecraft

A ping test is vital in Minecraft

A ping test involves your computer introducing itself to a server and then timing how long it takes for the server to respond.

Pinging servers in your area may typically yield the best results.

Still, it could be worthwhile to test out a couple of servers a little further away.

There are several approaches.

How to check your ping in Minecraft?

Indeed, you can check the ping in Minecraft in 2 ways.

Using the command prompt and Minecraft client-server.

Command prompt (Cmd command)

Using Cmd command to test ping in Minecraft includes 4 steps as follows:

Step 1: Press the Window + X key to open the windows menu

Step 1

Step 2: Click the “Run” option

Step 2

Step 3: Type “cmd” and hit enter

Step 3

Step 4: When the cmd window opens, you type “ping + IP address”, enter

To check the ping in Minecraft, you need to type “ping Minecraft server”.

For example, “ping pvp.thearchon.net” for the game The Archon 1.8.

Find your gaming server and take the cmd command.

Ping results from cmd

Ping results from cmd

From the pic above, you will see ping results are returned including the number of loss packets, sent/ received packets.

Besides the min, max, and average ping are displayed.

When it may not accurately reflect your latency at any particular time while connected, it is a good indicator of what you may expect.

Just do the same (ping Smite. server) and you will get what you want to know.

How to check ping on Minecraft client?

We have already guided you on how to test ping on PC.

Now let’s take a look at the way to check latency right on the Minecraft client.

Step 1: Navigate to the server list in your Minecraft client (Multiplayer) and add a server to the list

Step 1

Step 2: After adding the server, click «Refresh»

Step 2

Step 3: Move your mouse over the X symbol in the upper right corner

Step 3

If the bars continue to scroll blue, wait a few seconds or click «Refresh» again.

Step 4: While moving, you should see a number, such as «41ms»

Step 4

This is your ping. (Assuming the server is up and running and you’re using the correct version)

Server List Ping

Server List Ping (SLP) is an interface provided by Minecraft servers which supports querying the MOTD, player count, max players and server version via the usual port. SLP is part of the Protocol, so unlike Query, the interface is always enabled. The Notchian client uses this interface to display the multiplayer server list, hence the name. The SLP process changed in 1.7 in a non-backwards compatible way, but current servers still support both the new and old process.

Contents

Current

This uses the regular client-server protocol. For the general packet format, see that article.

Handshake

First, the client sends a Handshake packet with its state set to 1.

Packet ID Field Name Field Type Notes
0x00 Protocol Version VarInt See protocol version numbers. The version that the client plans on using to connect to the server (which is not important for the ping). If the client is pinging to determine what version to use, by convention -1 should be set.
Server Address String hostname or IP, e.g. localhost or 127.0.0.1
Server Port Unsigned Short default is 25565
Next state VarInt should be 1, for status

Request

The client follows up with a Request packet. This packet has no fields.

Packet ID Field Name Field Type Notes
0x00 no fields

Response

The server should respond with a Response packet. Note that Notchian servers will for unknown reasons wait to receive the following Ping packet for 30 seconds before timing out and sending Response.

Packet ID Field Name Field Type Notes
0x00 JSON Response String see below

The JSON Response field is a JSON object which has the following format:

The description field is a Chat object. Note that the Notchian server has no way of providing actual chat component data; instead section sign-based codes are embedded within the text of text of the object.

The favicon field is optional. The sample field must be set, but can be empty.

The favicon should be a PNG image that is Base64 encoded and prepended with data:image/png;base64, .

After receiving the Response packet, the client may send the next packet to help calculate the server’s latency, or if it is only interested in the above information it can disconnect here.

If the client does not receive a properly formatted response, then it will instead attempt a legacy ping.

If the process is continued, the client will now send a Ping packet containing some payload which is not important.

Packet ID Field Name Field Type Notes
0x01 Payload Long May be any number. Notchian clients use a system-dependent time value which is counted in milliseconds.

The server will respond with the Pong packet and then close the connection.

Packet ID Field Name Field Type Notes
0x01 Payload Long Should be the same as sent by the client

Examples

  • C#
  • Java
  • Python
  • Python3
  • PHP

This uses a protocol which is compatible with the client-server protocol as it was before the Netty rewrite. Modern servers recognize this protocol by the starting byte of fe instead of the usual 00 .

Client to server

The client initiates a TCP connection to the server on the standard port. Instead of doing auth and logging in (as detailed in Protocol and Protocol Encryption), it sends the following data, expressed in hexadecimal:

  1. FE — packet identifier for a server list ping
  2. 01 — server list ping’s payload (always 1)
  3. FA — packet identifier for a plugin message
  4. 00 0B — length of following string, in characters, as a short (always 11)
  5. 00 4D 00 43 00 7C 00 50 00 69 00 6E 00 67 00 48 00 6F 00 73 00 74 — the string MC|PingHost encoded as a UTF-16BE string
  6. XX XX — length of the rest of the data, as a short. Compute as 7 + len(hostname) , where len(hostname) is the number of bytes in the UTF-16BE encoded hostname.
  7. XX — protocol version, e.g. 4a for the last version (74)
  8. XX XX — length of following string, in characters, as a short
  9. . — hostname the client is connecting to, encoded as a UTF-16BE string
  10. XX XX XX XX — port the client is connecting to, as an int.

All data types are big-endian.

Example packet dump:

Server to client

The server responds with a 0xFF kick packet. The packet begins with a single byte identifier ff , then a two-byte big endian short giving the length of the following string in characters. You can actually ignore the length because the server closes the connection after the response is sent.

After the first 3 bytes, the packet is a UTF-16BE string. It begins with two characters: §1 , followed by a null character. On the wire these look like 00 a7 00 31 00 00 .

The remainder is null character (that is 00 00 ) delimited fields:

  1. Protocol version (e.g. 74 )
  2. Minecraft server version (e.g. 1.8.7 )
  3. Message of the day (e.g. A Minecraft Server )
  4. Current player count
  5. Max players

The entire packet looks something like this:

Note: When using this protocol with servers on version 1.7.x and above, the protocol version (first field) in the response will always be 127 which is not a real protocol number, so older clients will always consider this server incompatible.

Examples

  • Ruby
  • PHP

1.4 to 1.5

Prior to the Minecraft 1.6, the client to server operation is much simpler, and only sends FE 01 , with none of the following data.

Examples

  • PHP
  • Java
  • C#

Beta 1.8 to 1.3

Prior to Minecraft 1.4, the client only sends FE .

Additionally, the response from the server only contains 3 fields delimited by § :

Как посмотреть пинг в майнкрафте через f3 — Игра Minecraft

Как посмотреть пинг в майнкрафте через f3

Для того, чтобы посмотреть пинг в Minecraft через F3, нужно выполнить следующие шаги:

1. Запустите игру и зайдите на любой сервер.

2. Нажмите клавишу F3 на клавиатуре.

3. На экране появится окно с дополнительной информацией о игре. В этом окне вы сможете увидеть пинг в разделе «Minecraft». Пинг будет отображаться в правом верхнем углу окна и указываться цифрами.

4. Если вы хотите узнать подробную информацию о пинге, вам нужно найти раздел «Debug» в этом же окне. Там вы сможете увидеть не только пинг, но и другую полезную информацию о состоянии сетевых подключений.

5. Для того, чтобы скрыть окно с дополнительной информацией, нажмите клавишу F3 на клавиатуре еще раз.

— Если у вас высокий пинг, то возможно стоит выбрать другой сервер или проверить состояние вашего интернет-подключения.

— Для улучшения пинга можно попробовать уменьшить количество запущенных программ на компьютере во время игры или подключаться к серверу ближе к вашему местоположению.

Как в minecraft узнать свой пинг на сервере

Можно просто пингануть через nmap
nmap айпи -p порт
Например
nmap 46.101.101.0 -p 25565
пишет
Starting Nmap 7.01 ( https://nmap.org ) at 2018-01-05 02:03 +03
Nmap scan report for 46.101.101.0
Host is up (0.034s latency).
PORT STATE SERVICE
25565/tcp open minecraft
Соответственно пинг — 46 мс

p.s. Есть и графическая обёртка для nmap — zenmap (см. скрин)
p.p.s. Хотя.. я не думаю что порт сильно важен при пинге (он возможно вообще и не используется). Можно просто пинговать из системной консоли командой ping айпи

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *