need help with opening player gui at spawn

Started by Ashores on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
need help with opening player gui at spawn

so i am trying to make a procedure to open a welcome GUI that i made, but how would the GUI open for the player when they spawn in? if you can help me with this much thanks :)

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a new procedure and…
Sun, 05/01/2022 - 09:20

Create a new procedure and select in the trigger "when a player join the world". Add the code "open screen for envent/target entity from xyz GUI : [your custom gui]"

If you want the GUI open only the first time a player join, create a number variable that increase of 1 when a player join the world and say in your procedure : "if [your variable] = 1, open screen..."

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
dose the variable also work…
Tue, 04/18/2023 - 09:07

dose the variable also work in multiplayer servers?

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
dose the variable also work…
Tue, 04/18/2023 - 10:04

dose the variable also work in multiplayer servers?

probably?

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it will if you set the…
Tue, 04/18/2023 - 12:15

it will if you set the variable type to global: player persistent

It will not work on servers if you leave it at the default value of global: map