need help with opening player gui at spawn

Started by Ashores on

Topic category: Help with modding (Java Edition)

Last seen on 23:03, 15. Nov 2022
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 :)

Last seen on 15:34, 1. Mar 2024
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..."

Last seen on 08:10, 17. May 2023
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?

Last seen on 11:43, 29. Mar 2024
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?

Last seen on 12:31, 29. Mar 2024
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