Head Drops
The chance a killed player drops their head, rarities that make good players' heads rare, and how the head looks.
When a player kills another, they may get the victim's head as a trophy, with the fight written on
it. Heads of strong players are rarer, both to get and in how they look. File:
configs/headdrop/HeadDropSettings.yml.
When a head drops
All of these must be true:
| Condition | Detail |
|---|---|
| A death battle was saved | The fight passed the battle log filters: 3 seconds and 5 damage by default |
| The killer is online | |
| The world allows it | Not in disabledWorlds; and in enabledWorlds if that list is not empty |
| Killer and victim are not teammates or allies | With blockSameTeamHeadDrop and blockAllyHeadDrop in TeamIntegration.yml |
| The chance roll succeeds | baseDropChance × the victim's rarity modifier |
The head goes into the killer's inventory, or drops at their feet when it is full, and the killer is told which.
The chance
settings.baseDropChance (10) is the chance in percent. It is multiplied by the
dropChanceModifier of the victim's rarity:
| Rarity | Modifier | Chance with the default 10 % |
|---|---|---|
COMMON | 1.0 | 10 % |
UNCOMMON | 0.8 | 8 % |
RARE | 0.5 | 5 % |
EPIC | 0.25 | 2.5 % |
LEGENDARY | 0.1 | 1 % |
MYTHIC | 0.05 | 0.5 % |
For a head on every kill, set baseDropChance: 100 and every modifier to 1.0, or turn rarities
off with rarity.enabled: false.
A player's rarity
The victim's rarity is found in this order:
rarity.playerRarities: a fixed rarity for a player, by name or UUID.dynamicRarity: from the victim's K/D, if it is on. Thresholds are checked from the top, and the first whoseminKDthe K/D reaches wins, so list them from high to low.rarity.defaultRarity:COMMON.
| K/D at least | Rarity |
|---|---|
| 10 | MYTHIC |
| 5 | LEGENDARY |
| 2 | EPIC |
| 1 | RARE |
| 0.5 | UNCOMMON |
| 0 | COMMON |
rarity:
enabled: true
defaultRarity: COMMON
playerRarities:
Notch: MYTHIC
069a79f4-44e9-4726-a5be-fca90e38aaf5: LEGENDARY
dynamicRarity:
enabled: true
thresholds:
- minKD: 4.0
rarity: LEGENDARY
- minKD: 1.5
rarity: RARE
- minKD: 0.0
rarity: COMMON
The default playerRarities holds two examples, ExampleAdmin and ExampleMod; remove them.
Each rarity in rarity.rarities has:
| Key | Meaning |
|---|---|
gradient | MiniMessage gradient put before the head's name, as {gradient} |
color | Colour code used as {rarity_color} in the lore |
displayName | The rarity's name, as {rarity} |
dropChanceModifier | Multiplies the drop chance |
The head item
Key in headItem | Default | Meaning |
|---|---|---|
displayName | {gradient}{victim}'s Head | The head's name |
lore | Killer, date, duration, damage, K/D and rarity | The lines under it |
glow | true | Enchantment shine |
customModelData | 0 | For a resource pack model. 0 keeps the normal head |
dateFormat | dd/MM/yyyy HH:mm | How {date} is written |
| Placeholder | Shows |
|---|---|
{victim}, {killer} | The two players |
{date} | When the fight ended |
{world} | Where |
{duration} | How long the fight lasted, in seconds |
{damage_given}, {damage_taken} | Damage of the fight |
{kd}, {kills}, {deaths} | The victim's K/D, kills and deaths |
{rarity}, {rarity_color}, {gradient} | From the victim's rarity |
A head placed as a block and broken again keeps its name and lore.
Commands
| Command | Does |
|---|---|
/headdrop give <player> (receiver) | Makes an online player's head with the current settings and gives it to you or the receiver |
/headdrop reload | Reads HeadDropSettings.yml again |
Both need uxmpvpcore.headdrop.admin. The messages for a received or dropped head are under
messages.
Related: Battle Logs, Statistics and Rating
Was this page helpful?