定制 davycraft648/pmserver-ui 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

davycraft648/pmserver-ui

最新稳定版本:1.0.2

Composer 安装命令:

composer require davycraft648/pmserver-ui

包简介

Integrate UI features available in the Script API to PocketMine-MP

README 文档

README

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.

Why Use PMServerUI?

  • 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.

How to Use This Virion (For Developers)

As a virion, PMServerUI is not a plugin you install directly. Instead, it's a library that other plugins include in their code.

Including PMServerUI in Your Plugin

  • 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.json file 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.yml file:

    projects:
      YourPlugin:
        libs:
          - src: DavyCraft648/PMServerUI/PMServerUI
            version: ^1.0.2

Example Usage (For Developers)

See plugin example here

License

This project is licensed under the MIT License - see the LICENSE file for details.

统计信息

  • 总下载量: 33
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 13
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 13
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固