SoggyMustache Posted January 21, 2016 Share Posted January 21, 2016 I want to make a message appear each time you log into the world but have no clue how to do that can someone tell me what to do. BTW im modding Minecraft 1.7.10 Quote Link to comment Share on other sites More sharing options...
Choonster Posted January 21, 2016 Share Posted January 21, 2016 PlayerEvent.PlayerLoggedInEvent is fired on the server side when a player logs in. You can send a chat message to an ICommandSender (which EntityPlayer implements) using ICommandSender#addChatMessage . Quote Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future. Link to comment Share on other sites More sharing options...
SoggyMustache Posted January 21, 2016 Author Share Posted January 21, 2016 That is my problem I dont know where the player event code would be put Quote Link to comment Share on other sites More sharing options...
Choonster Posted January 21, 2016 Share Posted January 21, 2016 coolAlias has a tutorial on event handlers here. Jabelar has one here. Quote Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future. Link to comment Share on other sites More sharing options...
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.