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 want to be able to take a server message and change what it looks like for ONE player to see.  I have an instance of the player i want it to see.

I'm completely confused on how to do it haha :)

Thanks,

~XeliteXirish (Shaun O'Neill)

View my website at -> http://www.xelitexirish.com/

You can nearly always contact me on my twitter (XeliteXirish)

  • Author

I need to modify the incoming chat for a player when their name is in that message.  I already can check for their name and get their player instance.  Its just changing the chat they see.

View my website at -> http://www.xelitexirish.com/

You can nearly always contact me on my twitter (XeliteXirish)

Diesienben07,

I don't remember the server event exactly, but I know i'm intercepting all chat messages and changing them on the server.  I then send the message to each player with the added details.

 

It sounds like what he wants to do is just that.  Only, he needs to only change it for that one player.

 

If that doesn't strike a cord to you on what he needs to do, I'll look it up tonight.

Long time Bukkit & Forge Programmer

Happy to try and help

That sounds right for what I'm remembering.

 

There is no reason he can't intercept the incoming and do what he is describing.

Long time Bukkit & Forge Programmer

Happy to try and help

  • Author

I've done a little research, could you use the ClientRecievedChat to change the chat? By the looks of it I think that it might.

I don't think there is a way to send a server message to everyone but a specific player and send them another message, without changing too much.

View my website at -> http://www.xelitexirish.com/

You can nearly always contact me on my twitter (XeliteXirish)

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.