Player Temperature

Description

Matches when the body temperature of a player, in degrees Celsius, is inside a range. The <mythicseasons.playertemperature> placeholder returns the same number.

This condition only works on players. Without an entity it is false.

The body temperature is the air temperature at the player plus every temperature modifier, from skills, commands or regions. Every temperature-update-interval ticks it moves the share temperature-change-rate of the way to its new value, and the condition compares its whole degrees. It is false while enabled in temperature.yml is false.

PlaceholderAPI readouts add 100 while the player is on fire, unless SetRSBurn marks the burning as heat, but this condition does not. Where land protection switches seasonal effects off, the body temperature is fixed at 25. A region with a permanent temperature fixes it at that temperature (Land Claims).

Attributes

Attribute Aliases Description Default
temperature t, temp An exact temperature in whole degrees. any
min The lowest matching temperature in whole degrees. no limit
max The highest matching temperature in whole degrees. no limit

Both limits are included, and with no attribute every player matches. With temperature and min or max, min or max replaces that side: t=5;max=10 matches 5 to 10. A value that is not a whole number is reported in the console and makes the condition always false, and min above max matches nothing.

Examples

ComfortBuff:
  Cooldown: 5
  Conditions:
  - playertemp{min=15;max=25} true
  Skills:
  - potion{type=REGENERATION;duration=120;lvl=0} @Self

Applies regeneration from 15 to 25 degrees.

OverheatingWarning:
  TargetConditions:
  - bodytemperature{min=40} true
  Skills:
  - message{m="You are overheating."}

WarnNearbyPlayers:
  Skills:
  - skill{s=OverheatingWarning} @PlayersInRadius{r=20}

Messages only the nearby players at 40 degrees or more.

Shivering:
  Skills:
  - message{m="You shiver."} @Self ?playertemperature{max=-5}

Inline, it tests the caster.

Aliases

  • playertemp
  • bodytemperature
  • bodytemp
Updated Nov 11, 2026