Posted June 3, 201510 yr I need help on detecting a chat message and cancelling it. So, if the player types: "lag", it would cancel it and say: "Do not spam". I need this for my LAN world, i am gonna play with my friends. Plz help! *Note: I have tried this myself, but "ServerChatEvent" doesnt exist!!
June 3, 201510 yr ClientChatReceivedEvent or ServerChatEvent or CommandEvent ...depending on what you need exacly. And yes - they do exist. 1.7.10 is no longer supported by forge, you are on your own.
June 3, 201510 yr Author Hold on, sorry it says it cannot be resolved and i apparently cant import it? ServerChatEvent wtf
June 3, 201510 yr Hmm, I was wondering how the heck you managed to set it up in literally 1 min and 14 sec (not counting writing your post and reloading pages). Anyway - what version are you on? Tho I have no idea when that event was introduced, my bet is that it is not very old one, so if you have ancient MC version, you might be outdated. Other problem (more likely) is your workspace setup - are you sure your workspace is "working"? 1.7.10 is no longer supported by forge, you are on your own.
June 3, 201510 yr net.minecraftforge.event.ServerChatEvent Check this import or import it manually. 1.7.10 is no longer supported by forge, you are on your own.
June 3, 201510 yr Author It says "The import net.minecraftforge.fml.common.event.ServerChatEvent cannot be resolved"! D:
June 3, 201510 yr Read my post again. #jokeWarning #iAmNotRudePerson Hint: net.minecraftforge.fml.common.event.ServerChatEvent != net.minecraftforge.event.ServerChatEvent 1.7.10 is no longer supported by forge, you are on your own.
June 3, 201510 yr Author Ohh sorry , now its saying that The import "net.minecraftforge.event cannot be resolved" when i try to import net.minecraftforge.event.ServerChatEvent
June 3, 201510 yr Then sorry I can't help you. 1. Have you tried turning it off and on again? (Eclipse) 2. Do you have 'forgeSrc-...' in your Referenced Libraries? 3. Resetup your workspace: http://www.minecraftforge.net/forum/index.php/topic,14048.0.html 1.7.10 is no longer supported by forge, you are on your own.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.