Skip to content
Contractsv1.9.0

Player Bleeding

⭐ Premium

Progress counts only when the bleeding of the player performing the action is within the specified bounds at that instant. Bleeding is measured in HP the player still stands to lose, the same number the HUD indicator shows. It drains at a third of an HP per second until it runs out or a bandage clears it.

{
"type": "PlayerBleeding",
"minBleeding": 10,
"maxBleeding": 50
}
FieldTypeDescription
typestringExactly 'PlayerBleeding'
minBleedingnumber | nullMinimum bleeding, in HP still to be lost. Null (or omitted) means no lower bound.
maxBleedingnumber | nullMaximum bleeding, in HP still to be lost. Null (or omitted) means no upper bound.
  • The bleeding icon shows at any value above 0, so “while bleeding” is minBleeding: 1. minBleeding: 20 means it only counts while the player still has 20 HP of bleeding left to suffer.
  • Either bound can be null (or omitted entirely) for “no limit on that side”, but at least one bound is required. A condition with neither bound would always be satisfied, so it is invalid and the contract will not load.
  • If minBleeding is greater than maxBleeding, the plugin swaps them and logs a warning.

Kill 3 players while bleeding:

{
"type": "Kill",
"amountRequired": 3,
"entities": ["player"],
"conditions": {
"bleeding": {
"type": "PlayerBleeding",
"minBleeding": 1
}
}
}