Posted October 12, 20178 yr Hey, So I know of the way to send a message to the current event player, but I'm not so sure how to send it to all players. For one player: EntityPlayer::addChatMessage(new TextComponentString(msg)); For all players?: Solved. Thanks! Edited October 14, 20178 yr by Differentiation
October 12, 20178 yr Author 3 hours ago, diesieben07 said: PlayerList::sendMessage What would be the getter? PlayerList players = ?; Edited October 12, 20178 yr by Differentiation
October 12, 20178 yr Author 40 minutes ago, diesieben07 said: MinecraftServer::getPlayerList Seriously, use your IDE. So I would get MinecraftServer via FMLCommonHandler, got it. Thanks!
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.