Jump to content

Regardful

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Regardful

  1. l0l u sound exactly like what ur signature says xddd
  2. are you still here?
  3. but a player can also type "lol"... its supposed to respond only if its not a message from a player
  4. ah, but is there a way to prevent the code from running if someone in chat says "l0l" instead of the servr?
  5. @SubscribeEvent public void onMessageRecieved(ClientChatReceivedEvent e) { String raw = e.message.getUnformattedText(); if (raw.contains("l0l")) { if (check if message if from player) { Minecraft.getMinecraft().thePlayer.sendChatMessage("tes"); } } } hey I'm making a mod and I wonder if theres a way to check if a message is from a player
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.