How to set a GUI text label to players name

Started by derpy588 on

Topic category: Help with modding (Java Edition)

Last seen on 20:20, 15. Jun 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to set a GUI text label to players name

Hello,

I am new to MCreator, but I am creating a GUI and made a text label and I want to set the label to the players name. How can I do that. Thank you!

 

Use a global variable with a…
Tue, 06/08/2021 - 11:44

Use a global variable with a player scope and then, set this variable to the player’s name when the action you want is executed.

Last seen on 20:20, 15. Jun 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay thank you. It worked.
Tue, 06/08/2021 - 19:14

Okay thank you. It worked.