From dffdc3b65f3643192cb08cbfa3d05067ebcd9f30 Mon Sep 17 00:00:00 2001 From: Aizistral Date: Sat, 27 Aug 2022 20:53:50 +0200 Subject: Implement safe server icon --- src/main/resources/assets/nochatreports/lang/en_us.json | 1 + .../assets/nochatreports/textures/gui/verified_server.png | Bin 0 -> 237 bytes src/main/resources/nochatreports.mixins.json | 3 ++- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/assets/nochatreports/textures/gui/verified_server.png (limited to 'src/main/resources') diff --git a/src/main/resources/assets/nochatreports/lang/en_us.json b/src/main/resources/assets/nochatreports/lang/en_us.json index 2dac977..195e4ed 100644 --- a/src/main/resources/assets/nochatreports/lang/en_us.json +++ b/src/main/resources/assets/nochatreports/lang/en_us.json @@ -12,6 +12,7 @@ "gui.nochatreports.unsafe_server.contents": "This server requires all chat messages to be signed, which means they can be reported to Mojang, which may result in a ban from all multiplayer servers. This likely means that the server owner kept \"enforce-secure-profile\" enabled in the server.properties, which is the default since 1.19.1. You can choose to play anyway, but No Chat Reports will not be able to protect you.", "gui.nochatreports.unsafe_server.check": "Do not show again for this server", "gui.nochatrepords.reload_config_tooltip": "Reload No Chat Reports config. Use carefully.", + "gui.nochatreports.verified_server": "§a§lSafe Server§r\nWe could verify that this server has No Chat Reports installed, or prevents chat reports in some other known way. You can chat there safely.", "configuration.NoChatReports.config": "No Chat Reports", "configuration.NoChatReports.category.visual": "Visual", diff --git a/src/main/resources/assets/nochatreports/textures/gui/verified_server.png b/src/main/resources/assets/nochatreports/textures/gui/verified_server.png new file mode 100644 index 0000000..b8dcf7a Binary files /dev/null and b/src/main/resources/assets/nochatreports/textures/gui/verified_server.png differ diff --git a/src/main/resources/nochatreports.mixins.json b/src/main/resources/nochatreports.mixins.json index c4f4fd0..113959c 100644 --- a/src/main/resources/nochatreports.mixins.json +++ b/src/main/resources/nochatreports.mixins.json @@ -29,7 +29,8 @@ "client.MixinToastComponent", "client.MixinRealmsConnect", "client.MixinServerData", - "client.MixinServerStatusPinger$1" + "client.MixinServerStatusPinger$1", + "client.MixinOnlineServerEntry" ], "server": [ "server.MixinDedicatedServer" -- cgit v1.2.3