Detect Player Joining For The First Time?

Started by NEILASc on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Jan 2022
Points:
475

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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
Active 3 months ago
Joined Jan 2022
Points:
633

User statistics:

  • Modifications: 0
  • Forum topics: 26
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 67
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 :)

Active 1 month ago
Joined Nov 2020
Points:
1014

User statistics:

  • Modifications: 1
  • Forum topics: 57
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 249
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

Active 1 year ago
Joined Apr 2023
Points:
257

User statistics:

  • Modifications: 1
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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.