You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* NEW: the tooltip messages changed if the taret is not the sender.
* BUG: fixed Pong catchphrase not displayed if the user enters the /ping:ping command.
* NEW: the chat separators are only displayed for players.
@@ -186,10 +187,13 @@ else if (label.equalsIgnoreCase("ping"))
186
187
.then(I.t("Latency: "))
187
188
.color(ChatColor.GOLD)
188
189
.hover(
189
-
newItemStackBuilder(Material.DIAMOND)
190
+
newItemStackBuilder(Material.POTATO_ITEM)
190
191
.title(ChatColor.BOLD + I.t("Latency"))
191
-
.longLore(ChatColor.RESET, I.t("The time needed to transfer data from you to the server."), 38)
192
+
.longLore(ChatColor.RESET, isSelf
193
+
? I.t("The time needed to transfer data from you to the server.")
194
+
: I.t("The time needed to transfer data from {0} to the server.", target.getName()), 38)
192
195
.loreLine(ChatColor.GREEN, I.t("The lower the better."))
196
+
.hideAttributes()
193
197
.item()
194
198
)
195
199
@@ -202,20 +206,22 @@ else if (label.equalsIgnoreCase("ping"))
202
206
.then(I.t("Server load: "))
203
207
.color(ChatColor.GOLD)
204
208
.hover(
205
-
newItemStackBuilder(Material.DIAMOND)
209
+
newItemStackBuilder(Material.POTATO_ITEM)
206
210
.title(ChatColor.BOLD + I.t("Ticks per second"))
207
211
.longLore(ChatColor.RESET, I.t("The number of cycles the server executes per second. The best is 20; under 15, the server is experiencing difficulties."), 38)
208
212
.longLore(ChatColor.GRAY, I.t("The three values are the average number of TPS during the last 1, 5 and 15 minutes."), 38)
209
213
.loreLine(ChatColor.GREEN, I.t("The closest to 20 the better."))
210
-
.item()
214
+
.hideAttributes()
215
+
.item()
211
216
)
212
217
213
218
.then(tps != null ? formatTPS(tps) : I.t("{gray}(unable to retrieve server load)"))
0 commit comments