how to make Start gui

Started by yuan on

Topic category: Help with modding (Java Edition)

Last seen on 06:28, 17. Mar 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to make Start gui

I'm making a mod and I need your help

Last seen on 22:05, 29. May 2024
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you want it to pop up…
Tue, 03/19/2024 - 12:15

If you want it to pop up every time someone joins then make a GUI and then make a proecedure with the global trigger: "Player joins the world" and put the procedure block "Open GUI" under it and it will open everytime that player joins the world.

If you only want it to pop up once you can make a boolean variable like "openedGUI" which is set to false by default and then insert an if statement in the procedure I mentioned above which checks if it is false and then opens the menu and sets it to true meaning it cannot be opened again.