#need a disable chat mod

1 messages · Page 1 of 1 (latest)

agile kiln
#

i really need a mod that disables the chat server wide on fabric 1.20.1
i am making a horror modpack for my friends with the backrooms mod. so it is kind of crucial that they cant communicate, also the mod has a message when you join the world that gives the whole thing away
pls

flat plover
untold mesa
# agile kiln i really need a mod that disables the chat server wide on fabric 1.20.1 i am mak...

i can make one rq but if you want to you can do it for yourself, heres a tutorial

  1. download intellij idea
  2. install the minecraft development extension
  3. make a new project with the type Minecraft > Mod with modloader fabric with your mc version selected
  4. (click create)
  5. wait until it sets up
  6. when it sets up, create a new folder called mixins in your src/main/java/... folder
  7. in that folder, right click on it and click create > class and then type ChatHudMixin (and press enter)
  8. hover over the name after the class keyword and click the text like Add to mixins configuration
  9. in that mixin, make all the code below the first line this:
@Mixin(net.minecraft.client.gui.hud.ChatHud)
public class ChatHudMixin {
  @Inject(at = @At(value = "HEAD", target = "render"), method = "render", cancellable = true)
  private void render(final net.minecraft.client.gui.hud.Backend drawwer, int wh, int ct, boolean expanded, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) {
    ci.cancel();
  }
}
#
  1. click here
#
  1. then here
#
  1. and type this
#
  1. then click OK and click the run button here, and the jar should be created for you in the build/libs folder
agile kiln
#

that you both, ill try both these tomorrow pet_geo

agile kiln
#

i am so lost its insane

#

@untold mesa sorry to ping but pls help

agile kiln
#

nvm

trim helm
#

You also needed to import the mixin classes

#

If something doesn't work then maybe you used the incorrect mapping or a version that doesn't have the class names I used (that was too different)

honest drum
#

i dont think he wants a client side mod

#

i think he wants it on the server

agile kiln
#

yeah, so that the chat is just fully disabled if possible.

untold mesa
#

then we can use packets