perromercenary00 Posted November 30, 2015 Posted November 30, 2015 guud days i bnn chasing some anoying but only noticiable when runing server maps and find i been using this in the server side if ((accion == 0) & (Minecraft.getMinecraft().currentScreen == null)) { } when playing normal world there is no trouble only when in maps i make this in the server side code of the onupdate method soo to probe it i need to know when the player has open a gui vainilla or moded but from the server side but no have idea of how thanks for reading Quote
jabelar Posted November 30, 2015 Posted November 30, 2015 If you have ability to add mod to the client, then I would use a custom packet. There is a GuiOpenEvent you can handle, check if it is the menu gui (or any other gui you might be interested in) and send a custom packet to the server. Quote Check out my tutorials here: http://jabelarminecraft.blogspot.com/
perromercenary00 Posted December 3, 2015 Author Posted December 3, 2015 yaa i chose to check in client side and send a packege to server to active the left side of the item is like the best bet this way i think i colud cath also the custom guis Quote
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.