opening your gui - VerduzcoTristan/GUIUtility GitHub Wiki

So you want to open your GUI...

Umm... Of course I want to open my GUI that's literally the whole reason I'm doing this. Stop wasting my time.

Ok then, lets open your GUI. To open your GUI, you need to use the GUI class. This time, we are going to use the class statically instead of as an object. You can use the #openGUI(GUI gui) method to open your GUI by passing in a player, an instance of the GUI you want to use, and an instance of your plugin.

Here is an example:

    //BlockGUI is a child/subclass of the GUI class
    BlockGUI = new BlockGUI (size, title);
    GUI.openGUI(player, myGui, plugin);

Congrats, you're done! You made a fully functioning GUI!

⚠️ **GitHub.com Fallback** ⚠️