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

How to use Form by PMMP (Custom, Modal....)

Discussion in 'Development' started by ZackyVN, Jan 12, 2019.

  1. ZackyVN

    ZackyVN Baby Zombie

    Messages:
    150
    The title said all :3
     
  2. GiantQuartz

    GiantQuartz Spider

    Messages:
    7
    PMMP does not have a form API, but there are some plugins that do (such as FormAPI)
     
  3. ZackyVN

    ZackyVN Baby Zombie

    Messages:
    150
    Yes, it has
    ModalFormRequestPacket and ModalFormResponsePacket
     
  4. GiantQuartz

    GiantQuartz Spider

    Messages:
    7
    No, it doesn't. Those are packets, not an API. :shoghi:
    The next time, try to use the search bar first.
     
    rektpixel, SOFe and Sandertv like this.
  5. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Those are internal and are subject to change as the protocol changes.
    Meanwhile the JSON is actually subject to change too... But whatever.
    You may implement your own form system using the pocketmine\form\Form interface, but using libFormAPI is easier.
     
  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.