Detect Player joining the first time, but how?

Started by AtomiX7_NG34 on Tue, 10/06/2020 - 18:00

Topic category: Help with modding (Java Edition)

Last seen on 22:03, 7. Nov 2020
Joined Oct 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Detect Player joining the first time, but how?
Tue, 10/06/2020 - 18:00

Hello,

today I need some help with modding from you.

I'm trying to make a mod, but I still can't get it how to detect when a player

joins the first time.

 

Pls help me...

Last seen on 17:55, 24. Nov 2020
Joined Apr 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I did it this way. I added…
Tue, 10/06/2020 - 18:53

I did it this way. I added the "Player persistent" variable which is specific to each player separately and sets it to true after the first input. The next time I go back in, the if statement checks what the value of this variable is, if true then I have been here before.

Last seen on 22:03, 7. Nov 2020
Joined Oct 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thanks for the help. :D
Sun, 10/11/2020 - 19:19

Thanks for the help. :D