PMServerUI is a simple library for PocketMine-MP that helps you to create forms
for your server. It takes the familiar FormAPI and upgrades it with the
features from the Minecraft Bedrock Script API (minecraft/server-ui).
The original FormAPI was good, but it used older UI elements. PMServerUI changes that! We've basically combined the simplicity of FormAPI with the modern UI abilities of the Bedrock API.
- Modern UI: Access powerful UI elements similar to those used in Bedrock Add-ons.
- Reliable Data Handling: Know if a bad client sends malformed data, helping protect your plugin from incorrect inputs.
- Player Disconnect Detection: Easily detect if a player leaves the server before submitting a form, allowing you to handle these situations gracefully.
- Localization Support: Supports translations based on the player's language and resource pack.
As a virion, PMServerUI is not a plugin you install directly. Instead, it's a library that other plugins include in their code.
Using Composer (virion v3):
Add this as a dependency to your Composer project. Open your terminal in your project's root directory and run the following command:
composer require davycraft648/pmserver-ui
After running the command, your
composer.jsonfile will be updated. You can inspect it to see the new dependency listed, similar to this:{"require": {// other dependencies ..."davycraft648/pmserver-ui": "^1.0"}}
Using Poggit CI (virion v1):
Add this to your
.poggit.ymlfile:projects: YourPlugin: libs: - src: DavyCraft648/PMServerUI/PMServerUIversion: ^1.0.2
See plugin example here
This project is licensed under the MIT License - see the LICENSE file for details.