TheLondiux
New Member
I want to create a form that appears when you enter the server
I don't know how to create a nukkit pluginMaybe this package will help you https://github.com/NukkitX/Nukkit/tree/master/src/main/java/cn/nukkit/form
You need FormWindow instance, there are 3 types of windows si it's up to you which one you'll choose. And then use the method player.showFormWindow(window, id);
ID is optional parameter to force set the window ID, which means that you will have to listen for response event with this ID. Otherwise this method returns window ID, so you can save it and check it later.