How do I make a Gui that opens when a player loads into the world the first time

Started by Enderdragonspy on Wed, 10/28/2020 - 11:17

Topic category: Help with modding (Java Edition)

Last seen on 15:59, 21. Nov 2020
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make a Gui that opens when a player loads into the world the first time
Wed, 10/28/2020 - 11:17

So I am making  a mod and want to make a Gui that opens when a player joins the world for the first time only I figured out how to add a Gui that opens upon entry to a world but not how to on the first time How could i do this?

Last seen on 03:21, 25. Nov 2020
Joined May 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Try creating a global…
Wed, 10/28/2020 - 15:04

Try creating a global variable that is set to 1 the first time the player joins the world and then the GUI only opens if the variable is 0. Obviously you'll need to make sure the GUI opens before the variable is changed, or else the GUI would never open. Then make it not open if the variable is 1.

Last seen on 08:49, 4. Dec 2020
Joined Sep 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Logic PLAYER_PERSISTENT…
Wed, 10/28/2020 - 15:33

Logic PLAYER_PERSISTENT variable would be enough.

Last seen on 15:59, 21. Nov 2020
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
If I may ask where could I…
Wed, 10/28/2020 - 16:43

If I may ask where could I find logic PLAYER_PERSISTENT?

Last seen on 15:40, 4. Dec 2020
Joined May 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
In the global variables…
Wed, 10/28/2020 - 16:46

In the global variables section

Last seen on 18:09, 3. Dec 2020
Joined Jun 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Use global trigger "on world…
Wed, 10/28/2020 - 18:07

Use global trigger "on world loaded" - open gui. then you could use a variable to make it so the menu only opens once.

Last seen on 08:49, 4. Dec 2020
Joined Sep 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
where could I find logic…
Fri, 10/30/2020 - 05:09

where could I find logic PLAYER_PERSISTENT?

Man, just update your MCreator to 2020.4 or 2020.5.

Last seen on 15:59, 21. Nov 2020
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
ye im doing that now lol I…
Mon, 11/02/2020 - 19:18

ye im doing that now lol I dident relise a new version was out

Last seen on 01:53, 2. Dec 2020
Joined Jun 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It lets you search for…
Mon, 11/23/2020 - 20:17

It lets you search for blocks.