i need help, pls help

Started by RAYANIO on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i need help, pls help

how to use onplayer join world just one time like on player join world he recive paper just one time like welcome message

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
First of all, a title like …
Sat, 11/14/2020 - 14:40

First of all, a title like 'i need help, pls help' is against MCreator's general publishing guidelines (https://mcreator.net/wiki/general-publishing-guidelines) and can get your post removed. It also doesn't let people know at a glance what your problem is and if they can help or not. Instead, you should put a short title that gets the general idea of your problem.

As for your problem, I would suggest creating a global logic variable that is 'Player persistent' and is by default true. When the player joins the world, you check if the variable is true and if it is you give the player the item. You then set the variable to false so that the game remembers it already gave the item to the player and they do not need another.

If you didn't understand any part of that, don't hesitate to ask what I meant :).