Skip to content
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
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ subprojects {
plugins.apply("java-library")

group = "ru.bk.oharass.freedomchat"
version = "1.7.4"
version = "1.7.5"
description = "Liberate your server from the chat-reporting bourgeoisie! Disable chat signing server-side."

tasks {
Expand Down
10 changes: 5 additions & 5 deletions fabric/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id("dev.architectury.loom") version "1.10-SNAPSHOT"
id("com.gradleup.shadow") version "8.3.6"
id("com.gradleup.shadow") version "8.3.7"
}

val shade: Configuration by configurations.creating
Expand All @@ -13,11 +13,11 @@ repositories {
}

dependencies {
minecraft(group = "com.mojang", name = "minecraft", version = "1.21.6")
mappings(group = "net.fabricmc", name = "yarn", version = "1.21.6+build.1", classifier = "v2")
minecraft(group = "com.mojang", name = "minecraft", version = "1.21.7")
mappings(group = "net.fabricmc", name = "yarn", version = "1.21.7+build.1", classifier = "v2")
modImplementation(group = "net.fabricmc", name = "fabric-loader", version = "0.16.14")
modImplementation(group = "net.fabricmc.fabric-api", name = "fabric-api", version = "0.127.1+1.21.6")
shade(implementation(group = "org.spongepowered", name = "configurate-yaml", version = "4.1.2"))
modImplementation(group = "net.fabricmc.fabric-api", name = "fabric-api", version = "0.128.1+1.21.7")
shade(implementation(group = "org.spongepowered", name = "configurate-yaml", version = "4.2.0"))
}

tasks {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public class FreedomChat implements ModInitializer {
public void onInitialize() {
ServerLifecycleEvents.SERVER_STARTED.register(server -> {
this.server = server;
if (!Boolean.getBoolean("im.evan.freedomchat.bypassprotocolcheck") && SharedConstants.getProtocolVersion() != 771) {
logger.warn("This version of FreedomChat only supports protocol version 771 (1.21.6). Please use the appropriate version of FreedomChat for your server");
if (!Boolean.getBoolean("im.evan.freedomchat.bypassprotocolcheck") && SharedConstants.getProtocolVersion() != 772) {
logger.warn("This version of FreedomChat only supports protocol version 772 (1.21.7). Please use the appropriate version of FreedomChat for your server");
logger.warn("If you know what you are doing, set the im.evan.freedomchat.bypassprotocolcheck system property to true to bypass this check");
return;
}
Expand Down
2 changes: 1 addition & 1 deletion fabric/src/main/resources/freedomchat.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"required": true,
"minVersion": "0.8",
"package": "ru.bk.oharass.freedomchat.mixins",
"compatibilityLevel": "JAVA_17",
"compatibilityLevel": "JAVA_21",
"mixins": [
"ClientConnectionMixin",
"PlayerManagerMixin",
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=845952a9d6afa783db70bb3b0effaae45ae5542ca2bb7929619e8af49cb634cf
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.1-bin.zip
distributionSha256Sum=7197a12f450794931532469d4ff21a59ea2c1cd59a3ec3f89c035c3c420a6999
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
4 changes: 2 additions & 2 deletions paper/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ plugins {
paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArtifactConfiguration.MOJANG_PRODUCTION

dependencies {
paperweight.paperDevBundle("1.21.6-R0.1-SNAPSHOT")
paperweight.paperDevBundle("1.21.7-R0.1-SNAPSHOT")
}

tasks {
runServer {
minecraftVersion("1.21.6")
minecraftVersion("1.21.7")
}

processResources {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public class FreedomChat extends JavaPlugin implements Listener {

@Override
public void onEnable() {
if (!Boolean.getBoolean("im.evan.freedomchat.bypassprotocolcheck") && this.getServer().getUnsafe().getProtocolVersion() != 771) {
getLogger().warning("This version of FreedomChat only supports protocol version 771 (1.21.6). Please use the appropriate version of FreedomChat for your server");
if (!Boolean.getBoolean("im.evan.freedomchat.bypassprotocolcheck") && this.getServer().getUnsafe().getProtocolVersion() != 772) {
getLogger().warning("This version of FreedomChat only supports protocol version 772 (1.21.7). Please use the appropriate version of FreedomChat for your server");
getLogger().warning("If you know what you are doing, set the im.evan.freedomchat.bypassprotocolcheck system property to true to bypass this check");
this.getServer().getPluginManager().disablePlugin(this);
return;
Expand Down