Detect Player Joining For The First Time?

Started by NEILASc on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Detect Player Joining For The First Time?
Mon, 01/31/2022 - 21:24 (edited)

the title is all.

 

25 character limit

Edited by NEILASc on Mon, 01/31/2022 - 21:24
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Open a procedure. On the…
Mon, 01/31/2022 - 23:37

Open a procedure. On the green starter block, change "No additional trigger" to "Player joins the world". Unfortunately there is no way that I know of to make this be for the first time, but if you're trying to make them get an advancement or be teleported to a dimension, then this will work. If you need more help, let me know what it is you're trying to do :)

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make a global variable…
Tue, 02/01/2022 - 00:58

make a global variable called something like "playerjoinedworld" (make it a number and GLOBAL_WORLD)  and when "player joins world" set the global variable to (Playerjoinedworld + 1). and if you want to see if the variable is true in any procedure, do (IF [playerjoinedworld = 1] Then [write code here])

image

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can do it only in the…
Tue, 05/23/2023 - 19:21

You can do it only in the first time. Let me know if you still got this proble to help you.