Penalty Profiles
A profile is the full set of penalties applied on death. dDeathPenalty builds the profile for each death by layering three sources, most specific last.
Resolution order
Section titled βResolution orderβdefault β worlds.<world> β groups.<group the player has>Each layer deep-merges over the previous one, so an override only needs to list the keys it changes β everything else is inherited.
| Layer | Where | Applies to |
|---|---|---|
| default | default: |
Everyone, everywhere. The base profile. |
| world | worlds.<world>: |
Deaths in that world. |
| group | groups.<group>: |
Players matched to that group. |
Example
Section titled βExampleβdefault: money: { mode: PERCENT, amount: 10.0 }worlds: world_nether: money: { amount: 25.0 } # only changes the amountgroups: vip: money: { amount: 5.0 }A VIP dying in the nether resolves to: PERCENT mode (from default), amount 5.0 (group beats world). A normal player dying in the nether gets amount 25.0.
How groups are matched
Section titled βHow groups are matchedβA player belongs to a group if they have the permission deathpenalty.group.<name>. If they match several, the first group listed top-to-bottom in config.yml wins. Assign with any permission plugin:
/lp group vip permission set deathpenalty.group.vip trueToggling a whole profile
Section titled βToggling a whole profileβEvery layer supports enabled. Set enabled: false at the default, world or group level to switch the penalty off entirely for that scope:
worlds: creative_world: enabled: false # no penalties here at allWhat a profile contains
Section titled βWhat a profile containsβEach profile can configure: money, XP, items, respawn effects, and the extra penalties (monsters, money-item, commands). The full key reference is in config.yml.