When a player joins the world/server, check if first time joining

Started by TosNoom on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When a player joins the world/server, check if first time joining

How can I do this? I want to make a mod that gives a newly joined player a custom, random effect which is stored in a variable and can be activated with a command. I want to make it so when the player joins for the first time, they get /titled. Is it possible to check if the player joins for the first time?

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use player persistent…
Mon, 08/28/2023 - 18:57

Use player persistent variable for it.

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just make it check for a…
Mon, 08/28/2023 - 20:32

Just make it check for a variable and if it = 0 (your code) add one to the variable