Sennen Fernando

make me a mode that don't show joining messages when a player join the minecraft server

Kodari AI
KodariNov 2 at 2:43 pm 2
SilentJoin
A Minecraft Fabric mod for version 1.21.11 that suppresses the default "player joined the game" chat message when a player connects to the server. The mod intercepts the join event and cancels the standard system message, keeping the chat clean and uncluttered. It works seamlessly on both client and server sides, requiring no configuration or commands. The mod is lightweight, with no dependencies beyond Fabric API, and ensures that all other join-related behaviors (such as player spawning and world loading) remain unaffected. Ideal for servers that prefer minimal chat noise or custom welcome systems.
  • Suppress the vanilla join announcement without interrupting player login.

  • Leave disconnect and other server messages unchanged.

Created Quiet Joins for Fabric 1.21.11. Install it on the server to hide vanilla player join messages; leave messages remain unchanged.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
6 106
src/main/java/com/kodari/quietjoins/mixin/PlayerManagerMixin.java
package com.kodari.quietjoins.mixin;

import com.llamalad7.mixinextras.injector.v2.WrapWithCondition;
import net.minecraft.server.PlayerManager;
import net.minecraft.text.Text;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;

@Mixin(PlayerManager.class)
public abstract class PlayerManagerMixin {
    @WrapWithCondition(
            method = "onPlayerConnect",
            at = @At(value = "INVOKE", target = "Lnet/minecraft/server/PlayerManager;broadcast(Lnet/minecraft/text/Text;Z)V")
    )
    private boolean quietjoins$suppressJoinMessage(PlayerManager instance, Text message, boolean overlay) {
        return false;
    }
}