Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| playerex-3.3.4.jar release | 480.26 KB | Aug 3, 2022 | 1.19 | 0 | Download |
| playerex-3.2.5.jar release | 443.44 KB | Aug 3, 2022 | 1.18.2 | 11 | Download |
| playerex-3.3.3.jar release | 480.25 KB | Jul 29, 2022 | 1.19 | 6,127 | Download |
| playerex-3.2.4.jar release | 443.43 KB | Jul 29, 2022 | 1.18.2 | 740 | Download |
| playerex-3.3.2.jar release | 480.27 KB | Jul 26, 2022 | 1.19 | 891 | Download |
| playerex-3.2.3.jar release | 443.43 KB | Jul 26, 2022 | 1.18.2 | 531 | Download |
| playerex-3.3.1.jar release | 480.27 KB | Jul 24, 2022 | 1.19 | 26,244 | Download |
| playerex-3.2.2.jar release | 443.43 KB | Jul 24, 2022 | 1.18.2 | 344 | Download |
| playerex-3.3.0.jar release | 490.74 KB | Jul 21, 2022 | 1.19 | 624 | Download |
| playerex-3.2.1.jar release | 451.18 KB | Jun 28, 2022 | 1.18.2 | 3,773 | Download |
| playerex-3.2.0.jar release | 450.67 KB | Jun 22, 2022 | 1.18.2 | 1,044 | Download |
| playerex-3.1.4-1.18.1.jar release | 442.29 KB | Feb 6, 2022 | 1.18.1 | 166,558 | Download |
| playerex-3.1.3-1.18.1.jar release | 439.66 KB | Jan 29, 2022 | 1.18.1 | 20,717 | Download |
| playerex-3.1.2-1.18.1.jar release | 438.69 KB | Jan 27, 2022 | 1.18.1 | 846 | Download |
| playerex-3.1.1-1.18.1.jar release | 438.65 KB | Jan 27, 2022 | 1.18.1 | 124 | Download |
| playerex-3.1.0-1.18.1.jar release | 438.65 KB | Jan 26, 2022 | 1.18.1 | 343 | Download |
| playerex-3.0.7-1.171.jar release | 1.23 MB | Nov 15, 2021 | 1.17.1 | 33,955 | Download |
| playerex-3.0.6-1.17.1.jar release | 1.23 MB | Oct 22, 2021 | 1.17.1 | 41,683 | Download |
| playerex-3.0.5-1.17.1.jar release | 1.23 MB | Sep 24, 2021 | 1.17.1 | 42,994 | Download |
| playerex-3.0.4-1.17.1.jar release | 1.23 MB | Sep 20, 2021 | 1.17.1 | 3,971 | Download |
| playerex-3.0.3-1.17.1.jar release | 1.20 MB | Sep 11, 2021 | 1.17.1 | 12,415 | Download |
| playerex-3.0.2-1.17.1.jar release | 1.20 MB | Sep 8, 2021 | 1.17.1 | 1,655 | Download |
| playerex-3.0.1-1.17.1.jar release | 1.15 MB | Sep 2, 2021 | 1.17.1 | 9,321 | Download |
| playerex-2.0.5-1.16.5.jar release | 1.19 MB | Jul 23, 2021 | 1.16.5 | 44,163 | Download |
| playerex-2.0.4-1.16.5.jar release | 1.19 MB | Jul 7, 2021 | 1.16.5 | 3,460 | Download |
| playerex-2.0.3-1.16.5.jar release | 1.19 MB | Jul 3, 2021 | 1.16.5 | 901 | Download |
| playerex-2.0.2-1.16.5.jar release | 1.19 MB | Jun 29, 2021 | 1.16.5 | 662 | Download |
| playerex-2.0.1-1.16.5.jar release | 1.18 MB | Jun 23, 2021 | 1.16.5 | 1,250 | Download |
| playerex-1.1.8-1.16.5.jar release | 131.34 KB | May 5, 2021 | 1.16.5 | 958,626 | Download |
| playerex-1.1.7.5-1.16.4.jar release | 123.17 KB | Mar 1, 2021 | 1.16.5 | 98,762 | Download |
| playerex-1.1.7-1.16.4.jar release | 123.39 KB | Feb 4, 2021 | 1.16.4 | 1,210 | Download |
| playerex-1.1.6-1.16.4.jar release | 116.73 KB | Jan 24, 2021 | 1.16.4 | 595 | Download |
| playerex-1.1.5-1.16.4.jar release | 116.75 KB | Jan 23, 2021 | 1.16.4 | 229 | Download |
| PlayerEx-1.0.2-1.15.2.jar release | 173.27 KB | Sep 25, 2020 | 1.15.2 | 2,321 | Download |
| PlayerEx-1.0.1-1.15.2.jar release | 176.60 KB | Sep 23, 2020 | 1.15.2 | 108 | Download |
| PlayerEx-1.0.0-1.15.2.jar release | 186.06 KB | Sep 21, 2020 | 1.15.2 | 158 | Download |
Screenshots
Description
Please refrain from commenting about a Forge version. I've given over a month of notice for this mods transition over to Fabric, at the very header of this page. I will continue to provide support for the latest Fabric version, however my focus will be updating to 1.17 (with Fabric). The time frame for 1.17 is August.
Notice: any mod adding their own attribute to the player is gonna be automatically incompatible with PlayerEx initially, unless either they or myself have added an entry for that attribute in data/modid/attributes. This is the cost of moving player attributes to datapacks; I'm slowly adding support for as many of these mods as I can, but if you find a mod that isn't running with PlayerEx you can fix it yourself by adding a datapack: check the mod's github source, find the attribute the mod is adding and follow the instructions on this wiki page.
Description
This is an API mod that expands and improves the vanilla attribute system by exposing it through datapacks, allowing attributes to be lazily loaded to the player. On the visual side, this mod leans slightly towards a RPG theme, adding a gui to better display the player's attributes. With this mod, the player has 33 attributes by default, a levelling gui and an efficient attribute system overhaul.
This mod is primarily an API, designed for compatibility and so that other mods can better interact with player attributes and each other – by using datapacks to fully configure and add/remove attributes to the player.
Default Attribute Configuration
Level: this is permanent, and can be increased for experience levels.
└ +1 Skill Points
Skill Points: these can be spent on Constitution, Strength, Dexterity, Intelligence and Luckiness (you do not reduce your level by spending these).
Constitution
├ +1 Max Health
├ +1% Knockback Resistance (diminishing)
└ +1% Magic Resistance (diminishing)
Strength
├ +0.02/s Health Regeneration
├ +0.25 Melee Damage
├ +0.25 Armor (diminishing)
└ +1% Drowning Resistance
Dexterity
├ +0.1 Attack Speed (diminishing)
├ +0.25 Ranged Damage
├ +0.08 blocks/s Movement Speed (diminishing)
├ +5% Melee Critical Damage (diminishing)
└ +1% Falling Resistance (diminishing)
Intelligence
├ +2% Heal Amplification (diminishing)
├ +5% Ranged Critical Damage (diminishing)
├ +1% Fire Resistance (diminishing)
├ +5% Magic Amplification (diminishing)
└ +1% Wither Resistance (diminishing)
Luckiness
├ +0.2 Luck (vanilla luck)
├ +2% Melee Critical Chance (diminishing)
├ +2% Ranged Critical Chance (diminishing)
└ +2% Evasion (diminishing)
Max Health: the players maximum health (vanilla attribute).
Health Regeneration: the amount of health healed per second.
Heal Amplification: amplifies the amount of health restored when the player heals.
Armor: the players armor, reduces attack damage (vanilla attribute).
Armor Toughness: a measure of effectiveness of Armor (vanilla attribute).
Knockback Resistance: how much the player resists being knocked back (vanilla attribute).
Fire Resistance: reduces fire damage.
Falling Resistance: reduces falling damage.
Magic Resistance: reduces magic damage.
Wither Resistance: reduces wither damage.
Drowning Resistance: reduces drowning damage.
Movement Speed: how many blocks per second the player moves (vanilla attribute).
Melee Damage: the players attack damage (vanilla attribute).
Melee Critical Damage: attack damage multiplier.
Melee Critical Chance: the chance to Crit on a melee attack.
Attack Speed: how many fully charged attacks a player can launch per unit time (vanilla attribute).
Evasion: chance to completely dodge projectiles, both effect and damage.
Ranged Damage: the amount of damage added to arrows fired by a bow.
Ranged Critical Damage: arrow damage multiplier.
Ranged Critical Chance: the chance for the arrow to crit.
Lifesteal: the percentage of damage dealt that is healed.
Luck: the player's luck stat (vanilla attribute).
Reach Distance: how far away the player can interact with the world (reach-entity-attribute).
Attack Range: how far away the player can melee attack (reach-entity-attribute)
Step height: how many blocks the player can step over without jumping (step-height-entity-attribute)
Magic Amplification: amplifies most magic damage dealt (including some potions)
Level, Constitution, Strength, Dexterity, Intelligence and Luckiness all influence other attributes when they are levelled up.
In Game Content
+Syncs all player attributes to the client.
+The player heals (or damages if it is a negative value) the amount Health Regen / 20 every tick.
+The player can spend vanilla experience to level up, thereby gaining skill points. The amount of experience levels required to level up is configurable and depends on an exponential formula (the higher levelled you are, the more experience required to get to the next level).
+When the player heals, the amount of health healed is increased by Heal Amplification.
*Crits are now fully random (not jump-based), but the chance to crit is based on Melee Critical Chance.
*The damage crits do is no longer 1.5x, but based on Melee Critical Damage.
+All resistances reduces their respective damage inputs.
+The player heals a percentage of damage dealt, based on Lifesteal.
*Arrows no longer crit based on draw/angle: arrows crit based on Ranged Critical Chance, and the crit is no longer 2.0x, but based on Ranged Critical Damage.
+Evasion is a chance to completely block an arrow projectile.
+Most magic damage done by the player on a living entity is amplified by the Magic Amplification attribute.
Client Changes
+Added a button to the top right most corner of the survival inventory (the position is configurable). When clicked switches to the Player Attributes Screen.
+Added Player Attributes Screen. The player Attributes Screen has two tabs by default: the first tab displays general attributes, as well as buttons that allow the player to level up and spend skill points on Constitution, Strength, Dexterity, Intelligence and Luckiness. When hovering over an attribute, tooltips show more information including what that attribute does. The other tab displays combat attributes.
+When first gaining enough experience to level up, you make a particle cloud and a little sound plays – this is configurable.
+When skilling attributes, a little sound plays – this is configurable.
+When on multiplayer, every player displays their current level as a little nameplate below their name – this is configurable.
See the Images tab for examples.
Configuration
+Can change the players starting attributes through datapacks, and/or modifying/adding/removing jsons. Configuring player attributes only needs to be done on the server, as those changes are synced to the client.
+Can fully customise all attributes, including their: default, minimum and maximum values; their names; and their functions (i.e. how much this attribute changes that attribute) – see the wiki for details.
+Can enable config option to reset all attributes on death (by default this is disabled).
+Can disable the level up particles/sound
+Can disable the skill attribute sound
+Can disable showing the "lvl" nameplate on multiplayer.
+Can move the attribute button position in the survival inventory.
+Can modify the amount of vanilla experience needed to level up initially, as well as the general levelling formula dictating how much experience is needed for the next level.
By default the levelling formula is: experience required for next level = 8 + offset + ((current level * multiplier / 100) – 2)^3
Where experience required for next level is a value from 0 to infinity that tells us how much experience we need to level up. The other parameter, current level, is just that – our current level; and the two remaining parameters are configurable and allow you to control the levelling curve: offset is how much experience we need to get the first level, while multiplier controls the steepness (difficulty) of the curve.
If you want to visualise the curve, plot it as: y = 8 + offset + ((x * multiplier / 100) – 2)^3
Where y is the amount of experience you need to get to your current level + 1, and x is your current level.
I cannot stress this enough, see the wiki for details on how to configure the player's attributes with datadriven development – i.e. datapacks. This is where the bulk of the configurability is.
Commands
All commands are sub-trees of "/playerex …"
/playerex reset <player> -> Resets all the player's attributes to their defaults.
/playerex refund <amount> <player> -> Lets the player refund the amount of skilled attributes for skill points.
/playerex refund <player> -> The same as above but defaults to allow one refund.
/playerex levelup <amount> <player> -> Gives the player <amount> levels.
/playerex levelup <player> -> The same as above but only provides one level.
/playerex attribute <player> <attribute> get -> Returns the total value of this attribute.
/playerex attribute <player> <attribute> set <amount> -> Sets the attributes total value to <amount>.
/playerex attribute <player> <attribute> add <amount> -> Adds <amount> to the attributes total value.
/playerex attribute <player> <attribute> modifier add <uuid> <name> <value> add|multiply|multiply_base -> Applies a persistent attribute modifier to the attribute.
/playerex attribute <player> <attribute> modifier remove <uuid> <name> <value> add|multiply|multiply_base -> Removes a persistent attribute modifier from the attribute.
/playerex attribute <player> <attribute> modifier value get <uuid> -> Returns the value of the attribute modifier.
These commands should be used preferentially to the vanilla /attribute command when targeting players.
API (for developers)
Before heading over to the github wiki, please familiarise yourself with the in game contents of the mod, as the wiki cleanly differentiates between the content side and the api side.
In short, the API allows for the use of all attributes through Cardinal Components; a better attribute modifier system; a way for different mods to be more compatible when playing around with attributes; the ability to add attributes, to add tooltips to the attributes screen, to add attributes that are influenced by other attributes; and a way to add entire pages (screens) with custom tabs to the player attributes screen (see Images).
RelicEx is an example of a mod made using this API (Currently in the progress of updating to support v2.0.1).
Mischief of Mice has an awesome dedicated video showing this mod, as well as RelicEx (the Forge version, this is now a Fabric mod).
bstylia14 has a great video showing this mod (the Forge version, this is now a Fabric mod).
Notes:
– Only players have the datapack attribute system, it is not extended to other entities.
– For developers: if you add attributes to the player, please add a data/your_mod/attributes/attribute_name.json to make your mod compatible with PlayerEx, as only attributes represented in json are registered to the player when running PlayerEx. I'm slowly adding compatibility for all mods that I can find that add attributes, but you can do it yourself too.
– Please always use the latest version.
– Please delete config files before updating to another version, as the config files tend to change between versions as more configurability is implemented.
– Modpacks are fine.
– Rehosting is not condoned. If it's not curseforge than it's not me.
– This mod comes bundled with (using jar-in-jar) Cardinal Components Base and Entity, Reach Entity Attributes, Step Height Entity Attribute, Cloth Config API and TooltipFix.

Get 0.05 TON 💎
Download







Add a comment