Player Ex Mod — Configuration
Commands
Administrators can use the following commands to manage player progression. Replace <player> with a username and <amount> with a number.
| Command | Description |
|---|---|
/playerex level <player> add <amount> |
Adds levels to a player without consuming XP. |
/playerex level <player> set <amount> |
Sets a player's level to a specific value. |
/playerex level <player> get |
Displays the current level of a player. |
/playerex skill_points <player> add <amount> |
Grants extra skill points to a player. |
/playerex attribute <player> <attribute> get |
Checks the value of a specific attribute. |
/playerex reset <player> |
Resets all attributes and levels for a player, returning their skill points. |
/playerex refund <player> <amount> |
Returns a specific number of skill points to the player's pool. |
Configuration
The mod is highly configurable via the playerex-server.toml (or .json in some versions) file located in the server's config folder.
Key Config Options
- Level Formula: Uses
exp4jexpressions to determine how much XP is needed for the next level. Example:100 + (level * 10)^1.2. - Skill Points per Level: Determines how many points a player receives upon leveling up (Default: 1).
- Initial Skill Points: How many points a player starts with when first joining the world.
- Reset on Death: If set to true, players will lose all levels and spent points when they die.
- Attribute Caps: Allows admins to set a maximum value for stats like Evasion or Lifesteal to prevent players from becoming invincible.