Posted February 27, 20178 yr Hey, I'm creating a serverside mod and I want to change the action bar text (like it was asked here:) But the problem is that I am working serverside only, so I need a method that does that like a server plugin would do it. Is there any way to handle that? (Maybe with packets?) Greetings, blooditor
February 27, 20178 yr Author Thanks for the quick reply... unfortunately I'm not into packets in Forge and I can only find stuff about creating new ones... Can you give me some more hints? Edited February 27, 20178 yr by blooditor
February 27, 20178 yr Author Okay I got it! Thanks a lot for the help! If someone needs: S02PacketChat packet = new S02PacketChat(new ChatComponentText(message), Byte.parseByte("2")); player.playerNetServerHandler.sendPacket(packet);
February 27, 20178 yr Author 11 minutes ago, diesieben07 said: I really hope you are not serious about this. Haha it worked and I was too lazy to remember how to do that normally^^ And yes I knew someone would kill me for that Edited February 27, 20178 yr by blooditor
February 27, 20178 yr Author 2 minutes ago, diesieben07 said: How about just new S02PacketChat(..., 2)? Nah that doesn't work... but with (byte) 2^^
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.