From cbdeb1e4bf6220465c184b541f333380ae825068 Mon Sep 17 00:00:00 2001 From: Aizistral Date: Fri, 22 Jul 2022 15:41:42 +0200 Subject: Build 1.19.1-rc2-v1.6.0 coming right up --- build.gradle | 2 +- docs/README.md | 2 +- docs/changelog.html | 10 ++++++++++ gradle.properties | 2 +- .../java/com/aizistral/nochatreports/core/NoReportsConfig.java | 7 ++++--- .../com/aizistral/nochatreports/debug/NoChatReportsDebug.java | 2 +- 6 files changed, 18 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index bf81afc..9ccf11e 100644 --- a/build.gradle +++ b/build.gradle @@ -94,7 +94,7 @@ modrinth { versionType = "release" changelog = rootProject.file("docs/changelog.html").text uploadFile = remapJar - gameVersions = ["1.19.1-pre3"] + gameVersions = ["1.19.1-rc2"] loaders = ['fabric', 'quilt'] dependencies { diff --git a/docs/README.md b/docs/README.md index 00c30a1..bc03615 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,6 +1,6 @@ # No Chat Reports -**Current Version:** 1.19.1-pre3-v1.5.0 +**Current Version:** 1.19.1-rc2-v1.6.0 **Minecraft Version:** 1.19.x diff --git a/docs/changelog.html b/docs/changelog.html index 867f722..3a6328a 100644 --- a/docs/changelog.html +++ b/docs/changelog.html @@ -1,5 +1,15 @@

The Changelog:


+
[Release 1.19.1-rc2-v1.6.0]:
+

+ - The mod now removes "[Not Secure]" prefix for unsigned messages in server chat log (#70);
+ - The "suppressMessageTrustIndicators" config option was renamed to "suppressVanillaSecurityNotices", and now is also responsible for removing "Chat messages can't be verified" toast client-side (#87);
+ - Abovementioned toast will never be shown on servers that have "convertToGameMessage" option enabled;
+ - The mod now prevents client from disconnecting when chat chain is broken;
+ - Changed default configuration to demand the mod client-side when installed on server, instead of getting around chat signing with player to system message conversion. Should assist compatibility in the long run.
+



+ +

[Release 1.19.1-pre3-v1.5.0]:

 - Added "versionEasterEgg", "disableTelemetry" and "showReloadButton" config options (thanks Madis0, #83).
diff --git a/gradle.properties b/gradle.properties index 7fc18e5..31c8cbb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,7 +9,7 @@ yarn_mappings=1.19.1-rc2+build.1 loader_version=0.14.8 # Mod Properties -mod_version=1.19.1-pre3-v1.5.0 +mod_version=1.19.1-rc2-v1.6.0 maven_group=com.aizistral.nochatreports archives_base_name=NoChatReports-FABRIC diff --git a/src/main/java/com/aizistral/nochatreports/core/NoReportsConfig.java b/src/main/java/com/aizistral/nochatreports/core/NoReportsConfig.java index 4e0df95..3aaad30 100644 --- a/src/main/java/com/aizistral/nochatreports/core/NoReportsConfig.java +++ b/src/main/java/com/aizistral/nochatreports/core/NoReportsConfig.java @@ -39,9 +39,10 @@ public class NoReportsConfig { private static final Path CONFIG_FILE = FabricLoader.getInstance().getConfigDir().resolve("NoChatReports.json"); private static final Gson GSON = new GsonBuilder().setPrettyPrinting().create(); private static NoReportsConfig INSTANCE; - private boolean demandOnClient, demandOnServer, enableDebugLog, convertToGameMessage = true, - showServerSafety = true, suppressVanillaSecurityNotices = true, alwaysHideReportButton = false, - versionEasterEgg = true, disableTelemetry = true, showReloadButton = true; + private boolean demandOnClient = true, demandOnServer = false, enableDebugLog = false, + convertToGameMessage = false, showServerSafety = true, suppressVanillaSecurityNotices = true, + alwaysHideReportButton = false, versionEasterEgg = true, disableTelemetry = true, + showReloadButton = true; private List whitelistedServers; private static NoReportsConfig getInstance() { diff --git a/src/test/java/com/aizistral/nochatreports/debug/NoChatReportsDebug.java b/src/test/java/com/aizistral/nochatreports/debug/NoChatReportsDebug.java index ae149c4..3f1b9ed 100644 --- a/src/test/java/com/aizistral/nochatreports/debug/NoChatReportsDebug.java +++ b/src/test/java/com/aizistral/nochatreports/debug/NoChatReportsDebug.java @@ -39,7 +39,7 @@ public class NoChatReportsDebug implements ModInitializer { private void onPlayReady(ServerGamePacketListenerImpl handler, PacketSender sender, MinecraftServer server) { server.execute(() -> { - UnrealPlayer player = new UnrealPlayer(UUID.randomUUID(), "Notch"); + UnrealPlayer player = new UnrealPlayer(UUID.fromString("069a79f4-44e9-4726-a5be-fca90e38aaf5"), "Notch"); player.join(server, handler); player.sendMessage(server, handler, "This message is so real and legit", null); -- cgit v1.2.3