XeliteXirish Posted September 22, 2015 Posted September 22, 2015 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) Quote View my website at -> http://www.xelitexirish.com/ You can nearly always contact me on my twitter (XeliteXirish)
XeliteXirish Posted September 22, 2015 Author Posted September 22, 2015 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. Quote View my website at -> http://www.xelitexirish.com/ You can nearly always contact me on my twitter (XeliteXirish)
delpi Posted September 22, 2015 Posted September 22, 2015 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. Quote Long time Bukkit & Forge Programmer Happy to try and help
delpi Posted September 22, 2015 Posted September 22, 2015 That sounds right for what I'm remembering. There is no reason he can't intercept the incoming and do what he is describing. Quote Long time Bukkit & Forge Programmer Happy to try and help
XeliteXirish Posted September 24, 2015 Author Posted September 24, 2015 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. Quote View my website at -> http://www.xelitexirish.com/ You can nearly always contact me on my twitter (XeliteXirish)
Recommended Posts
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.