- Added compatibility for one of my (soon to be released) plugins called TimePauser. This plugin pauses time when no players are online and this will work with the RealisticSeasons calendar, seasons and time. Check the plugin page for updates soon.
- Expanded the API with 2 methods for the temperature system:
Code (Java):
public
void applyTimedTemperatureEffect
(Player p,
int effect,
int seconds
)
;
//Applies a timed temperature effect that will remove itself after x seconds
public TemperatureEffect applyPermanentTemperatureEffect
(Player p,
int modifier
)
;
//Applies a "permanent" temperature effect to the player. The method returns an instance of TemperatureEffect which you can use like this:
TemperatureEffect effect
= seasonsapi.
applyPermanentTemperatureEffect
(p,
10
)
;
effect.
cancel
(
)
;
//Effect will be removed again. Useful for custom armor, items etc if you store the instances.