How do I implement a custom packet? (Sending text from GUI to server)

Started by Lofty on

Topic category: Advanced modding

Active 2 years ago
Joined Dec 2022
Points:
353

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 18
How do I implement a custom packet? (Sending text from GUI to server)

Hello friends,

I want to send the text from a GUI text field to the server.

This requires a custom packet implementation.

I tried following the steps in this thread over here but the instructions seem to be outdated and do not work with latest MCreator.

Can anyone show me a basic example of a custom packet implementation that works with MCreator 2022.3?

Active 1 day ago
Joined Mar 2023
Points:
495

User statistics:

  • Modifications: 0
  • Forum topics: 38
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 82
I need this too so I can use…
Thu, 03/30/2023 - 08:26

I need this too so I can use my mods on my server 

Active 1 week ago
Joined Feb 2018
Points:
2001

User statistics:

  • Modifications: 1
  • Forum topics: 166
  • Wiki pages: 0
  • MCreator plugins: 3
  • Comments: 766
There is a Plugin that tries…
Wed, 04/19/2023 - 07:24

There is a Plugin that tries to implement that. It's currently in Development these Procedures.