Skip to content
Andrew Terentev edited this page Sep 10, 2021 · 2 revisions

logo by @tolimag Welcome to the FormConstructor wiki!

Introduction

This library is designed to simplify the creation and handling of forms. It has a few key advantages over other form libraries:

  • Forms are processed using a lambda, which is passed when the form itself is created, and not by catching events.
  • For each button we can set a lambda function in SimpleForm.
  • In SimpleForm we get a button object as a response, where we can get its text and index.
  • In CustomForm we can mark elements with an identifier to conveniently get this element in its handler. We can get element by id and its index.

Requirements

For using this library you need Nukkit(or its forks) with API not less than 1.0.9.

Clone this wiki locally