Skip to content
Contractsv1.7.0

Player Health

⭐ Premium

Progress counts only when the player’s health is within the specified bounds.

{
"type": "PlayerHealth",
"minHealth": -1,
"maxHealth": 25
}
FieldTypeDescription
typestringExactly 'PlayerHealth'
minHealthnumberMinimum player HP (raw HP, NOT a fraction). -1 disables this bound.
maxHealthnumberMaximum player HP (raw HP, NOT a fraction). -1 disables this bound.
  • Bounds are raw HP, not a percentage: 50 means 50 health points, not 50%. A full-health player is at 100.
  • -1 disables a bound. Set only maxHealth for a “while wounded” rule, or only minHealth for a “while healthy” rule.
  • If both bounds are set, minHealth must not exceed maxHealth.