Posted May 11, 20169 yr Hi, i've been trying to find the server side equivalent of this line of code, but cant seem to get anything to work. A dual compatible line would be preferable but server only would work too Code - Minecraft.getMinecraft().thePlayer
May 11, 20169 yr Author It happens when the player clicks a gui button on a mod on their end of the mod.
May 12, 20169 yr and then perform the action on the player that sent the packet. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
May 12, 20169 yr And if you're wanting to know how to get the player you're looking for, you can use MinecraftServer.getServer().getConfigurationManager().getPlayerByUsername(Username) or getPlayerByUUID(UUID) - Just because things are the way they are doesn't mean they can't be the way you want them to be. Unless they're aspen trees. You can tell they're aspens 'cause the way they are.
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.