|
1 | | -# profileUI |
2 | | -ProfileUI For PowerNukkitX |
| 1 | +ProfileUI |
| 2 | +========= |
| 3 | + |
| 4 | +**Description:** ProfileUI shows player information in a clean UI inside PowerNukkitX. |
| 5 | + |
| 6 | +**Version:** 1.0.0 |
| 7 | + |
| 8 | +**Author:** Wenox |
| 9 | + |
| 10 | +**Website:** https://pixelforgestudios.pages.dev/ |
| 11 | + |
| 12 | +**Features:** |
| 13 | +- **Player Profile UI:** Open a user-friendly UI to view player information. |
| 14 | +- **Simple Command:** One command to open the UI with an alias. |
| 15 | +- **Soft-dependencies:** Integrates with `EconomyAPI` and `LlamaEconomy` when available. |
| 16 | + |
| 17 | +**Requirements:** |
| 18 | +- PowerNukkitX (API compatibility: `2.0.0` declared in `plugin.yml`). |
| 19 | +- Java & Maven (to build from source). |
| 20 | + |
| 21 | +**Installation** |
| 22 | +- Download the compiled JAR and place it in your server's `plugins/` folder. |
| 23 | +- Restart the server or run a plugin reload command supported by your server. |
| 24 | + |
| 25 | +**Usage** |
| 26 | +- **Command:** `profileui` — Opens the Profile UI for the player who runs it. |
| 27 | +- **Alias:** `pui` |
| 28 | +- **Usage:** `/profileui` |
| 29 | +- **Permission:** `profileui.permission` |
| 30 | + |
| 31 | +Note: The command is implemented in `src/main/java/org/pixelforge/profileui/command/profileCommand.java`. |
| 32 | + |
| 33 | +**API / Integration** |
| 34 | +- Public helper class: `org.pixelforge.profileui.API` (see `src/main/java/org/pixelforge/profileui/API.java`). |
| 35 | +- Soft-depends on `EconomyAPI` and `LlamaEconomy` (optional features enabled when present). |
| 36 | + |
| 37 | +**Configuration** |
| 38 | +- This plugin does not ship with an external config by default. If you need custom behavior, consider extending the plugin or opening an issue. |
| 39 | + |
| 40 | +**Development** |
| 41 | +- Clone the repo and run `mvn package`. |
| 42 | +- Ensure you use a JDK compatible with your Nukkit server and a matching Nukkit API version. |
| 43 | + |
| 44 | +**License & Credits** |
| 45 | +- See the `LICENSE` file included in this repository. |
| 46 | +- Author: Wenox — Project site: https://pixelforgestudios.pages.dev/ |
| 47 | + |
| 48 | +**Support** |
| 49 | +- For issues or feature requests, open an issue on the repository or contact the author via the project website. |
| 50 | + |
| 51 | +**Roadmap / Future Plans** |
| 52 | + |
| 53 | +- **Configurable UI:** Allow server owners to customize which fields appear in the profile UI, order, labels, and visual options via a `config.yml`. |
| 54 | + - Implementation notes: provide a default `config.yml`, load settings in `Main`, and make `ProfileUI` read from the config. |
| 55 | + |
| 56 | +- **Rank System Integration:** Add optional rank display and basic rank management hooks (support for existing rank plugins or built-in lightweight ranks). |
| 57 | + - Implementation notes: add hooks for common rank plugins (e.g., PurePerms) and an internal API to display rank name/icon in the UI. |
| 58 | + |
| 59 | +- **Clan/Guild Support:** Show clan membership in the profile and provide clan-related actions (view clan, invite, leave) when supported. |
| 60 | + - Implementation notes: design a `ClanService` interface with adapters for popular clan plugins; fallback to disabled if none present. |
| 61 | + |
| 62 | +- **Extended Economy Features:** Deeper integration with `EconomyAPI` and `LlamaEconomy` to show balances, transaction shortcuts, or donation links. |
| 63 | + |
| 64 | +- **Permissions Granularity:** Add additional permission nodes for features (e.g., `profileui.view.others`, `profileui.clan.manage`). |
| 65 | +- **Localization:** Make all UI text localizable via language files. |
| 66 | + |
| 67 | +- **Optional Database Support:** Add lightweight SQLite/MySQL support to persist extended profile data (notes, custom tags). |
| 68 | + |
| 69 | +--- |
0 commit comments