diff --git a/gradle.properties b/gradle.properties index 58492e5..755ca3d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,7 +9,7 @@ yarn_mappings=1.20.1+build.10 loader_version=0.16.5 # Mod Properties -mod_version=1.10.0 +mod_version=1.10.1 maven_group=cc.reconnected archives_base_name=rcc-server diff --git a/src/main/java/cc/reconnected/server/RccServer.java b/src/main/java/cc/reconnected/server/RccServer.java index 5f0a1ad..5b27435 100644 --- a/src/main/java/cc/reconnected/server/RccServer.java +++ b/src/main/java/cc/reconnected/server/RccServer.java @@ -141,7 +141,9 @@ public class RccServer implements ModInitializer { var displayName = JSONComponentSerializer.json().deserialize(displayNameJson); var message = MiniMessage.miniMessage().deserialize(CONFIG.afkMessage(), - Placeholder.component("name", displayName) + Placeholder.component("displayname", displayName), + Placeholder.unparsed("username", player.getGameProfile().getName()), + Placeholder.unparsed("uuid", player.getUuid().toString()) ); broadcastMessage(server, message);