#pocketmine with jsonUi

1 messages · Page 1 of 1 (latest)

strange ginkgo
#

Hi! I'm working with PocketMine and I'm trying to create a server form using a custom JSON UI I have two specific questions:
How do I properly link the JSON UI file to my plugin code?
How do I call/load the JSON UI from within my code?
Any example or explanation would be greatly appreciated, thanks!

tulip mortar
#

It’s completely separated

#

You don’t “link” the form, you conditionnaly or not change the displayed form layout, textures

#

And, by convention, we do this by making “if statements” (in json ui language) with the title of the form

#

In other terms, the script set the data/callback and json ui receive the data and display it