Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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!!

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.

  • Author

Hold on, sorry it says it cannot be resolved and i apparently cant import it? ServerChatEvent

wtf

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.

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.

  • Author

It says "The import net.minecraftforge.fml.common.event.ServerChatEvent cannot be resolved"! D:

Read my post again.

 

 

 

#jokeWarning

#iAmNotRudePerson

3mLydMU.png

 

 

 

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.

  • Author

Ohh sorry :P, now its saying that The import "net.minecraftforge.event cannot be resolved" when i try to import net.minecraftforge.event.ServerChatEvent

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.