Started by
Ashores
on
Topic category: Help with Minecraft modding (Java Edition)
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 :)
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..."
dose the variable also work in multiplayer servers?
probably?
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