PlayerEx is a Minecraft mod built using the Fabric ecosystem that adds RPG themed attributes to the game and the player.

PlayerEx

License Applicable Versions

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:

repositories {
    maven {
        name = "Modrinth"
        url = "https://api.modrinth.com/maven"
        content {
            includeGroup "maven.modrinth"
        }
    }
}
dependencies {
    modImplementation "maven.modrinth:playerex:<version>"
}
repositories {
    maven {
        name = "Curseforge"
        url = "https://www.cursemaven.com"
    }
}
dependencies {
    modImplementation "curse.maven:playerex-409221:<fileId>"
}
The last number after the colon refers to the file id; you should always try to use the latest file.

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.
repositories {
	mavenCentral()
	maven {
		name = "Ladysnake"
		url = "https://ladysnake.jfrog.io/artifactory/mods"
	}
	maven {
		name = "Shedaniel"
		url = "https://maven.shedaniel.me/"
	}
	maven {
		name = "TerraformersMC"
		url = "https://maven.terraformersmc.com"
	}
	maven {
		name = "Nucleoid"
		url = "https://maven.nucleoid.xyz/"
	}
	maven {
		name = "Modrinth"
		url = "https://api.modrinth.com/maven"
		content {
			includeGroup "maven.modrinth"
		}
	}
}