openGui

fun ServerPlayer.openGui(gui: Gui, pageKey: Any? = null): Job(source)

Opens the given gui.

Return

the job of opening the gui and displaying it to the player

Parameters

pageKey

(optional) specifies the key of the page which should be loaded with the process of opening the gui