PlayerEx is a Minecraft mod built using the Fabric ecosystem that adds RPG themed attributes to the game and the player.
Welcome
This wiki covers the following:
- Adding PlayerEx to your project.
- The in-game content PlayerEx provides.
- TextPlaceholderAPI and included placeholders.
- FAQ, examples and mini-tutorials
- API contents and usage.
Integrating PlayerEx
PlayerEx has a Curseforge and Modrinth page. To add PlayerEx to your project, insert the following into your build.gradle
:
The last number after the colon refers to the file id; you should always try to use the latest file.
Note: PlayerEx has multiple dependencies, so your
build.gradle
must accommodate this.Dependencies
PlayerEx requires the following depdencies:
Dependency | Purpose |
---|---|
Fabric API | Required by other dependencies and for certain events. |
Data Attributes | Provides the core attribute system and attribute configurability. |
Cardinal Components API (Base & Entity) | A jar-in-jar dependency that provides player attribute modifiers. |
Cloth Config API | Provides configurability. |
Offline Player Cache | A jar-in-jar dependency that provides TextPlaceholderAPI with persistent player data. |
Text Placeholder API | A jar-in-jar dependency that provides text placeholders, namely for custom multiplayer leaderboards. |
exp4j | A jar-in-jar dependency that provides levelling configurability, namely an expression parser. |