1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved FormAPI Not working

Discussion in 'Development' started by xXNiceAssassinlo YT, Apr 13, 2018.

  1. Khaled

    Khaled Witch

    Messages:
    58
    Why dont just see Jojoe's SlapperPlus plugin?
     
  2. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    437
    GitHub:
    xXNiceAssasinl0
    Already tried doesn’t work
     
  3. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    437
    GitHub:
    xXNiceAssasinl0
    Can u try it with cratesystem I already tried doesn’t work with FormAPI plugin too
     
    yuko fuyutsuki likes this.
  4. yuko fuyutsuki

    yuko fuyutsuki Spider Jockey

    Messages:
    36
    GitHub:
    fuyutsuki
    Ok, I will try it.
     
  5. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,529
    GitHub:
    sof3
    FormAPI was made a single-instance plugin so that the event handler only gets called once. Otherwise it would not have been approved.
    Nevertheless, developers must add the "depend: [FormAPI]" line in the plugin.yml
     
    yuko fuyutsuki likes this.
  6. yuko fuyutsuki

    yuko fuyutsuki Spider Jockey

    Messages:
    36
    GitHub:
    fuyutsuki
    Because it can not be used for incorporation for the reasons mentioned above, line 33 of Main.php is called
    PHP:
    $this->FormAPI = new FormAPI();
    not,
    PHP:
    $this->FormAPI $this->getServer()->getPluginManager()->getPlugin("FormAPI");
    And you have to.
    Pull request will be sent so please refer to that for details.
     
    Last edited: Apr 16, 2018 at 6:59 AM
    xXNiceAssassinlo YT and SOFe like this.
  7. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    437
    GitHub:
    xXNiceAssasinl0
    Thank for help
     

Share This Page