Posted October 9, 20205 yr Hi, i am trying to make custom join messages when players join the server. I tried using the PlayerLoggedInEvent but there seems to be no way to alter the Joinmessage. When disallowing the event the message still gets sent. So i'm guessing the message is not part of that event. Does someone know a way of changing the join message?
October 9, 20205 yr I was saying use the ClientChatReceivedEvent event, but I have a doubt: if a Player send the same exact message what would happen? How can you tell if the message has been sent from a player or not? Edited October 9, 20205 yr by JimiIT92 misspell Don't blame me if i always ask for your help. I just want to learn to be better
October 9, 20205 yr Author 1 hour ago, diesieben07 said: PlayerLoggedInEvent is not even cancellable... No, it doesn't. I've been using setResult() but it seems that it has no effect in that event. 1 hour ago, diesieben07 said: There is no way to alter the join message server side. For the client you could either just make a resource pack and change the multiplayer.player.joined and multiplayer.player.joined.renamed language keys or catch ClientChatReceivedEvent. Ok thats unfortunate. Is there any chance i could remove the message completely? 1 hour ago, JimiIT92 said: I was saying use the ClientChatReceivedEvent event, but I have a doubt: if a Player send the same exact message what would happen? How can you tell if the message has been sent from a player or not? Yeah, maybe i'll use something like that as a workaround if i don't find any solution. Thank you both for your help
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.