Jump to content

[1.10.2] GUI with item reward / Forge Neworking / Packet System


MSandro

Recommended Posts

Hi, I am new in this forum.

I am working on a GUI with some buttons.

When a player click on a button, I want to give the player some items.

But how can I use the forge Packet System to do this??
I do not understand this.


Thank you.

Edited by MSandro
Link to comment
Share on other sites

7 minutes ago, diesieben07 said:

Guis are entirely client-side. You will have to send a packet to the server, validate that they are allowed to get the item (check for spamming, hacked clients can send this packet non stop if they want to!) and if so, give them the item.

Thank you.

 

Yes, I have already read something about networking and packets, but I do not really understand it.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.