single appearance of gui

Started by Kooral00 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
single appearance of gui
Sun, 11/21/2021 - 17:17 (edited)

Hello. I make a GUI in which I choose the player's class and I want it not to appear again after selecting the class. how to do it? I will want to use mods on the server. I want it to appear when someone new enters the server

Edited by Kooral00 on Sun, 11/21/2021 - 17:17
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use variables to check if…
Tue, 11/23/2021 - 13:56

use variables to check if the player already has chosen one, then in the procedure where you call the gui, check for the variable before opening the gui.