[SOLVED] 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 20:16, 6. May 2021
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
[SOLVED] Detect Player joining the first time, but how?
Tue, 03/16/2021 - 12:00 (edited)

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... (not anymore)

Edited by AtomiX7_NG34 on Tue, 03/16/2021 - 12:00
Last seen on 21:58, 6. May 2021
Joined Apr 2020
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 20:16, 6. May 2021
Joined Oct 2019
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

Last seen on 20:16, 6. May 2021
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
SOLVED
Tue, 03/16/2021 - 12:00

SOLVED