Started by
xK3n
on
Topic category: Help with Minecraft modding (Java Edition)
Hi,
I have a Problem with my Character creation system.
In the beginning when you join into a new world, you get a Race Join Screen. If you press "Accept" the Button will bring you automatically to a new GUI for Name Change...
I tried this mod in LAN multiplayer (Normal Minecraft Instance and a MCreator Instance. The host of the game is able to go through the whole Character Creation GUIs but the second Player just get the first GUI. All variables are Player_Persistent.
Here are some Screenshots...
First GUI:
The Procedure for the button:
MCreator 2021.3 EAP
Edited by xK3n on Tue, 11/23/2021 - 11:22
First create an player variable to check if the player has created one yet.
to prevent the player to just close the gui i recommend using the world tick update.
If the player count in the current world is over 0, you can itterate through each player,
then check the variable for each player and if they havent chosen one and the gui is currently not opened; open the gui.
This also prevents gui from not even opening the first time the correct way because the player still had an loading screen.
Hope this helps
Thx for your help. But who do I itterate through each player when the player count is over 0?
And it didn't work sadly.