Started by
RAYANIO
on
Topic category: Help with Minecraft modding (Java Edition)
how to use onplayer join world just one time like on player join world he recive paper just one time like welcome message
Topic category: Help with Minecraft modding (Java Edition)
how to use onplayer join world just one time like on player join world he recive paper just one time like welcome message
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 :).