Skip to content
This repository was archived by the owner on Apr 30, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package world.arainu.core.metaverseplugin.gui;

import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.TextComponent;
import net.kyori.adventure.text.format.TextDecoration;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void onPlayerLogin(PlayerLoginEvent e) {
.setDescription("自動BANまで残り" + (10 * (kickcount / 10 + 1) - kickcount) + "回")
.addField("プレイヤー名", "`"+name+"`", false)
.addField("UUID", String.valueOf(uuid), false)
.setThumbnail("https://crafatar.com/avatars/" + uuid)
.setThumbnail("https://crafatar.com/avatars/" + uuid + ".png")
.setFooter("接続元サーバー:" + ServerStore.getServerDisplayName())
.setColor(Color.ORANGE)
.build()
Expand All @@ -59,7 +59,7 @@ public void onPlayerLogin(PlayerLoginEvent e) {
.setTitle("アクセス試行回数がしきい値を超えたので一時的にBANしました")
.setDescription("BAN時間:" + kickcount + "分")
.setFooter("接続元サーバー:" + ServerStore.getServerDisplayName())
.setAuthor(name, null, "https://crafatar.com/avatars/" + uuid)
.setAuthor(name, null, "https://crafatar.com/avatars/" + uuid + ".png")
.setColor(Color.RED)
.build()
).queue();
Expand All @@ -81,7 +81,7 @@ public void onAsyncPlayerPreLogin(AsyncPlayerPreLoginEvent e) {
.setTitle("すでにBANされているプレイヤーがログインしようとしました")
.addField("プレイヤー名", "`"+name+"`", false)
.addField("UUID", String.valueOf(uuid), false)
.setThumbnail("https://crafatar.com/avatars/" +uuid)
.setThumbnail("https://crafatar.com/avatars/" + uuid + ".png")
.setFooter("接続元サーバー:" + ServerStore.getServerDisplayName())
.setColor(Color.YELLOW)
.build()
Expand Down