1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

FormUI

Discussion in 'Development' started by JblusMC, Aug 7, 2018.

  1. JblusMC

    JblusMC Spider

    Messages:
    14
    Hello, I wanted to know how to open a menu by doing a command, for my part seras / admin, my I do not know how to open a tab from this commands, can you help me?
     
  2. Wolfkid20044

    Wolfkid20044 Spider Jockey

    Messages:
    42
    GitHub:
    wolfkid200444
    What do u Mean?
     
  3. JblusMC

    JblusMC Spider

    Messages:
    14
    what I would like, its open a menu like on a kitUI, add button and text, my I do not know how to do
     
  4. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    You can use FormAPI to help you with that.
     
  5. JblusMC

    JblusMC Spider

    Messages:
    14
    I have already tried this, but I do not understand all its code, do you have a youtube video that explains or not?
     
  6. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
    No
     
  7. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    The developer explains his stance on the plugin here.
     
  8. JblusMC

    JblusMC Spider

    Messages:
    14
    thank you, I understood how it works, it's not so complicated in the final, my I must necessarily put all his files in my plugins or I can put everything in the Main.php?
     
  9. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
    If u want
     
  10. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    You would typically install the plugin separately and call it's methods from your Main class. That way other plugins can call it without issues, it requires no modifications of FormAPI, and is just simpler. I don't think you could just throw the FormAPI files in your own plugin and have it work properly. In fact, that would kind of contradict with calling it an "API".
     
    EdwardHamHam likes this.
  11. JblusMC

    JblusMC Spider

    Messages:
    14
    thank you, I kept the basic system as it was basic and it works, thank you;)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.