Success should bring points only once!

Started by xEinfachlars on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Success should bring points only once!

Good day,

I have just created an achievement and would now like to ensure that when a player accomplishes this achievement, they receive a one-time reward of 100 points. However, I can't figure out how to make it only happen once. Unfortunately, it repeats every time, and the player keeps getting points constantly. Can someone tell me what I need to change?

Thank you very much.

 

 

https://ibb.co/4pRt5KW

You can use player variables…
Thu, 01/11/2024 - 15:19

You can use player variables to store flag if the points have already been assigned or not, or check if points are 0 and only assign in this case