FormAPI

FormAPI 2.1-SNAPSHOT

C1oky

Member
KKDevs submitted a new resource:

FormAPI - Simple API for creating forms (MCBE Nukkit)

# FormAPI | NukkitX

Simple API for creating forms (MCBE Nukkit)

Usage example:


SimpleForm:
Code:
                    Player p = (Player) sender;
                    Form form = new SimpleForm("Тестовая форма");
                    ((SimpleForm)form).setContent("Some kind of test text should be written here.")
                            .addButton("Button ")
                            .addButton("Button with a picture", ImageType.PATH, "textures/items/diamond")...
Read more about this resource...
 

iGxnon

Member
I received some difficulty when I use it.
I made a command and when players open the chat bar and input the command, it would be OK and open the MENU_1.
But I use "Server.getInstance().getCommandMap().dispatch(player, cmd);", then it will open another Form(such as MENU_2) to the player.
Maybe its my programming problem. But I use GUI as lib and it will be OK.
 

RobotRobert2003

New Member
Hey, sorry for asking this question but could you make a tutorial or sample code/plugin (in its entirety) that just make a simple form? Thanks for your consideration. :)
 
Top